#23582: Django 1.7 initial data can't relies on other apps one.
-------------------------------------+-------------------------------------
Reporter: Nicals | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.7
Component: Documentation | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: initial | Needs documentation: 0
data,migrations | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by maximvl):
Hi Nicals, I have exactly same problem. My custom data depends on
permissions which created on post migrate hook. The obvious solution is to
have some kind of sort, dispatch_uid for example, of receivers in
dispatch/dispatcher.py class Signal, method send. When you can check
signals you want to rely on and choose appropriate dispatch_uid for your
own connections.
What do you think?
--
Ticket URL: <https://code.djangoproject.com/ticket/23582#comment:2>
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/064.5d26e18c48b90f2fb3cd88f24fdafb2f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.