#24052: Document how to use models from other apps in RunPython
--------------------------------------+------------------------------------
Reporter: aaugustin | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by iambibhas):
I recently faced this when migrating a model which had an FK to a custom
user model. The custom user model was added in the migration 0002 of my
accounts app. I had to manually add `0002_migration_name` to the
dependency list for the migration to work, otherwise it'd just complain
that it can't find the custom user model. The user models migration was
not added to the dependency list automatically. I'll check if I can
reproduce this. This happened during the migration that was reported in
#24037.
--
Ticket URL: <https://code.djangoproject.com/ticket/24052#comment:4>
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/067.0f8c4bba7496e83ca9ca79432290b2da%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.