This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Patch the creation of database migrations in Django | |
Import this early from `__init__.py``. | |
- Don't want verbose_name changes in the migrations file. | |
- Don't want help_text in the migrations file. | |
""" | |
from functools import wraps | |
from django.db.models import Field |