sorio
> wrote:
>
>>
>> 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:
>>&
mand 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:
>>
>>
&
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 loca
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_app
4 matches
Mail list logo