django-json-widget:另一种可轻松编辑新Django字段JSONField(PostgreSQL特定模型字段)的小部件

时间:2021-05-10 12:31:39
【文件属性】:
文件名称:django-json-widget:另一种可轻松编辑新Django字段JSONField(PostgreSQL特定模型字段)的小部件
文件大小:334KB
文件格式:ZIP
更新时间:2021-05-10 12:31:39
Python django-json-widget 另一种可轻松编辑新Django字段JSONField(PostgreSQL特定模型字段)的小部件 快速开始 安装django-json-widget: pip install django-json-widget 将其添加到您的INSTALLED_APPS: INSTALLED_APPS = ( ... ' django_json_widget ', ... ) 在您的admin.py中添加小部件: from django . contrib import admin # from django.contrib.postgres import fields # if django < 3.1 from django . db import models from django_json_widget . widget
【文件预览】:
django-json-widget-master
----MANIFEST.in(186B)
----README.rst(3KB)
----CONTRIBUTING.rst(3KB)
----.github()
--------ISSUE_TEMPLATE.md(347B)
----imgs()
--------jsonfield_1.png(37KB)
--------jsonfield_0.png(45KB)
----django_json_widget()
--------apps.py(129B)
--------urls.py(24B)
--------__init__.py(22B)
--------models.py(24B)
--------views.py(0B)
--------templates()
--------widgets.py(1KB)
--------static()
----manage.py(329B)
----CHANGELOG.rst(711B)
----HISTORY.rst(97B)
----requirements.txt(125B)
----requirements_test.txt(51B)
----AUTHORS.rst(454B)
----.travis.yml(2KB)
----tox.ini(464B)
----example()
--------manage.py(627B)
--------requirements.txt(85B)
--------characters()
--------example()
--------README.md(628B)
--------templates()
----LICENSE(1KB)
----requirements_dev.txt(118B)
----setup.cfg(299B)
----setup.py(3KB)
----Makefile(2KB)
----.editorconfig(331B)
----tests()
--------settings.py(606B)
--------__init__.py(0B)
--------test_models.py(330B)
----.gitignore(504B)
----runtests.py(575B)
----.coveragerc(146B)

网友评论