Thank you Scott. Now I can access the "?token=blah" part.
This was a very fast and painless help. I will learn more about Post and Get requests. Best regards Said PS: How can I vote for you? On 6 Mai, 17:04, zinckiwi <zinck...@gmail.com> wrote: > > my HTML form tag is as follows: > > > <form method="POST" action="."> > > > How can I avoid losing the "?token=blah" part? I think this could be > > the problem. > > You'll want to replace it with this: > > <form method="POST" action="{{ request.get_full_path }}"> > > As explained here: > > http://docs.djangoproject.com/en/dev/ref/request-response/#django.htt... > > > > assert False > > > I don't konow exactly what you mean with this. Is this some kind of > > debug possibility? > > An "assert" immediately stops execution if the expression evaluates to > false. So "assert False" just stops the view dead in its tracks. You > can then inspect the state of your view, including all the variables, > providing you have settings.DEBUG set to true. > > Regards > Scott > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.