1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.views.generic import RedirectView
from django.views.generic import TemplateView
from registration.backends.default.views import RegistrationView
from gnowsys_ndf.ndf.forms import *
from gnowsys_ndf.ndf.views.home import HomeRedirectView, homepage
from gnowsys_ndf.ndf.views.methods import tag_info
from gnowsys_ndf.ndf.views.custom_app_view import custom_app_view, custom_app_new_view
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/data/', include('gnowsys_ndf.ndf.urls.adminDashboard')),
(r'^admin/designer/', include('gnowsys_ndf.ndf.urls.adminDesignerDashboard')),
(r'^raw/(?P<name>.+)/', 'gnowsys_ndf.mobwrite.views.raw'),
(r'^r/(?P<name>.+)/', 'gnowsys_ndf.mobwrite.views.raw'),
(r'^m/(?P<name>.+)/', 'gnowsys_ndf.mobwrite.views.html'),
(r'^t/(?P<name>.+)/', 'gnowsys_ndf.mobwrite.views.text'),
(r'^new/$', 'gnowsys_ndf.mobwrite.views.new'),
(r'^mobwrite/', 'gnowsys_ndf.mobwrite.views.mobwrite'),
(r'^admin/', include(admin.site.urls)),
(r'^$', HomeRedirectView.as_view()),
(r'^home/','gnowsys_ndf.ndf.views.group.group_dashboard'),
(r'^(?P<group_id>[^/]+)/file/', include('gnowsys_ndf.ndf.urls.file')),
(r'^(?P<group_id>[^/]+)/image/', include('gnowsys_ndf.ndf.urls.image')),
(r'^(?P<group_id>[^/]+)/video/', include('gnowsys_ndf.ndf.urls.video')),
(r'^(?P<group_id>[^/]+)/page/', include('gnowsys_ndf.ndf.urls.page')),
(r'^(?P<group_id>[^/]+)/group/', include('gnowsys_ndf.ndf.urls.group')),
(r'^(?P<group_id>[^/]+)/forum/', include('gnowsys_ndf.ndf.urls.forum')),
(r'^(?P<group_id>[^/]+)/quiz/', include('gnowsys_ndf.ndf.urls.quiz')),
(r'^(?P<group_id>[^/]+)/course/', include('gnowsys_ndf.ndf.urls.course')),
(r'^(?P<group_id>[^/]+)/module/', include('gnowsys_ndf.ndf.urls.module')),
(r'^(?P<group_id>[^/]+)/ajax/', include('gnowsys_ndf.ndf.urls.ajax-urls')),
(r'^(?P<group_id>[^/]+)/browse resource/', include('gnowsys_ndf.ndf.urls.browse_resource')),
(r'^(?P<group_id>[^/]+)/',include('gnowsys_ndf.ndf.urls.group')),
url(r'^(?P<group_id>[^/]+)/tags/(?P<tagname>[^/]+)$','gnowsys_ndf.ndf.views.methods.tag_info', name='tag_info'),
(r'^(?P<group_id>[^/]+)/', include('gnowsys_ndf.ndf.urls.user')),
(r'^(?P<group_id>[^/]+)/observation/(?P<app_id>[\w-]+)$', include('gnowsys_ndf.ndf.urls.observations_urls')),
(r'^(?P<group_id>[^/]+)/observations/(?P<app_id>[\w-]+)', include('gnowsys_ndf.ndf.urls.observations_urls')),
url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)$', custom_app_view, name='GAPPS'),
url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)$', custom_app_view, name='GAPPS_set'),
url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/(?P<app_set_instance_id>[\w-]+)$', custom_app_view, name='GAPPS_set_instance'),
url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/(?P<app_set_instance_id>[\w-]+)/edit/$', custom_app_new_view, name='GAPPS_set_instance_edit'),
url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/new/$', custom_app_new_view, name='GAPPS_set_new_instance'),
# (r'^home/', 'gnowsys_ndf.ndf.views.home.homepage'),
(r'^benchmarker/', include('gnowsys_ndf.benchmarker.urls')),
url(r'^accounts/password/change/done/', auth_views.password_change_done, name='password_change_done'),
url(r'^accounts/password/change/', auth_views.password_change, {'password_change_form': UserChangeform}),
url(r'^accounts/password/reset/confirm/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', auth_views.password_reset_confirm, {'set_password_form': UserResetform},name='password_reset_confirm'),
url(r'^accounts/password/reset/complete/$', auth_views.password_reset_complete, name='password_reset_complete'),
url(r'^accounts/password/reset/done/$',auth_views.password_reset_done,name="password_reset_done"),
url(r'^accounts/password/reset/$',
auth_views.password_reset,
{
'template_name': 'registration/password_reset_form.html',
'email_template_name': 'registration/password_reset_email.html',
'subject_template_name':'registration/password_reset_email_subject.txt'
},
name='password_reset'
),
url(r'^accounts/register/$', RegistrationView.as_view(form_class=UserRegistrationForm)),
(r'^accounts/', include('registration.backends.default.urls')),
url(r'^Beta/', TemplateView.as_view(template_name= 'gstudio/beta.html'), name="beta"),
)
|