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,
Not sure what the issue is without more info about the error, but is the
regular expression for that view correct? Assuming that you want to divert
folks to the root of your site can you try the following?
url(r'^/$', views.dashboard, name = 'dashboard')
NOTE: if the error still persists, it w
On Sep 5, 2016 6:06 AM, "arun kumar" wrote:
>
> 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
3 matches
Mail list logo