Ok, I will. Thanks :-) W dniu 21 stycznia 2010 22:41 użytkownik Matt Schinckel <[email protected]> napisał: > On Jan 22, 12:00 am, Filip Gruszczyński <[email protected]> wrote: >> I would like to go through all registered apps before server is >> started and check if certain modules (and then process them). I guess >> this mechanism is similar to the one, which looks for models or tests >> in django application. Is there any easy way to do this and where >> should inject such code? Into manage.py? > > This is the registration pattern, used by django.contrib.admin > > Look through the source of django.contrib.admin, and pay attention to > the autoregister() function. > > Matt. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > >
-- Filip Gruszczyński -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

