Skip to content

Move your model's verbose name and help_text to database comments.

License

Notifications You must be signed in to change notification settings

vanadium23/django-db-comments

Folders and files

NameName
Last commit message
Last commit date
May 9, 2022
Sep 14, 2022
Apr 27, 2022
Apr 27, 2022
Apr 27, 2022
May 7, 2019
May 7, 2019
May 7, 2019
Apr 27, 2022
Oct 13, 2020
Apr 27, 2022
Apr 3, 2022
Apr 27, 2022
May 7, 2019
Apr 27, 2022
May 11, 2019
May 7, 2019
May 7, 2019
Apr 27, 2022
Apr 2, 2022
Apr 27, 2022
May 11, 2019
Apr 27, 2022
Apr 27, 2022
May 9, 2022

Repository files navigation

Django Db Comments

https://travis-ci.org/vanadium23/django-db-comments.svg?branch=master

Move your model's verbose name and help_text to database comments:

Add to INSTALLED_APPS and see description in database.

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: