Thanks a lot for your help Dylan,
Right after writing I noticed my mistake, I was naming the folder
my_app/management/command
I renamed it my_app/management/commands and voila!.
it worked like a charm.
Dtb/Gby
===
Mario R. Osorio
A.S. of Computer Programming and Analysis
Web page:
Is your my_command file named my_command.py?
how are you calling it `manage.py my_command`?
Dylan
On Sun, Oct 16, 2016 at 7:04 PM, Mario R. Osorio
wrote:
>
> By the way, there are *__init__.py* files in both
> my_project/my_app/management/
> and
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
>
3 matches
Mail list logo