In the documentation, it is written that it can be used for writing custom Django-admin commands. But my question is why do we need to write custom Dj ...
In the documentation, it is written that it can be used for writing custom Django-admin commands. But my question is why do we need to write custom Dj ...
I have the follow structure. I am trying to run a whatsapp api and I have all my authentication data stored in a config.ini file. However, when I r ...
After filtering and updating I have to delete the objscts, How to solve the isuue, AttributeError: 'int' object has no attribute 'delete' My objec ...
I'm building a multi-tenant project with django-tenant. The issue I'm encountering is that "password" is not a valid flag option. gives error: ...
I am building a multi-tenant project using third-party package (django-tenants) which makes me derive the Tenant and Domain models from it's own class ...
Right now I have multiple management commands in my Django project. I would like to log something like [command_name] command started and [command_na ...
Is there anyway to create nested management commands in Django, similar to what the docker and kubectl have? For example, let's say I need to have the ...
I have a Django management command, which I pass like this: python manage.py tenant_command generate_weekly_invoice --start_date 2020-11-30 00:00:00 ...
I have a Django management command defined like this: I set the email content to be output to a file. When I run the management command, this is is ...
I'm working on a django app which is based on consuming an external ZeroMQ message queue - it listens to the queue all the time, processing the messag ...
My Django application called my_app pulls in a dependency called my_dependency. my_dependency declares a management command called useful_thing Is th ...
I'm just wondering what the correct syntax is for calling $ python manage.py migrate app_name --database db_name with the management.call_command() fu ...
I have made my custom management command called pytest_wrp So when I call python manage.py test This bit of code is called: class Command(test.Co ...
I need translation to be activated in all of my django management commands by default. Currently I'm putting this line of code in all my management co ...
I have a plugin (PodcastPlugin) that contains two ManyToManyField (podcasts and custom_podcasts). I want to create a Django command that creates a new ...
I am trying the execute a management command in Django that doesn't quite correctly import the modules. My project structure is as follows: File m ...
I was wondering why my scheduled posts were not working automatically in Wagtail, but I see in the documentation that a management command is needed t ...
I have written few django management commands that I want to run hourly, daily and weekly basis. I'm using Elastic Beanstalk and created a worker inst ...
I need to run a Custom Django Management Command (module named populate_db.py) included in a management/commands directory. It populates a database. ...
I'm trying to write a script for Custom Django Management Commands. The script is to create orders (a model) each with a random amount of servers betw ...