<reponame>erdnaxe/django-photologue<filename>example_project/example_project/urls.py
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path
from django.views.generic import TemplateView

urlpatterns = [path('admin/', admin.site.urls),
               path('photologue/', include('photologue.urls')),
               path('', TemplateView.as_view(template_name="homepage.html"), name='homepage'),
               ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path
from django.views.generic import TemplateView

urlpatterns = [path('admin/', admin.site.urls),
               path('photologue/', include('photologue.urls')),
               path('', TemplateView.as_view(template_name="homepage.html"), name='homepage'),
               ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)