加入「拾味」:影评 / 读书随感
- 新增 reflections 应用:Work / WorkImage / Reflection 及迁移 - 条目分类(电影/书籍/其他),图片墙与随感时间线 - 浏览公开;新建、上传、写随感复用拾匣密码解锁 - 抽出 cabinet/access.py 共享解锁状态 - 首页新增「拾味」入口
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = "reflections"
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.index, name="index"),
|
||||
path("create/", views.create_work, name="create"),
|
||||
path("<int:work_id>/", views.detail, name="detail"),
|
||||
path("<int:work_id>/reflections/create/", views.create_reflection, name="create_reflection"),
|
||||
path("reflections/<int:reflection_id>/delete/", views.delete_reflection, name="delete_reflection"),
|
||||
path("<int:work_id>/images/upload/", views.upload_images, name="upload_images"),
|
||||
path("images/<int:image_id>/delete/", views.delete_image, name="delete_image"),
|
||||
]
|
||||
Reference in New Issue
Block a user