I found the answer by myself... it was just to add this: ret = request.POST form = ret['kunde'] and use this "form" as a variable... "%s" %form
Am Freitag, 23. November 2012 08:31:30 UTC+1 schrieb Nebros: > I saw your answer and it was long and with a lot of time, i thanks for > that. I have removed {% block content %} and i did other changes, like you > sayed. > > >>> c.execute("SELECT id, name from auth_group WHERE id < 4") > 3L > >>> c.fetchall() > ((2L, u'Client Super User'), (3L, u'Helpdesk User'), (1L, u'IT User')) > > ^ > | > | This part i didnt understand what you mean, but doesent matter. :) > > And: > {% for row in rows %} > <tr> > <td>{{ row.0 }}</td> > <td>{{ row.1 }}</td> > </tr> > {% endfor %} > > ^ > | > | This part was, what i have searched for. I am very new in Python/Django > and what I can do is yust copy/paste and understand what I have copied, but > I cant really create my own code atm. > > It works now, and I am really happy about that. :) > Now there is only one problem left, how can i use my value out of my form > and use it as a variable? ^^ > > Thank you very much Tom, you was very helpful. =) > -- 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/-/SfoHaLt6cS8J. 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.