Hi,

   I'm working in Django 1.10 and I got the type error  in the below file 
at this line "* url(r'^$', views.dashboard, name = 'dashboard'),*"

*from django.conf.urls import include, url*
*from . import views*

*urlpatterns = [*
*    #preview login view*
*    #url(r'^login/$',views.user_login, name='login')*

*    # logged - in user dashboard*
*    url(r'^$', views.dashboard, name = 'dashboard'),*

*    #login / logout urls*
*    url(r'^login/$', 'django.contrib.auth.views.login', name='login'),*

*    url(r'^logout/$', 'django.contrib.auth.views.logout', name='logout'),*

*    
url(r'^logout-then-login/$','django.contrib.auth.views.logout_then_login', 
name='logout_then_login')*

*]*

I'm new to Django and stuck because of this 

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e7687a0c-8ba6-40a7-b835-2ac304d6fdf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to