Django Library Mycreole
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

urls.py 434B

12345678910
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('attachment/<path:rel_path>', views.mycreole_attachment, name='mycreole-attachment'),
  5. path('upload/<path:rel_path>', views.mycreole_upload, name='mycreole-upload'),
  6. path('delete/<path:rel_path>', views.mycreole_delete, name='mycreole-delete'),
  7. path('manageuploads/<path:rel_path>', views.mycreole_manageuploads, name='mycreole-manageuploads'),
  8. ]