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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c828e630d25e9aee00216d5c7166d1231899edab353af1f3455d3ab79cb02163 |
|
MD5 | 9f298e8c550ecdefa92ceaafb5ef25b9 |
|
BLAKE2b-256 | 8f6186f22fa4f80e42442a86942e5c8d75a2f285efa67d467af7b7bcfab71e0f |
Close
Hashes for dj_sinp_nomenclatures-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19fefa94971c85f0b9aff00a8745c6a8adaa3407dd7239bc0d3d67a4f7a3df53 |
|
MD5 | ad76f1f2a310384dc320af31fba1ded4 |
|
BLAKE2b-256 | 72ceb568da8685f7dec0f9cc2ee210a5624bdaff810d39f250eba2c5a3a28887 |