# Copyright (c) 2013 Pierre Bourdon <*****@*****.**> # Copyright (c) 2013 Association Prologin <*****@*****.**> # # Prologin-SADM is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Prologin-SADM is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Prologin-SADM. If not, see <http://www.gnu.org/licenses/>. from django.conf.urls import include, url from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from prologin.djangoconf import set_admin_title set_admin_title(admin, "User Database") urlpatterns = [ url(r'', include('django_prometheus.urls')), url(r'', admin.site.urls), ] urlpatterns += staticfiles_urlpatterns()
from django.urls import include, path from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from prologin.djangoconf import set_admin_title set_admin_title(admin, "Paste Server") urlpatterns = [ path('admin/', admin.site.urls), path('', include('dpaste.urls.dpaste')), ] urlpatterns += staticfiles_urlpatterns()
from django.urls import include, path from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from prologin.djangoconf import set_admin_title set_admin_title(admin, "Wiki Server") urlpatterns = [ path('admin/', admin.site.urls), path('notifications/', include('django_nyt.urls')), path('', include('wiki.urls')), ] urlpatterns += staticfiles_urlpatterns()
from django.conf.urls import include, url from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns import prologin.concours.stechec.urls import prologin.concours.stechec.restapi.urls from prologin.djangoconf import set_admin_title set_admin_title(admin, "Concours") urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^api/', include(prologin.concours.stechec.restapi.urls)), url(r'^', include(prologin.concours.stechec.urls)), url(r'', include('django_prometheus.urls')), ] urlpatterns += staticfiles_urlpatterns()
# Copyright (c) 2013 Pierre Bourdon <*****@*****.**> # Copyright (c) 2013 Association Prologin <*****@*****.**> # # Prologin-SADM is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Prologin-SADM is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Prologin-SADM. If not, see <http://www.gnu.org/licenses/>. from django.conf.urls import include, url from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from prologin.djangoconf import set_admin_title set_admin_title(admin, "Machine Database") urlpatterns = [ url(r'', include('django_prometheus.urls')), url(r'', admin.site.urls), ] urlpatterns += staticfiles_urlpatterns()