Using django-modeltranslation with Django built-in models

44 views
Skip to first unread message

Uri Even-Chen

unread,
Dec 29, 2016, 8:17:33 AM12/29/16
to django-modeltranslation
Hi,

with django-modeltranslation you can add translations to any model, even if it's built-in in Django, but the problem is that migrations are being created in site-packages, outside our git repo, and this would cause issues upgrading Django itself.

(speedy_net)net$ ./manage.py makemigrations
Migrations for 'sites':
  /Users/xtr/.virtualenvs/speedy_net/lib/python3.5/site-packages/django/contrib/sites/migrations/0003_auto_20161229_1018.py:
    - Change managers on site
    - Add field name_en to site
    - Add field name_he to site

Is there a way to move the migrations to inside our git repo?

Thanks,
Uri.
Reply all
Reply to author
Forward
0 new messages