Skip to content

Basic tools to manage a django application outside of a Django project

License

Notifications You must be signed in to change notification settings

raratiru/django-devapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django DevApp

Basic tools to manage a django application outside of a Django project.

Inspired from:

Depends on:

* black
* build
* click
* django
* ipython
* twine

Help

$ dev --help
Usage: dev [OPTIONS]

Options:
  -a       Create Application
  -b       Run Black  [default: black]
  -bb      Build Application
  -m       Make Migrations
  -M       Migrate
  -n TEXT  The name of the application or DEVAPP_NAME env variable.
           [required]
  -pp      Upload to Pypi
  -s       Run Django Shell
  --help   Show this message and exit.

Example

$ tree
.
├── LICENSE
├── pyproject.toml
├── README.md
└── setup.cfg

$ export DEVAPP_NAME=app
$ dev -a

$ tree
.
├── db.sqlite3
├── LICENSE
├── pyproject.toml
├── app
│   ├── admin.py
│   ├── apps.py
│   ├── __init__.py
│   ├── migrations
│   │   └── __init__.py
│   ├── models.py
│   ├── tests.py
│   └── views.py
├── README.md
└── setup.cfg

About

Basic tools to manage a django application outside of a Django project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages