On Sun, Jun 22, 2014 at 5:35 AM, Rafał Pitoń <rafio.x...@gmail.com> wrote:

> Hello,
>
> In my app I am using custom user model with my own createsuperuser command.
>
> However after updating my dev to Django 1.7 I've realized that behaviour
> of commands discoverer was changed from "last one wins", to
> "first_one_wins" so first command discovered is preffered instead.
>
> I've fixed this temporarily by moving my app above contrib.auth in
> INSTALLED_APPS, but this seems hacky to me.
>
> Is there other way to override management commands?
>

No - there isn't; INSTALLED_APPS order is the only control you have over
this process.

The change in management command order was necessary to make behaviour
consistent with other parts of the system (e.g., template loaders).

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJxq84-%2BDRMJsF6Ezq8x_VNdDa_YPd3W2dyX03XgyL5mBCYo_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to