[google-appengine] Re: CSRF token is null!

2015-08-04 Thread Ryan (Cloud Platform Support)
Salutations Dassine,

This would be best posted on StackOverflow 
http://stackoverflow.com/questions/tagged/google-app-engine. You will 
need to include the code you use and the logs you see here with the error 
https://console.developers.google.com/project/_/logs. 
https://console.developers.google.com/project/_/logs

On Saturday, August 1, 2015 at 9:31:33 PM UTC-4, Dassine B. wrote:


 Hi there !

 I'm building a form which allows the user to upload files. Everything 
 works perfectly locally but not live. I got this error : 

 POST http://trocodeal.co/ 500 (Internal Server Error)
 send @ jquery.min.js:5
 b.extend.ajax @ jquery.min.js:5
 send @ jquery.fileupload.js:711
 (anonymous function) @ jquery.min.js:3
 c @ jquery.min.js:3
 p.add @ jquery.min.js:3
 (anonymous function) @ jquery.min.js:3
 b.extend.each @ jquery.min.js:3
 (anonymous function) @ jquery.min.js:3
 b.extend.Deferred @ jquery.min.js:3
 r.then @ jquery.min.js:3
 $.widget._onSend @ jquery.fileupload.js:755
 (anonymous function) @ jquery.ui.widget.js:105
 $.each.newData.submit @ jquery.fileupload.js:811
 (anonymous function) @ jquery.fileupload-ui.js:105
 c @ jquery.min.js:3
 p.fireWith @ jquery.min.js:3
 (anonymous function) @ jquery.fileupload-ui.js:618
 b.event.dispatch @ jquery.min.js:3
 v.handle @ jquery.min.js:3

 After hours of research and trying many solution. It might be related to 
 crsftoken. this one is available when I use my local environment but not my 
 domain. Is this possible ? 

 I'm stumped and really stuck ! If anyone can help, it will be really 
 appreciated !

 Thanks !

 FYI. I'm new in web development/GAE/Django


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7c910e89-0c97-4a62-ada8-5fefad657466%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: CSRF token is null!

2015-08-03 Thread Dassine B.
Having the token didn't fix my problem. I still can't uploads files. It 
works only locally. 

Please if anyone can help me to figure out what's going on it will be 
really appreciated ! 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ef7b842c-a3f0-477c-a176-db64c3ea93da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: CSRF token is null!

2015-08-03 Thread Dassine B.
My mistake. I removed  2 lines in settings.py : 


MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/19f7c62a-8bec-4df3-9896-a220b7246ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.