2025-11-10 20:06:38 +03:00

18 lines
622 B
Python

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/<int:post_id>/', show_post, name='post'),
path('callback/', callback_request, name='callback'),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)