Add gallery app
This commit is contained in:
parent
8da43addb9
commit
1bcf7ceba3
10 changed files with 36 additions and 1 deletions
|
@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'gallery'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
|
@ -15,8 +15,9 @@ 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 include, path
|
||||
|
||||
urlpatterns = [
|
||||
path("gallery/", include("gallery.urls")),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue