Skip to main content

Django Simple Starter CLI - Scaffold Django projects quickly

Project description

Django Simple Starter

Django Simple Starter (dss) is a CLI tool to quickly scaffold Django projects with your preferred setup.

Quick Start

pip install django-simple-starter
dss myproject

What it creates

  • Django project with settings module (common, development, preprod, production)
  • Custom User model with UserManager
  • BaseModel with UUID primary key
  • env.example and requirements.txt
  • .gitignore

Default Packages

  • Django>=5.2,<6.0
  • djangorestframework>=3.17
  • django-cors-headers>=4.9
  • python-decouple>=3.8
  • psycopg2-binary>=2.9
  • django-phonenumber-field>=8.4
  • Pillow>=11
  • django-redis>=5.0

Usage

# Create a new project
dss myproject
cd myproject

# Copy env file and set up
cp src/.env.example src/.env

# Set up virtual environment
python -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Run migrations
python src/manage.py migrate

# Run server
python src/manage.py runserver

License

MIT

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

django_simple_starter-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_simple_starter-0.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file django_simple_starter-0.2.0.tar.gz.

File metadata

  • Download URL: django_simple_starter-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for django_simple_starter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 17bd28cc4274f4b95deb3af9ca96fc84be78b788c08c8af0fbf65dcd677006fc
MD5 dfad0c790338c04171b2cdfce14342d6
BLAKE2b-256 e972a593f323d0cbaada9803af6aa89ca161a6999d6a7cd5b38dc4001fcf823a

See more details on using hashes here.

File details

Details for the file django_simple_starter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_simple_starter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfe7b3b11069abedeba7edb0eccd6aef848e5cb7cc22ee597faa5252229da81c
MD5 0d8582da1135db329987d297143a42ed
BLAKE2b-256 b5f1392b10e41ef794e1c05ad12b2d7a1494751a1733a9d99c9f5bfef0646a8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page