upload_file.html 936 B

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <div>
  4. <form method="post" enctype="multipart/form-data" action=".">
  5. {% csrf_token %}
  6. <!-- 用户名 -->
  7. <div>
  8. <label for="username">用户名</label>
  9. <input type="text" id="username" name="username">
  10. </div>
  11. <!-- 昵称 -->
  12. <div>
  13. <label for="father_folder_id">father_folder_id</label>
  14. <input type="text" id="father_folder_id" name="father_folder_id">
  15. </div>
  16. <div>
  17. <input type="file" name="file">
  18. </div>
  19. <div>
  20. <label for="token">token</label>
  21. <input type="text" id="token" name="token">
  22. </div>
  23. <!-- 提交按钮 -->
  24. <button type="submit" class="btn btn-success btn-block">提交</button>
  25. </form>
  26. </div>
  27. </html>