summaryrefslogtreecommitdiff
path: root/workshop_portal/urls.py
diff options
context:
space:
mode:
authorMahesh Gudi2017-05-30 14:59:05 +0530
committerGitHub2017-05-30 14:59:05 +0530
commit83d0d398fa81515ce2b6033a6f4e642e04c34a28 (patch)
tree2ccca3b4c524aaba9ef853734ac3df8bc2b9f6b0 /workshop_portal/urls.py
parentd73abca9000d1c90f39ed92de53302c27cc00d19 (diff)
parent626baecca1ac4cd57ce28512926d028d9b465ec7 (diff)
downloadworkshop_booking-83d0d398fa81515ce2b6033a6f4e642e04c34a28.tar.gz
workshop_booking-83d0d398fa81515ce2b6033a6f4e642e04c34a28.tar.bz2
workshop_booking-83d0d398fa81515ce2b6033a6f4e642e04c34a28.zip
Merge pull request #1 from Akshen/recurrance
Python Workshop Website
Diffstat (limited to 'workshop_portal/urls.py')
-rw-r--r--workshop_portal/urls.py48
1 files changed, 48 insertions, 0 deletions
diff --git a/workshop_portal/urls.py b/workshop_portal/urls.py
new file mode 100644
index 0000000..1b212f7
--- /dev/null
+++ b/workshop_portal/urls.py
@@ -0,0 +1,48 @@
+"""workshop_portal URL Configuration
+
+The `urlpatterns` list routes URLs to views. For more information please see:
+ https://docs.djangoproject.com/en/1.10/topics/http/urls/
+Examples:
+Function views
+ 1. Add an import: from my_app import views
+ 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
+Class-based views
+ 1. Add an import: from other_app.views import Home
+ 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
+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.contrib import admin
+from workshop_app import views
+import django
+
+js_info_dict = {
+ 'packages': ('recurrence', ),
+}
+
+
+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),
+
+]