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
Close
Hashes for dj_sinp_organisms-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8750317cf11e013b5874d83130d993bb08eca2eeb2a38f32ea1c96dbb62b768e |
|
MD5 | 5f76a3ac14342f7f52d7fd83e8ab5b1b |
|
BLAKE2b-256 | 99701d640948aeeff703e00ea147140fae095827466082e2b378048603c26e6e |