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 술욱 <nbe...@gmail.com>:

> 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 <demi...@gmail.com>:
> > 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 django-users+unsubscr...@googlegroups.com.
> > To post to this group, send email to django-users@googlegroups.com.
> > 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAG%2B5VyOS6PFAy0GwGggR7_wgYYMxcevrKvsSMQtyvKFXxa5SQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to