Anuj-Panthri commited on
Commit
f7f589e
·
1 Parent(s): 02595e2

added CSRF_TRUSTED_ORIGINS

Browse files
Files changed (1) hide show
  1. templator/settings.py +3 -1
templator/settings.py CHANGED
@@ -126,4 +126,6 @@ STATIC_URL = 'static/'
126
  DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
127
 
128
 
129
- AUTH_USER_MODEL = 'accounts.User'
 
 
 
126
  DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
127
 
128
 
129
+ AUTH_USER_MODEL = 'accounts.User'
130
+
131
+ CSRF_TRUSTED_ORIGINS = ['http://*','https://*']