Skip to main content

Change django endpoints' functionality with no hot reload.

Project description

✨ django-no-hot-reload-mod ✨

Effortlessly modify Django endpoint functionality without restarting the server.

django-no-hot-reload-mod on PyPI


Installation

Run the following command to install the package:

pip install django-no-hot-reload-mod

Overview

django-no-hot-reload-mod enables real-time modifications to Django endpoints without needing to restart the development server. This is perfect for rapid development and testing, allowing you to make frequent changes on the fly.


Setup Instructions

1️⃣ Add to Installed Apps

In your settings.py file, add django_no_hot_reload_mod.code_modifier to the INSTALLED_APPS list:

INSTALLED_APPS = [
    # Other apps...
    'django_no_hot_reload_mod.src.code_modifier',
]

2️⃣ Update URL Configuration

In your urls.py file, include code_modifier in your project’s URL configuration:

from django.urls import path, include

urlpatterns = [
    # Other URL patterns...
    path("code_modifier/", include("django_no_hot_reload_mod.src.code_modifier.urls")),
]

️3️⃣ Create Dummy Apps and Views

To test the setup, create some dummy apps and views in your project.

4️⃣ Access the Feature

Once the above steps are complete, you can visit the following URL to access the functionality:

http://127.0.0.1:8000/code_modifier/code_mod/

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_no_hot_reload_mod-0.0.2.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

django_no_hot_reload_mod-0.0.2.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file django_no_hot_reload_mod-0.0.2.1.tar.gz.

File metadata

File hashes

Hashes for django_no_hot_reload_mod-0.0.2.1.tar.gz
Algorithm Hash digest
SHA256 62c8bb3ad3babafde870ecb5aad88dfbac84835eee3076f6d4fb7e1417c229a7
MD5 ac20962d6c53afcfa37e0aa737ded4f0
BLAKE2b-256 f2a522c388ff4c5d79f082822edd66b99c8649520691df48a954ee046fd489aa

See more details on using hashes here.

File details

Details for the file django_no_hot_reload_mod-0.0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_no_hot_reload_mod-0.0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e07ee443e1e2fb648f8ccc28d8819b6952ada672cd10ad18294a848961f425a8
MD5 1e1934576db41e58b3c37bbaf9944084
BLAKE2b-256 52d279080aa1188341338214f08810bbeba8023bb1fd6aab9f59cfd7da986d34

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