Re: handling filedrop.js upload gives a 400

2015-08-22 Thread Josh Stratton
I just realized I pasted a flask snippet from some old code. Ignore this. I'll find the new django snippet. On Sat, Aug 22, 2015 at 10:59 AM, Josh Stratton wrote: > I'm switching from dropzone.js to filedrop.js. I'm using the same > endpoint as I did for dropzone.js,

handling filedrop.js upload gives a 400

2015-08-22 Thread Josh Stratton
I'm switching from dropzone.js to filedrop.js. I'm using the same endpoint as I did for dropzone.js, but I get a 400 error dropping the example code into my html. I'm not quite sure where to go from here to debug it. I'm not sure if it's a simple different in how filedrop.js handles encoding or

path to django from jython

2015-01-27 Thread Josh Stratton
Okay, stupid question, but how do I source django when jusing jython? I have django installed using pip and jython installed locally. I've built my project using python and after adding "doj" to the installed apps, I get a path error building a war. $ jython manage.py buildwar Traceback (most re

forcing authentication without a password

2011-07-04 Thread Josh Stratton
I've setup my authentication system to use the standard name/password with good results, but some of the users are coming directly from Google Apps with an OpenID I've authenticated by hand. What I'd like is if they are authenticated from Google Apps, I can just call auth_login, but they haven't a

ax variables from google using django.auth.openid

2011-02-27 Thread Josh Stratton
I've successfully setup django.auth.openid to do to the login through google, and I see that it will prompt the user for releasing their e- mail. However, I don't see anything available that let's me query the e-mail. Where is that information stored? request.user somewhere? -- You received th