thanks for your help

 the from redirected when i used 
accept = Pin.objects.get(pin=pin1, serial_no=serial_no1)

but again i discover that a user can view the accept page by typing it on 
his or her url
without following the normal process of entering pin and serial no first 

how can i stop this, how can i force a user to see that accept page only 
when he/she is comes only from the main form page, what i mean a user 
can only be redirected to the accept page only when he has the valid 
credentials 
otherwise he/she cannot view the accept page even if he entered the correct 
url
on his browser. thanks 


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


Reply via email to