I am not going to update any models for the database or anything I just 
need some info from the user that will be process by the view.
I could put that info in the url as a variable such /?=variable.
and then get it with 
info = request.GET.get("info", "")  
but its little ugly since you display it on the url.


On Wednesday, May 20, 2015 at 9:07:11 PM UTC-5, luisza14 wrote:

> And you need to put inside the form the csrf token .
>
> <form action="." method="post">{% csrf_token %} ...
>
> See: https://docs.djangoproject.com/en/1.8/ref/csrf/
>
>
>
> 2015-05-20 16:40 GMT-06:00 술욱 <[email protected] <javascript:>>:
>
>> Hi,
>>
>> just make sure you match your input names with what Django expects. For 
>> example:
>>
>> If the HTML is <input name="username"> your Form will need a "username" 
>> field.
>>
>> HTH,
>> Norberto
>>
>> 2015-05-20 18:24 GMT-03:00 dk <[email protected] <javascript:>>:
>> > i have a regular form in the template.   the user and the password 
>> since the
>> > web designer did it like that.
>> > can I still use it in django view?
>> >
>> > any particular way that's need to be use?  or we need to change it to 
>> use
>> > django forms?
>> >
>> > =)
>> >
>> > --
>> > 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 [email protected] <javascript:>.
>> > To post to this group, send email to [email protected] 
>> <javascript:>.
>> > Visit this group at http://groups.google.com/group/django-users.
>> > To view this discussion on the web visit
>> > 
>> https://groups.google.com/d/msgid/django-users/8070bda1-e549-4a3a-89ee-7c1e1df9ff2c%40googlegroups.com
>> .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CADut3oAaXtGjzK9repN_waOzn0SsuWkT3Mp5DYhzMWTzosUk3g%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> "La utopía sirve para caminar" Fernando Birri
>
>
> 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cbe6f8ba-c31e-4fe7-93b2-309178a038b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to