izradena poslovna logika
This commit is contained in:
@@ -101,6 +101,8 @@ USE_TZ = True
|
||||
STATIC_URL = 'static/'
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
||||
|
||||
print(f"DEBUG: {DEBUG}" f" | ALLOWED_HOSTS: {ALLOWED_HOSTS}")
|
||||
|
||||
if DEBUG:
|
||||
DEFAULT_PERMISSION_CLASSES = [ 'rest_framework.permissions.AllowAny' ]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user