- Check the demo repo on GitHub
- Python 3.10-3.14 supported.
- Django 4.2 and 5.2 LTS supported.
- Install from pip:
pip install django-service
- Modify
settings.pyby adding the app toINSTALLED_APPS:INSTALLED_APPS = ( # ... "services", # ... )
- Finally, modify your project
urls.pywith handlers for all errors:# ...other imports... urlpatterns = [ # ...other urls... ]
- Execute Django's command
migrateinside your project's root:python manage.py migrate Running migrations: Applying services.0001_initial... OK
git clone --depth=50 --branch=django-service https://github.com/DLRSP/example.git DLRSP/example
cd DLRSP/example
python manage.py runserverNow browser the app @ http://127.0.0.1:8000