Skip to main content

Command Line Interface for Django with Nifty Scripts

Project description

djc

  • Command Line Interface for Django with Nifty Scripts

usage

Install djc in the same environment as your Django project

create a new user

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.

run a file within the Django environment

djc run --filepath seed.py

or

djc run -f seed.py

makemigrations

djc makemigrations

run migrations

djc migrate

collect static files

This command automatically answers any questions with yes.

djc collectstatic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djc-0.7.2.tar.gz (3.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page