uspješna skripta, pokušaj rendera
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -69,7 +69,7 @@ ROOT_URLCONF = 'plovidba_projekt.urls'
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': [os.path.join(BASE_DIR, 'templates')],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
||||
@@ -15,8 +15,11 @@ Including another URLconf
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.urls import path, include
|
||||
from plovidba_aplikacija.views import home
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
path('api/', include('plovidba_aplikacija.urls')),
|
||||
path('', home, name='base'),
|
||||
]
|
||||
Reference in New Issue
Block a user