- Replace Element Plus components with pure HTML/CSS - Use inline styles for reliable rendering - Fix templates URL duplicate path issue - Insert template data (4 templates) via Django shell - Clear Vite cache and restart both servers
7 lines
212 B
Python
7 lines
212 B
Python
from django.urls import path
|
|
from .views import template_list, template_detail
|
|
|
|
urlpatterns = [
|
|
path('', template_list, name='template-list'),
|
|
path('<str:pk>/', template_detail, name='template-detail'),
|
|
] |