nice features
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -55,7 +55,7 @@ ROOT_URLCONF = 'houtmarkt.urls'
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': [os.path.join(BASE_DIR, 'templates'),],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
@ -13,15 +13,16 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.conf import settings
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
from django.conf.urls.static import static
|
||||
from django.urls import include
|
||||
|
||||
urlpatterns = [
|
||||
path('markt/', include('markt.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
|
||||
from django.views.generic import RedirectView
|
||||
|
Reference in New Issue
Block a user