url(r'^login_ajax/(?P<error>[^/]*)$', 'student.views.login_user'), url(r'^email_confirm/(?P<key>[^/]*)$', 'student.views.confirm_email_change'), url(r'^event$', 'track.views.user_track'), url(r'^performance$', 'performance.views.performance_log'), url(r'^segmentio/event$', 'track.views.segmentio.segmentio_event'), # TODO: Is this used anymore? What is STATIC_GRAB? url(r'^t/(?P<template>[^/]*)$', 'static_template_view.views.index'), url(r'^accounts/manage_user_standing', 'student.views.manage_user_standing', name='manage_user_standing'), url(r'^accounts/disable_account_ajax$', 'student.views.disable_account_ajax', name="disable_account_ajax"), url(r'^logout$', LogoutView.as_view(), name='logout'), url(r'^create_account$', 'student.views.create_account', name='create_account'), url(r'^activate/(?P<key>[^/]*)$', 'student.views.activate_account', name="activate"), url(r'^password_reset/$', 'student.views.password_reset', name='password_reset'), ## Obsolete Django views for password resets ## TODO: Replace with Mako-ized views url(r'^password_change/$', 'django.contrib.auth.views.password_change', name='password_change'), url(r'^password_change_done/$',
""" health_center_portal URL Configuration. """ from django.contrib import admin from django.urls import path, include from django.conf.urls.static import static from django.conf import settings from student.views import HomePageView, Login, LogoutView, ListOfDoctors, About urlpatterns = [ path('', HomePageView.as_view(), name='homepage'), path('admin/', admin.site.urls), path('login/', Login.as_view(), name='login'), path('logout/', LogoutView.as_view(), name='logout'), path('available-doctors/', ListOfDoctors.as_view(), name='available_doctors'), path('about/', About.as_view(), name='about'), path('accounts/', include('allauth.urls')), path('student/', include('student.urls')), path('doctor/', include('doctor.urls')), path('announcement/', include('announcements.urls')), path('appointments/', include('appointments.urls')), path('ckeditor/', include('ckeditor_uploader.urls')), ] if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
url(r'^login_ajax/(?P<error>[^/]*)$', 'student.views.login_user'), url(r'^email_confirm/(?P<key>[^/]*)$', 'student.views.confirm_email_change'), url(r'^event$', 'track.views.user_track'), url(r'^performance$', 'performance.views.performance_log'), url(r'^segmentio/event$', 'track.views.segmentio.segmentio_event'), # TODO: Is this used anymore? What is STATIC_GRAB? url(r'^t/(?P<template>[^/]*)$', 'static_template_view.views.index'), url(r'^accounts/manage_user_standing', 'student.views.manage_user_standing', name='manage_user_standing'), url(r'^accounts/disable_account_ajax$', 'student.views.disable_account_ajax', name="disable_account_ajax"), url(r'^logout$', LogoutView.as_view(), name='logout'), url(r'^create_account$', 'student.views.create_account', name='create_account'), url(r'^activate/(?P<key>[^/]*)$', 'student.views.activate_account', name="activate"), url(r'^password_reset/$', 'student.views.password_reset', name='password_reset'), ## Obsolete Django views for password resets ## TODO: Replace with Mako-ized views url(r'^password_change/$', 'django.contrib.auth.views.password_change', name='password_change'), url(r'^password_change_done/$', 'django.contrib.auth.views.password_change_done', name='password_change_done'), url(r'^password_reset_confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'student.views.password_reset_confirm_wrapper', name='password_reset_confirm'), url(r'^password_reset_complete/$', 'django.contrib.auth.views.password_reset_complete', name='password_reset_complete'),
# Use urlpatterns formatted as within the Django docs with first parameter "stuck" to the open parenthesis urlpatterns = ( "", url(r"^$", "branding.views.index", name="root"), # Main marketing page, or redirect to courseware url(r"^dashboard$", "student.views.dashboard", name="dashboard"), url(r"^login_ajax$", "student.views.login_user", name="login"), url(r"^login_ajax/(?P<error>[^/]*)$", "student.views.login_user"), url(r"^email_confirm/(?P<key>[^/]*)$", "student.views.confirm_email_change"), url(r"^event$", "track.views.user_track"), url(r"^performance$", "performance.views.performance_log"), url(r"^segmentio/event$", "track.views.segmentio.segmentio_event"), # TODO: Is this used anymore? What is STATIC_GRAB? url(r"^t/(?P<template>[^/]*)$", "static_template_view.views.index"), url(r"^accounts/manage_user_standing", "student.views.manage_user_standing", name="manage_user_standing"), url(r"^accounts/disable_account_ajax$", "student.views.disable_account_ajax", name="disable_account_ajax"), url(r"^logout$", LogoutView.as_view(), name="logout"), url(r"^create_account$", "student.views.create_account", name="create_account"), url(r"^activate/(?P<key>[^/]*)$", "student.views.activate_account", name="activate"), url(r"^password_reset/$", "student.views.password_reset", name="password_reset"), ## Obsolete Django views for password resets ## TODO: Replace with Mako-ized views url(r"^password_change/$", "django.contrib.auth.views.password_change", name="password_change"), url(r"^password_change_done/$", "django.contrib.auth.views.password_change_done", name="password_change_done"), url( r"^password_reset_confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$", "student.views.password_reset_confirm_wrapper", name="password_reset_confirm", ), url( r"^password_reset_complete/$", "django.contrib.auth.views.password_reset_complete",