Move your model's verbose name and help_text to database comments
Move your model’s verbose name and help_text to database comments:
The full documentation is at https://django-db-comments.readthedocs.io.
Install Django Db Comments:
pip install django-db-comments
Add it to your INSTALLED_APPS:
INSTALLED_APPS = ( ... 'django_db_comments', ... )
Copy verbose_name and help_text to columns in DB, currently: Postgres.
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package:
Skip proxy, abstract and not managed model. (Issue #11 by @xjlin0)
Update meta information in setup.py.
Add comments to tables based on verbose_name of model. (PR #5 by @ssatoh17)
Add psqlextra.backend to ALLOWED_ENGINES. (PR #4 by @shuribuzz)
Fix case, when help_text or verbose_name use ugettext_lazy from django. (PR #1 by @ErhoSen)
First release on PyPI.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for django_db_comments-0.4.0-py2.py3-none-any.whl