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.1 (2022-04-03)
Bugfix for models detection and more unit tests. (PR #13)
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
Hashes for django_db_comments-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b8de7ea89d6a495e9fe99267eb6be2fb1139325c2ab02dff12e872ed49ee86 |
|
MD5 | 449ac8692351fd4e22003bdb7d11d360 |
|
BLAKE2b-256 | fe9dae605e031f5a8f7503e8f53e7e736eed00dc95227d76a8972a0160ec9f6d |