okk..i checked the error logs but for the current error they show nothing..so, my current application's url file is like this:
from django.conf.urls import patterns, url
from imdbApp import views
urlpatterns=patterns('',
url(r'^$', views.user_login, name='login'),
url(r'^logout/$', views.user_logout, name='logout'),
url(r'^register/$', views.register, name='register'),
url(r'^dashboard/$', views.dashboard, name='dashboard'),
url(r'^movie_search/$', views.movie_search, name='movie_search'),
url(r'^movie_info/$', views.movie_search, name='movie_info'),
)
so should i edit it to like this:
from django.conf.urls import patterns, url
from imdbApp import views
urlpatterns=patterns('',
url(r'^/$', views.user_login, name='login'),
url(r'^logout/$', views.user_logout, name='logout'),
url(r'^register/$', views.register, name='register'),
url(r'^dashboard/$', views.dashboard, name='dashboard'),
url(r'^movie_search/$', views.movie_search, name='movie_search'),
url(r'^movie_info/$', views.movie_search, name='movie_info'),
)
but i tried this pattern and it didn't work..also, did you mean to edit my project's url file which is:
from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'imdb_project.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^imdbApp/', include('imdbApp.urls')),
)
plz help me here,
thanks!!