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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f366b606d4fb9f9ff72f7998a339ec7ee43cdd9d22b4d5db838429b1400ea83a |
|
MD5 | 6d8b0205116369d91d0737aa6a4022ff |
|
BLAKE2b-256 | 00ff572015801f425724671e92a56a99c76f7db7f1066505b38d17bc768214ba |
Close
Hashes for dj_sinp_nomenclatures-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f928cd0e8b5228cc7269abc1758fa4c7b037cdbf67ca78a957cfcf871d423916 |
|
MD5 | 09c41831f7a890f4c1f64b4a3ddbcc93 |
|
BLAKE2b-256 | 147be7c6365a7abac84ebe4fd4905ce00c81adcd2031a819fd983f2cc47935f3 |