Pratyush Desai 2fbf160920
Fix thumbnails
Repaired media upload thumbnails giving 404

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-04-21 00:32:49 +05:30

11 lines
369 B
Python

from django.conf import settings
from django.conf.urls.static import static
from django.urls import path
from . import views
urlpatterns = [
path('', views.home, name='home'),
path('games/', views.games, name='games'),
path('games/<str:game_name>/', views.game_detail, name='game_detail'),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)