jfinn 8 kuukautta sitten
vanhempi
commit
71514a2afc
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1
    1
      djc_srv/settings.py
  2. 1
    1
      wsps/views.py

+ 1
- 1
djc_srv/settings.py Näytä tiedosto

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 Näytä tiedosto

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…
Peruuta
Tallenna