Django app to manage french SINP organisms standard
Project description
SINP Organisms for Django
DjangoSinpOrganisms is a simple Django reusable app to manage French SINP Organisms, respecting standard.
See docs for more details : https://dbchiro.github.io/DjangoSinpOrganisms/
Quick start
- Install app
pip install -U dj-sinp-organisms
- Configure
INSTALLED_APPS
:
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
(...),
'rest_framework',
'sinp_nomenclatures',
'sinp_organisms',
(...),
)
- Configure
urls.py
:
urlpatterns = [
path('admin/', admin.site.urls),
path('api-auth/', include('rest_framework.urls')),
(...),
path('api/v1/', include('sinp_nomenclatures.urls')),
path('api/v1/', include('sinp_organisms.urls')),
(...),
]
- Run
python manage.py migrate
to create the polls models. - Start the development server and visit http://127.0.0.1:8000/admin/ to create an organism (you'll need the Admin app enabled).
- Visit http://127.0.0.1:8000/api/v1/organisms to view organisms API.
Database models
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dj_sinp_organisms-1.4.0.tar.gz
.
File metadata
- Download URL: dj_sinp_organisms-1.4.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec06765a7d8ecfcf4e855a7a3fd7b5a6c919e721c3ad5f6df1e38e5a1599f6d |
|
MD5 | 9bcf293cac8db3a1f61f14e02a8394ed |
|
BLAKE2b-256 | d499b5908af66086eead62b360968fbba94c606f7f283bb777f0fe37fad9033d |
File details
Details for the file dj_sinp_organisms-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: dj_sinp_organisms-1.4.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9768eeb828115a9bb1a692eff1036967aab7cdd7de02972164a0874bbb721c1 |
|
MD5 | 1cb55534ac17efd68ee767c3454bc32c |
|
BLAKE2b-256 | 472c168dceda860ef587401190dd961b17f286452aca1471fc37a3d49ab17a99 |