Skip to content

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
JardinDelSol committed Aug 11, 2021
2 parents 29c317d + 654855c commit 88c6cdd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ dnspython = "*"
python-dotenv = "*"
pyjwt = "*"
requests = "*"
bson = "*"
pymongo = "==3.7.2"
google-auth-httplib2 = "*"
google-auth-oauthlib = "*"
django-storages = {extras = ["google"], version = "*"}
pillow = "*"

[dev-packages]
black = "*"

Expand Down
9 changes: 8 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ["*"]

ALLOWED_HOSTS = ["*"]

# Application definition

Expand Down
6 changes: 0 additions & 6 deletions server/serializers/dog.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,3 @@ class Meta:
"createdAt",
]
# fields="__all__"


class DogImageSerializer(serializers.ModelSerializer):
class Meta:
model = Dog
fields = ["image", "destination"]
5 changes: 4 additions & 1 deletion server/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
path("user/signin", views.signin),
path("user/kakao", views.kakao),
path("refresh", views.refresh),
path("airport/<str:name>/", views.AirportAPIView.as_view()),
path("airport/<str:name>", views.AirportAPIView.as_view()),
path('dog/list/', views.DogAPIView.as_view()),
path('dog/description/', views.DogDescriptionAPIView.as_view()),
path('dog/image/', views.DogImageAPIView.as_view()),
path("upload/test", views.upload_test),
]

0 comments on commit 88c6cdd

Please sign in to comment.