Skip to content

Commit

Permalink
Roll back to no str(status_code) in the serializers.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkoov committed Apr 25, 2024
1 parent 1671db4 commit 333eb64
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 22 deletions.
2 changes: 1 addition & 1 deletion backend/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
re_path(r"auth/", include("djoser.urls")),
re_path(r"auth/", include("djoser.urls.authtoken")),
re_path(
r"users/(?P<id>\d+)/subscribe", subscribe_user, name="subscribe_user"
r"users/(?P<i_d>\d+)/subscribe", subscribe_user, name="subscribe_user"
),
re_path(r"", include(router_v1.urls)),
]
6 changes: 3 additions & 3 deletions infra/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.3'
#version: '3.3'

volumes:
pg_data:
Expand Down Expand Up @@ -33,9 +33,9 @@ services:
image: nginx:1.22.1
ports:
# Live server
- "8090:80"
# - "8090:80"
# Local Docker dev
# - "80:80"
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- static:/static_django/
Expand Down
46 changes: 28 additions & 18 deletions poetry.lock

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

0 comments on commit 333eb64

Please sign in to comment.