jfinn 8 месяцев назад
Родитель
Сommit
71514a2afc
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      djc_srv/settings.py
  2. 1
    1
      wsps/views.py

+ 1
- 1
djc_srv/settings.py Просмотреть файл

27
 DEBUG = True
27
 DEBUG = True
28
 
28
 
29
 ALLOWED_HOSTS = ["*"]
29
 ALLOWED_HOSTS = ["*"]
30
-CSRF_TRUSTED_ORIGINS = ["http://videocorners.com","https://videocorners.com"]
30
+
31
 # jxn.fredericktheinsanelygreat.com
31
 # jxn.fredericktheinsanelygreat.com
32
 
32
 
33
 # Application definition
33
 # Application definition

+ 1
- 1
wsps/views.py Просмотреть файл

28
 def index(request):
28
 def index(request):
29
 	return HttpResponse("Hello World") 
29
 	return HttpResponse("Hello World") 
30
 
30
 
31
-
31
+@csrf_exempt
32
 def fn_v(request,*a,**kw):
32
 def fn_v(request,*a,**kw):
33
 	# glob_cl.acl
33
 	# glob_cl.acl
34
 	# if 
34
 	# if 

Загрузка…
Отмена
Сохранить