summaryrefslogtreecommitdiff
path: root/workshop_portal/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'workshop_portal/urls.py')
-rw-r--r--workshop_portal/urls.py22
1 files changed, 2 insertions, 20 deletions
diff --git a/workshop_portal/urls.py b/workshop_portal/urls.py
index 1b212f7..d4eaafd 100644
--- a/workshop_portal/urls.py
+++ b/workshop_portal/urls.py
@@ -13,7 +13,7 @@ Including another URLconf
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
-from django.conf.urls import url
+from django.conf.urls import url, include
from django.contrib import admin
from workshop_app import views
import django
@@ -24,25 +24,7 @@ js_info_dict = {
urlpatterns = [
- url(r'^$', views.index, name='index'),
url(r'^admin/', admin.site.urls),
- url(r'^register/$', views.user_register),
- url(r'^activate_user/(?P<key>.+)$', views.activate_user),
- url(r'^login/$', views.user_login),
- url(r'^logout/$', views.user_logout),
- url(r'^view_profile/$', views.view_profile),
- url(r'^edit_profile/$', views.edit_profile),
- url(r'^book/$', views.book),
- url(r'^book_workshop/$', views.book_workshop),
- url(r'^my_workshops/$', views.my_workshops),
- url(r'^benefits/$', views.benefits),
- url(r'^how_to_participate/$', views.how_to_participate),
- url(r'^faq/$', views.faq),
- url(r'^manage/$', views.manage),
- url(r'^view_workshoptype_list/$', views.view_workshoptype_list),
- url(r'^view_workshoptype_details/$', views.view_workshoptype_details),
- url(r'^create_workshop/$', views.create_workshop),
- url(r'^propose_workshop/$', views.propose_workshop),
- url(r'^jsi18n/$', django.views.i18n.javascript_catalog, js_info_dict),
+ url(r'^', include('workshop_app.urls')),
]