Skip to main content

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

Metadata

Release files for djc 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djc 0.7.2
File Size Uploaded
djc-0.7.2.tar.gz 3.3 kB Details

Release files / djc-0.7.2.tar.gz

Download URL djc-0.7.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a004f93817f5e66d4b3ac0ad8b40221fbe49b125e16ab1c998811efef2ece22d
BLAKE2b-256 checksum
How to use checksums
fe32e1bc95f514ac11eb59f2ef440af4a52f2039181d0581c250bcf37471f6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.7.2 This release

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page