help, How can i solve this error please

15 views
Skip to first unread message

Hambali Idrees Ibrahim

unread,
Jul 7, 2018, 11:09:07 PM7/7/18
to Django users


Ahmad Hassan

unread,
Jul 7, 2018, 11:38:14 PM7/7/18
to django...@googlegroups.com
from django.contrib.auth.views import LoginView, LogoutView




urlpatterns = [


url(r'^login/$', LoginView.as_view(template_name='accounts/login.html')),
url(r'^logout/$', LogoutView.as_view(template_name='accounts/logout.html')),
]



On 7/8/18, Hambali Idrees Ibrahim <hambaliidr...@gmail.com> wrote:
>
>
> <https://lh3.googleusercontent.com/-BU8r7bZWSso/W0FE7t9-WrI/AAAAAAAAAC8/LieCYDLxDoooMqEDl7YOrtUyZ1VNOziTgCLcBGAs/s1600/2.PNG>
>
> <https://lh3.googleusercontent.com/-ISOuuyHYXg8/W0FEzPLDLCI/AAAAAAAAAC4/z_lszRlt4MkYphvgyspXqUDA0Fyd7nrigCLcBGAs/s1600/1.PNG>
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/667914ce-d796-4a75-9a55-654508c7ee7d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

Ahmad Hassan

unread,
Jul 8, 2018, 5:58:09 PM7/8/18
to django...@googlegroups.com
thanks a lot man.

url(r'^register$', views.register, name='register'), is not working now
Reply all
Reply to author
Forward
0 new messages