Skip to main content

⚡ One command Django project setup with DRF, CORS, dotenv & more

Project description

⚡ DjangoForge

One command. Full Django setup. Ready to code.

DjangoForge sets up a complete Django project in seconds — virtual environment, DRF, CORS, dotenv, .gitignore, requirements.txt, and a beautiful welcome page. All automatically.


🚀 Installation

pip install djangoforge

⚡ Usage

djangoforge myproject

That's it. One command.


✅ What gets created?

myproject/
├── venv/                  ← Virtual environment (auto-created)
├── myproject/
│   ├── settings.py        ← DRF + CORS + dotenv configured
│   ├── urls.py            ← Welcome page routed
│   └── welcome.py         ← DjangoForge branded welcome view
├── manage.py
├── .env                   ← Environment variables
├── .gitignore             ← Git ignore rules
└── requirements.txt       ← All dependencies

📦 Auto-installed packages

Package Purpose
Django Web framework
djangorestframework REST API support
django-cors-headers CORS configuration
python-dotenv .env file support

▶️ After setup

cd myproject

# Windows
venv\Scripts\activate

# Mac / Linux
source venv/bin/activate

python manage.py migrate
python manage.py runserver

Then open http://127.0.0.1:8000 — DjangoForge welcome page milega! 🎉


🛠️ settings.py auto-configuration

DjangoForge automatically adds:

  • rest_framework and corsheaders to INSTALLED_APPS
  • CorsMiddleware at top of MIDDLEWARE
  • REST_FRAMEWORK config
  • CORS_ALLOWED_ORIGINS for localhost:3000 and localhost:5173
  • load_dotenv() for .env support

Made with ❤️ by DjangoForge

djangoforge

dbcd5fc8ed90081457ad9ed6e3a1a5bc2fa3082f

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_forgekit-1.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

django_forgekit-1.0.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file django_forgekit-1.0.0.tar.gz.

File metadata

  • Download URL: django_forgekit-1.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for django_forgekit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 21793edf1c3f76058b5d91681f6ff0c236e59aa6db116762c42b65b804cad5ef
MD5 89005481eb7af6ab6c8fb59c63200da6
BLAKE2b-256 20208e205a7286c51277aee4110d2dd488d55478a60ed67e8e0d6fc338930c07

See more details on using hashes here.

File details

Details for the file django_forgekit-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_forgekit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4480cf9f7f87389f9cebb5046f4045c5050e60307730ebb1a35235df2847dbce
MD5 87850fc6c58a14d322f4dcfdc8ca020b
BLAKE2b-256 e7d60b431e1312b8123dbae5b4d973aac2c656d34d487f841f1c8366aa214a72

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