<reponame>richardcornish/chicagofoodinspections<filename>chicagofoodinspections/chicagofoodinspections/urls.py<gh_stars>0
from django.conf import settings
from django.contrib import admin
from django.urls import include, path

from .views import DocumentationView, FaviconView, HomeView, RobotsView


urlpatterns = [
    path('admin/', admin.site.urls),
    path('favicon.ico', FaviconView.as_view(), name='favicon'),
    path('robots.txt', RobotsView.as_view(), name='robots'),
    path('documentation/', DocumentationView.as_view(), name='documentation'),
    path('', HomeView.as_view(), name='home'),
]


if getattr(settings, 'DEBUG', False):
    import debug_toolbar
    urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]

from django.conf import settings
from django.contrib import admin
from django.urls import include, path

from .views import DocumentationView, FaviconView, HomeView, RobotsView


urlpatterns = [
    path('admin/', admin.site.urls),
    path('favicon.ico', FaviconView.as_view(), name='favicon'),
    path('robots.txt', RobotsView.as_view(), name='robots'),
    path('documentation/', DocumentationView.as_view(), name='documentation'),
    path('', HomeView.as_view(), name='home'),
]


if getattr(settings, 'DEBUG', False):
    import debug_toolbar
    urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]