mirror of
https://github.com/Hopiu/wagtail-modeltranslation.git
synced 2026-05-10 08:14:53 +00:00
command New 'makemigrations' is a proxy for 'makemigrations_translation', it's role is only to override django's own command and skip any wagtailcore_page migrations caused by translation. Adding this to it's own submodule makes this override optional for the user. The original Django 'makemigrations' command is available by running 'makemigrations_original'
7 lines
243 B
Python
7 lines
243 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class MakemigrationsConfig(AppConfig):
|
|
name = 'wagtail_modeltranslation.makemigrations'
|
|
label = 'wagtail_modeltranslation_makemigrations'
|
|
verbose_name = "Wagtail Modeltranslation makemigrations"
|