from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static from .views import * urlpatterns = [ path('', index, name='home'), path('about/', about, name='about'), path('solutions/', solution, name='solution'), path('competence/', ability, name='ability'), path('recall/', recall, name='recall'), path('post//', show_post, name='post'), path('callback/', callback_request, name='callback'), path('admin/statistics/', statistics_view, name='statistics'), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)