Move your model's verbose name and help_text to database comments
Project description
Move your model’s verbose name and help_text to database comments:
Documentation
The full documentation is at https://django-db-comments.readthedocs.io.
Quickstart
Install Django Db Comments:
pip install django-db-comments
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_db_comments',
...
)
Features
Copy verbose_name and help_text to columns in DB, currently: Postgres.
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.4.0 (2022-04-02)
Skip proxy, abstract and not managed model. (Issue #11 by @xjlin0)
0.3.1 (2021-08-02)
Update meta information in setup.py.
0.3.0 (2021-08-02)
Add comments to tables based on verbose_name of model. (PR #5 by @ssatoh17)
0.2.2 (2019-05-19)
Add psqlextra.backend to ALLOWED_ENGINES. (PR #4 by @shuribuzz)
0.2.1 (2019-05-19)
Fix case, when help_text or verbose_name use ugettext_lazy from django. (PR #1 by @ErhoSen)
0.2.0 (2019-05-07)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-db-comments-0.4.0.tar.gz
.
File metadata
- Download URL: django-db-comments-0.4.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff06df092ebb79a11ff6173a8bfec4982c1da45a4e99dbf889349b88b5113e8 |
|
MD5 | 2cfd27cdeae51818439bc6af8fb7f1c4 |
|
BLAKE2b-256 | a86868fe4f8ebaef3a1dabdd7a4f74a662c8771d4b37646fec8081d7d197d26e |
File details
Details for the file django_db_comments-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_db_comments-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a0f7e7725611828dc167c1652687dc0c24a7219c3ebf3986d23cfdfc2785c2 |
|
MD5 | fc38631b476cb69ad9c0746cd4bfca22 |
|
BLAKE2b-256 | 21c869c62a7ce03223e9b693382c964dc2ab177eb510c0ac9e2e64ec0abca06a |