<filename>board/urls.py
from django.urls import path
from . import views
from django.conf import settings
from django.conf.urls.static import static

app_name = "board"

urlpatterns = [
    path('', views.list, name="list"),
    path('post/', views.post, name="post"),
    path('delete/<int:board_id>/', views.delete, name='delete'),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)