Re: Add admin.py if it is installed when you run startapp.

2011-01-02 Thread James Hancock
Ohh, I like that idea, so basically you mean a way to allow installed apps to have an effect on what startapp gives you initially. I really like that idea a lot. I am all about making things easier. While we are on the topic does anyone think that there is any other ways to make startapp be smarte

Re: Add admin.py if it is installed when you run startapp.

2011-01-02 Thread Russell Keith-Magee
On Sunday, January 2, 2011, James Hancock wrote: > Django-dev, > > I know this is probably just lasy, but can we have startapp check if admin is > installed and if it is, add an admin.py file? > > If it isn't safe to assume then I understand not doing it, but it seems that > if you have the admi

Add admin.py if it is installed when you run startapp.

2011-01-02 Thread James Hancock
Django-dev, I know this is probably just lasy, but can we have startapp check if admin is installed and if it is, add an admin.py file? If it isn't safe to assume then I understand not doing it, but it seems that if you have the admin installed and you create a new app you normally use admin.py s