logo       

Re: Custom Manage.py Commands: msg#02232

DjangoUsers

Subject: Re: Custom Manage.py Commands


On Thu, 2009-07-30 at 17:18 -0700, mviamari wrote:
> I'm trying to create a custom manage.py command for my project. The
> example in the documentation only shows how to do this for custom
> commands inside of an app. Is it possible to do the same at the
> project level?

The concept doesn't particularly make sense, since Django is app-based.
"Projects" are a bit of a convenient way of grouping things, but they're
just a settings file, a root URL conf and some apps. Which is a way of
saying that isn't supported.

It's fairly logical, however, to create an app that only provides your
support for things like that this. Lots of people have apps that just
contain template tags or just contain templates or even management
commands. They don't need to contain models or anything like that.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
django-users+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise