没有合适的资源?快使用搜索试试~ 我知道了~
django-admin-extra-urls:单个mixin类可轻松在任何Django ModelAdmin相关页面上添加按钮
共64个文件
py:30个
html:14个
rst:5个
需积分: 9 1 下载量 113 浏览量
2021-05-21
02:15:26
上传
评论
收藏 116KB ZIP 举报
温馨提示
django-admin-extra-urls 可插拔的django应用程序,提供了一个单独的mixin类ExtraUrlMixin ,可轻松将新的url(以及屏幕上的相关按钮)添加到任何ModelAdmin。 action()装饰器它将在更改表单视图中产生一个按钮。 href()添加指向外部URL的按钮。 安装 pip install django - admin - extra - urls 安装后,将其添加到INSTALLED_APPS INSTALLED_APPS = ( ... ' admin_extra_urls ', ) 如何使用它 from admin_extra_urls import api as extras class MyModelModelAdmin ( extras . ExtraUrlMixin , admin . Model
资源推荐
资源详情
资源评论
收起资源包目录
django-admin-extra-urls-develop.zip (64个子文件)
django-admin-extra-urls-develop
.flake8 310B
.gitignore 66B
setup.cfg 839B
README.rst 8KB
tests
test_links.py 3KB
demoapp
demo
admin.py 3KB
models.py 477B
migrations
__init__.py 0B
0001_initial.py 1KB
settings.py 1KB
urls.py 237B
upload.py 2KB
__init__.py 0B
templates
admin_extra_urls
upload.html 822B
conftest.py 713B
manage.py 335B
test_confirm.py 971B
test_utils.py 580B
.coveragerc 649B
test_actions.py 2KB
test_upload.py 324B
docs
conf.py 8KB
image.png 73KB
index.rst 1KB
api.rst 178B
_ext
djangodocs.py 10KB
literals_to_xrefs.py 5KB
applyxrefs.py 2KB
changes.rst 176B
_static
rtd.css 15KB
howto.rst 631B
LICENSE 1KB
src
requirements
testing.pip 127B
develop.pip 63B
admin_extra_urls
extras.py 162B
api.py 167B
config.py 3KB
site.py 31B
mixins.py 6KB
templatetags
__init__.py 0B
extra_urls.py 921B
utils.py 2KB
__init__.py 82B
decorators.py 5KB
templates
admin_extra_urls
action_page.html 1KB
grappelli
change_list.html 775B
change_form.html 376B
includes
change_form_buttons.html 1KB
change_list_buttons.html 895B
change_list.html 308B
confirm.html 1KB
change_form.html 1KB
includes
change_form_buttons.html 378B
styles.html 417B
attrs.html 179B
button.html 359B
change_list_buttons.html 680B
MANIFEST.in 282B
CHANGES 4KB
.isort.cfg 362B
setup.py 3KB
.travis.yml 327B
tox.ini 970B
Makefile 646B
共 64 条
- 1
资源评论
莊謙
- 粉丝: 22
- 资源: 4629
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功