from django.urls import path
from django.conf import settings
from django.conf.urls.static import static

from . import views

app_name = "school_management_main"

urlpatterns = [
    path("", views.index, name="index"),
    path('about/', views.about, name="about"),
    path('teachers/', views.teachers, name="teachers"),
    path('teachers/<int:id>/', views.teacher, name="teacher"),
    path('students/', views.students, name="students"),
    path('notices/', views.notices, name="notices"),
    path('routines/', views.routines, name="routines"),
    path('syllabus/', views.syllabus, name="syllabus"),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
