diff options
author | Avadoot Nachankar <avadoot298@gmail.com> | 2014-03-01 12:37:12 +0530 |
---|---|---|
committer | Avadoot Nachankar <avadoot298@gmail.com> | 2014-03-01 12:37:12 +0530 |
commit | 9e012309d21de3d57bd558de339805ea08df6768 (patch) | |
tree | d661a28a7b6b1553dab942647eaa4cfdd40bace0 /gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py | |
parent | 920c01c2b306fa5cd8f16a079957120af83479af (diff) | |
download | gnowsys-9e012309d21de3d57bd558de339805ea08df6768.tar.gz |
Removed unecessary code from respective file(s).
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py index a4593c4..1f92647 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/adminDashboard.py @@ -1,12 +1,10 @@ from django.conf.urls import patterns, url from django.views.generic.base import RedirectView -from gnowsys_ndf.ndf.views import * - -urlpatterns = patterns('', +urlpatterns = patterns('gnowsys_ndf.ndf.views.adminDashboard', url(r'^$', RedirectView.as_view(url='GSystem'), name='adminClass'), - url(r'^edit','gnowsys_ndf.ndf.views.adminDashboard.adminDashboardEdit',name='adminDashboardEdit' ), - url(r'^delete','gnowsys_ndf.ndf.views.adminDashboard.adminDashboardDelete',name='adminDashboardDelete' ), - url(r'^(?P<class_name>[^/]+)','gnowsys_ndf.ndf.views.adminDashboard.adminDashboardClass',name='adminDashboardClass' ), + url(r'^edit', 'adminDashboardEdit', name='adminDashboardEdit'), + url(r'^delete', 'adminDashboardDelete', name='adminDashboardDelete'), + url(r'^(?P<class_name>[^/]+)', 'adminDashboardClass', name='adminDashboardClass'), ) |