You don't need the `c.update` etc... lines, since it's not actually being used anywhere by your view. Also you should probably just use `render` instead of `render_to_response`, since `render` will always use a RequestContext.
https://docs.djangoproject.com/en/dev/topics/http/shortcuts/ On Tuesday, 13 November 2012 14:08:51 UTC, Nebros wrote: > > Edit: first error was TypeError at /portal/... i realyzed now, the error > is for the next page... > > >> TypeError at /kundendaten/ >> >> pop expected at least 1 arguments, got 0 >> >> >> >> i tryed the post from this page: >> http://stackoverflow.com/questions/7678231/problems-with-csrf-token >> >> >> >> now i have the error, when i press my send button, why is that? >> here the error...-------------------------- >> >> TypeError at /kundendaten/ >> >> pop expected at least 1 arguments, got 0 >> >> Request Method:POSTRequest URL:http://127.0.0.1:8000/kundendaten/Django >> Version:1.4.1Exception Type:TypeErrorException Value: >> >> pop expected at least 1 arguments, got 0 >> >> Exception Location:C:\Python27\lib\site-packages\django\template\loader.py >> in render_to_string, line 178Python Executable:C:\Python27\python.exePython >> Version:2.7.3 >> >> >> ----------------------------------------------------------------------------- >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xuP68hlwSdoJ. 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. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.