Skip to main content

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

Project description

https://badge.fury.io/py/django-db-comments.svg https://travis-ci.org/vanadium23/django-db-comments.svg?branch=master https://codecov.io/gh/vanadium23/django-db-comments/branch/master/graph/badge.svg

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:

History

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

django-db-comments-0.2.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

django_db_comments-0.2.2-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-db-comments-0.2.2.tar.gz.

File metadata

  • Download URL: django-db-comments-0.2.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for django-db-comments-0.2.2.tar.gz
Algorithm Hash digest
SHA256 45229fa87b7fa241ba1aef7a04f54c5b704ffa8ad5d665a33108fe57749f470b
MD5 36a1264ca295f77a9e8d3c1afeb6223e
BLAKE2b-256 05924eae969b39e42a627689c70122ed43be81e3cec488ac95fdbe274123a5b3

See more details on using hashes here.

File details

Details for the file django_db_comments-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_db_comments-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0adebc23760b9be22e6d89bcde230e35376e41b2c4030fe750e537e94540008a
MD5 7690ae3f2b4356d903b9dddda8d01357
BLAKE2b-256 e9724d6de5827733d8982ea104d8502a09c07164655ce8a53b14637d4feff6de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page