By the way, there are *__init__.py* files in 
both my_project/my_app/management/ and my_project/my_app/management/command 
folders ...


On Sunday, October 16, 2016 at 9:58:25 PM UTC-4, Mario R. Osorio wrote:
>
> 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/f679ba2c-cc77-41c6-a1b3-39e9482d5a61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to