Django app to manage french SINP nomenclatures standards
Project description
SINP Organisms for Django
DjangoSinpNomenclature is a simple Django reusable app to manage nomenclatures of the French SINP standards for species data and metadata exchange, respecting standard.
See docs for more details : https://dbchiro.github.io/DjangoSinpNomenclature/
Quick start
- Install app
pip install -U dj_sinp_nomenclatures
- Configure
INSTALLED_APPS
:
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
(...),
'rest_framework',
'sinp_nomenclatures',
(...),
)
- Configure
urls.py
:
urlpatterns = [
path('admin/', admin.site.urls),
path('api-auth/', include('rest_framework.urls')),
(...),
path('api/v1/', include('sinp_nomenclatures.urls')),
(...),
]
- Run
python manage.py migrate
to create the polls models. - Run
python manage.py loaddata <path to venv>/lib/<python version>/site-packages/sinp_nomenclatures/fixtures/sinp_dict_data_v1.0.json
to load official nomenclatures. - Start the development server and visit http://127.0.0.1:8000/admin/ to create an nomenclatures (you'll need the Admin app enabled).
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_nomenclatures-1.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1c3961d87d81ba0a49119db729b251c6722dbae70fc7eedfccb8286590a01f |
|
MD5 | de206f7eac4167bc82913e9705a0dc2a |
|
BLAKE2b-256 | 07adab9496b0031ff320b8a3cb0a0965daabb2e048eb1b2d8f5645dc53754af8 |
Close
Hashes for dj_sinp_nomenclatures-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a7dabc4bb95eef339aa42e84ca3776abc49501b87662f4eff2ffde6c5392d58 |
|
MD5 | 9ef0c9b5acee3113299e55e7c6b1a5f2 |
|
BLAKE2b-256 | d6db5524418eea3fe5c3e50e08358d32b8ac711c402b84c381f3876acd85cce9 |