Skip to content

Command Line Interface for Django with Nifty Scripts

License

Notifications You must be signed in to change notification settings

DanielJDufour/djc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Command Line Interface for Django with Nifty Scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published