I am trying to implement a custom admin command. The class is located at 
mt_project/my_app/management/command/my_command
and looks like this:

 

class Command(BaseCommand):

help = 'This is my command'


def handle(self, *args, **options):

...



My app is included in Installed_apps. I think I've covered all documented 
requirements yet; the command is just NOT available. manage.py tells me it 
is un "Unknown command"

What am I doing wrong?

Thanks a lot in advanced!

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f77931ca-39f6-4678-8670-316fc0f2e0a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to