jfinn преди 8 месеца
родител
ревизия
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 

Loading…
Отказ
Запис