24 lines
897 B
Python
24 lines
897 B
Python
from django.urls import include, path
|
|
from django.contrib import admin
|
|
from django.contrib.flatpages import views
|
|
from .views import home
|
|
|
|
from django.contrib.sites.models import Site
|
|
admin.site.unregister(Site)
|
|
|
|
|
|
urlpatterns = [
|
|
path('admin/doc/', include('django.contrib.admindocs.urls')),
|
|
path('admin/', admin.site.urls),
|
|
path('account/', include('django.contrib.auth.urls')),
|
|
path('about/', views.flatpage, {'url': '/about/'}, name='about'),
|
|
path("pages/", include('django.contrib.flatpages.urls')),
|
|
path('yeast/', include(('yeast.urls', 'yeast'))),
|
|
path('beer/', include(('beer.urls', 'beer'))),
|
|
path('kegs/', include(('kegs.urls', 'kegs'))),
|
|
path('notifications/', include('django_nyt.urls')),
|
|
path('wiki/', include('wiki.urls')),
|
|
#path('change-password/', ChangePasswordView.as_view(), name='change_password'),
|
|
path('', home, name="home"),
|
|
]
|