Skip to content

Commit

Permalink
fix: settings.py, urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chem1sto committed Jul 3, 2024
1 parent 9489ad3 commit a2cc7a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions api_yamdb/api_yamdb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS',
default='127.0.0.1, localhost').split(', ')

FORCE_SCRIPT_NAME = os.getenv('FORCE_SCRIPT_NAME', default=None)

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
Expand Down
2 changes: 1 addition & 1 deletion api_yamdb/api_yamdb/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

urlpatterns = [
path(
'admin/',
'yamdb_backend/admin/',
admin.site.urls
),
path(
Expand Down

0 comments on commit a2cc7a9

Please sign in to comment.