CSV Parser added, interactive table with bind utilization
This commit is contained in:
@@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.staticfiles',
|
||||
'corsheaders',
|
||||
'rest_framework',
|
||||
'rest_framework.authtoken',
|
||||
'wg_api'
|
||||
|
||||
]
|
||||
@@ -65,6 +66,13 @@ CORS_ORIGIN_WHITELIST = [
|
||||
CSRF_TRUSTED_ORIGINS = ['https://wg.nnag.me']
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
'rest_framework.authentication.TokenAuthentication', # <-- And here
|
||||
],
|
||||
}
|
||||
|
||||
ROOT_URLCONF = 'wgweb.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
@@ -133,6 +141,8 @@ USE_TZ = True
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
|
||||
# LOGIN_REDIRECT_URL = '/admin/dashboard'
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
|
||||
|
||||
|
||||
Reference in New Issue
Block a user