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.1.2.tar.gz (6.7 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.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_simple_starter-0.1.2.tar.gz
  • Upload date:
  • Size: 6.7 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.1.2.tar.gz
Algorithm Hash digest
SHA256 c1d39104f9a5eaf44f70e30f8d6a2fcf8725ea4ba40ef4eff677a256a2e5ddce
MD5 8ee46a5d0db0c27eae8b831a2902f0e5
BLAKE2b-256 40aeb10c8301a52d9bff686256639d3cf9b81855ea853be0c54ed37602110645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_starter-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad6a60acb03967ca80d0a028f27aa3c301eafb343a98959e3b9c2ea61e90aff6
MD5 59e7046b9d124474dfb1394a6a4028d3
BLAKE2b-256 b3b8536295f4099884b0e8c662bc7d9ddb2959ca53c0ecde1cbaedc0af7c8b26

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