Skip to main content

Quick Django Dev Server shortcut using your IP and port 8000

Project description

qdds

Quick Django Dev Server — start your local Django project with your IP exposed for LAN testing.

PyPI version Python 3.8+ GitHub issues Updates badger approved


🚀 What is qdds?

qdds (devserver) is a small CLI tool that runs your Django project's dev server using your local network IP, making it accessible to other devices on your Wi-Fi. Great for testing on mobile or with a team.

By default, it runs on port 80, so other devices on your network can just enter your IP address (like http://192.168.1.50) without needing a port number. 🔥

If that fails due to permissions or port binding restrictions, you can pass --safe to fall back to Django's default port 8000.


🛠 Installation

pip install qdds

📦 Usage

Inside your Django project folder (where manage.py lives):

devserver

This runs:

python manage.py runserver 0.0.0.0:80

That means devices on your Wi-Fi can hit http://<your-ip> with no port required.

If you get a permission error or want to play it safe:

devserver --safe

This runs it on port 8000, just like Django normally would.


🔧 Options

  • --safe — Run on port 8000 instead of 80 (for systems that restrict port binding).
  • --regular — Skip IP detection and just run on localhost (Django default behavior).

🧪 Development

Clone and install in editable mode:

git clone https://github.com/benmcnelly/qdds.git
cd qdds
pip install -e .

Run tests:

pytest

💬 Why qdds?

Sometimes you just want to fire up Django on your LAN, show a teammate something on their phone, or test a layout in mobile Safari without thinking. qdds makes that effortless.


📝 License

MIT © Ben McNelly

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

qdds-1.2.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

qdds-1.2.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file qdds-1.2.1.tar.gz.

File metadata

  • Download URL: qdds-1.2.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for qdds-1.2.1.tar.gz
Algorithm Hash digest
SHA256 a1b0a9f1df1376a1156982f4877e40401ea42d92a8cb6700e4920c2e48bd5ddb
MD5 a100d434cf5dd539961ccf12225cccd9
BLAKE2b-256 0ffb17684b1c5f1492338a54612be45765cf66fc79a73f8676ddae1a9dc40a8e

See more details on using hashes here.

File details

Details for the file qdds-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: qdds-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for qdds-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e944572db6474ede9d58e57f810d9cae6ad2e73a7447570b99789b3f0ceaa25
MD5 e9139ab0c1d4dc3b254f58a9e6d7377e
BLAKE2b-256 be4e5a8a47ec899f63cc26318ddedc9a3412de3fc8a833edca543994bf191dd0

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