#23599: Default application used in startapp has an empty migration package
-------------------------+-------------------------------------------------
Reporter: yakky | Owner: nobody
Type: Bug | Status: new
Component: | Version: 1.7
Migrations | Keywords: migrations, dependencies, template
Severity: Normal | application
Triage Stage: | Has patch: 0
Unreviewed | UI/UX: 0
Easy pickings: 0 |
-------------------------+-------------------------------------------------
Default application used in startapp has an empty migration package, which
results in the MigrationLoader treating it as an application which has
migrations
(https://github.com/django/django/blob/stable/1.7.x/django/db/migrations/loader.py#L72).
This may trigger errors when trying to resolve model dependencies: say for
example in a newly created application with a custom user model and an
existing application which uses the custom user model and that already has
migrations.
For a real case of this happening: https://github.com/divio/django-
cms/issues/3436#issuecomment-55913624
Any specific reason for shipping the migration directory in the template
application?
--
Ticket URL: <https://code.djangoproject.com/ticket/23599>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.22053579a211c420f57ea6a9e15e76fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.