https://github.com/dlrsp/django-service
https://github.com/dlrsp/django-service
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dlrsp/django-service
- Owner: DLRSP
- License: mit
- Created: 2024-11-24T17:12:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-04T21:25:27.000Z (over 1 year ago)
- Last Synced: 2025-07-30T20:07:41.664Z (11 months ago)
- Language: Python
- Size: 56.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# django-service [](https://pypi.python.org/pypi/django-service)
[](https://pypi.python.org/pypi/django-service)
[](https://pypi.python.org/pypi/django-service)
[](https://pypi.python.org/pypi/django-service)
[](https://pypi.python.org/pypi/django-service)
[](https://pypi.python.org/pypi/django-service)
[](https://pypi.python.org/pypi/django-service)
## GitHub  
## Test [](https://codecov.io/github/DLRSP/django-service?branch=main) [](https://results.pre-commit.ci/latest/github/DLRSP/django-service/main) [](https://github.com/DLRSP/django-service/actions/workflows/ci.yaml)
## Check Demo Project
- Check the demo repo on [GitHub](https://github.com/DLRSP/example/tree/django-service)
## Requirements
- Python 3.8+ supported.
- Django 4.2+ supported.
## Setup
1. Install from **pip**:
```shell
pip install django-services
```
2. Modify `settings.py` by adding the app to `INSTALLED_APPS`:
```python
INSTALLED_APPS = (
# ...
"services",
# ...
)
```
3. Finally, modify your project `urls.py` with handlers for all errors:
```python
# ...other imports...
urlpatterns = [
# ...other urls...
]
```
4. Execute Django's command `migrate` inside your project's root:
```shell
python manage.py migrate
Running migrations:
Applying services.0001_initial... OK
```
## Run Example Project
```shell
git clone --depth=50 --branch=django-services https://github.com/DLRSP/example.git DLRSP/example
cd DLRSP/example
python manage.py runserver
```
Now browser the app @ http://127.0.0.1:8000