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

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:

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published