How to create a new command in django-admin.py

2012-02-23 Thread Johan
Hi I know how to create a new command in manage.py, this link explains it nicely : https://docs.djangoproject.com/en/dev/howto/custom-management-commands/#command-objects . But how do I create new command which would be available in django- admin.py or in manage.py BUT without having to add the a

Re: How to create a new command in django-admin.py

2012-02-23 Thread Jani Tiainen
23.2.2012 15:22, Johan kirjoitti: Hi I know how to create a new command in manage.py, this link explains it nicely : https://docs.djangoproject.com/en/dev/howto/custom-management-commands/#command-objects . But how do I create new command which would be available in django- admin.py or in manag

Re: How to create a new command in django-admin.py

2012-02-23 Thread Tom Evans
On Thu, Feb 23, 2012 at 1:22 PM, Johan wrote: > Hi > > I know how to create a new command in manage.py, this link explains it > nicely : > https://docs.djangoproject.com/en/dev/howto/custom-management-commands/#command-objects > . But how do I create new command which would be available in django

Re: How to create a new command in django-admin.py

2012-02-23 Thread Johan
Nope there is not. I just thought it could be done as easily as for manage.py. Thanks On Feb 23, 4:13 pm, Jani Tiainen wrote: > 23.2.2012 15:22, Johan kirjoitti: > > > Hi > > > I know how to create a new command in manage.py, this link explains it > > nicely > > :https://docs.djangoproject.com/

Re: How to create a new command in django-admin.py

2012-02-23 Thread Johan
Well I can think of a whole lot of ways in which this can be done 'better' :) ... But, I don't have the time to change django atm so I will have to live with it :) ... Thanks for the help ... On Feb 23, 4:14 pm, Tom Evans wrote: > On Thu, Feb 23, 2012 at 1:22 PM, Johan wrote: > > Hi > > > I kno