We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885dd36 commit d01160bCopy full SHA for d01160b
leetcodeApi/settings.py
@@ -29,7 +29,7 @@
29
# SECRET_KEY = os.getenv('SECRET_KEY')
30
31
# SECURITY WARNING: don't run with debug turned on in production!
32
-DEBUG = True
+DEBUG = False
33
34
ALLOWED_HOSTS = ['*']
35
@@ -122,6 +122,7 @@
122
},
123
]
124
125
+STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
126
127
# Internationalization
128
# https://docs.djangoproject.com/en/4.0/topics/i18n/
leetcodeApi/urls.py
@@ -19,7 +19,7 @@
19
from api.views import *
20
21
urlpatterns = [
22
- path('admin/', admin.site.urls),
+ path('leetcodeadmin/', admin.site.urls),
23
path('', home),
24
path('<str:username>/', svg_icon),
25
path('<str:username>/theme=<str:theme>', svg_icon_theme),
0 commit comments