💻 Command Line Interface for Django with Nifty Scripts
Install djc in the same environment as your Django project
Setting safe to true, makes it so the command doesn't exit with an error code if the user already exists
djc create-user --username="daniel" --email="example@gmail.com" --password="password" --debug="true" --safe="true"
You can also run djc create-superuser
which takes the same flags and arguments.
djc run --filepath seed.py
or
djc run -f seed.py
djc makemigrations
djc migrate
This command automatically answers any questions with yes.
djc collectstatic