python - 如何在 django 中配置 urls.py 以重定向到另一个文件的 url?
问题描述
解决方案
只需这样做:
path('notes/', include('notes.urls'))
推荐阅读
- javascript - 如何使用Angular 8显示隐藏多个div
- visual-studio-code - 如何永久隐藏底部面板?
- php - 通过使用 CodeIgniter 和标头输出保存损坏的文件
- python - Keras 中是否有与 Caffe 中的 iter_size 等效?
- python - 问题:XLRDError:不支持的格式,或损坏的文件:预期的 BOF 记录;找到 b'
我使用 jupyter notebook 来练习喜欢的错误。以下是我的代码:
from __future__ import print_function import numpy as np import pandas as pd !pip install xlrd print('xlrd installed
- javascript - 如果在反应选择中选择了标签/值,如何过滤?
- r - 如何在R中的变量组合中获得分布
- php - 在 PHP 中提交表单后显示选项值
- rust - 枚举类型的自定义 serde 序列化
- php - 如何在 Docker 容器中安装 PHP 扩展