Well this is where I'm at. I have used the requests package  to try and 
request the Django Admin login page and submit the username and password. 
However, when I do this I get a 403 error. I have tried to turn off the 
dependency for csrf tokens in the login view by using the csrf_exempt,but 
this gave me a 500 error. So I need to break this down to learn whats going 
on. So here is the code I'm typing into the python prompt:

import rquests

url = "http://192.168.0.21/admin/login/";
payload = {'Username':'jimmy', 'Password':'Beam'}
r = requests.post(url, payload)


I get a 403.

My questions are:
(1) Is the the code above the correct way to fill in and submit the django user 
login form?
(2) What should I do next to troubleshoot the problem?


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to