123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- """
- Definition of urls for Niko.
- """
- from django.conf.urls import include, url
- # from django.urls import path
- from django.contrib import admin
- from checkIn.views import index_pjh
- from backend.views import wechat_authorize_domain,wechat_authorize_domain_2
- from django.views.generic.base import RedirectView
- # from checkIn import views, AJAX, userViews, staticViews, addonViews
- # Uncomment the next two lines to enable the admin:
- # from django.contrib import admin
- # admin.autodiscover()
- urlpatterns = [
- # Examples:
- # url(r'^$', Niko.views.home, name='home'),
- # url(r'^Niko/', include('Niko.Niko.urls')),
- # Uncomment the admin/doc line below to enable admin documentation:
- # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
- # Uncomment the next line to enable the admin:
- # url(r'^admin/', include(admin.site.urls)),
- url(r'^$', index_pjh),
- url(r'^prison/', admin.site.urls),
- url(r'^checkIn/', include('checkIn.urls')),
- url(r'^cq/dati/', include('dati.urls')),
- url(r'^cq/library/', include('library.urls')),
- url(r'^cq/volunteer/', include('volunteer_arrangement.urls')),
- url(r'^backend/', include('backend.urls')),
- url('MP_verify_FGlGjjfKq4iz5EZc.txt', wechat_authorize_domain),
- url('MP_verify_nWvJfsXLyqPEqBTg.txt', wechat_authorize_domain_2),
- url(r'^favicon.ico$', RedirectView.as_view(url='http://www.pujianghui.work:81/favicon.ico'))
- ]
- urlpatterns += [
- url(r'^captcha/', include('captcha.urls')),
- ]
|