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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ee904ca007e4e8e608c5ee9e330932bd759fa777ea7a7194f0aa148750f338 |
|
MD5 | 5c0b359ccccc1e80b3efe5ff6c4e7e8b |
|
BLAKE2b-256 | 48a2b1bed7e3b502c1040b071658bc5d64d9494f6e5fb8ab89816bfb1db2af4f |
Close
Hashes for dj_sinp_nomenclatures-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9296f6ab50a4c43465a6d48576cc7f7dfa9dae2addf77395addd963c65bc2161 |
|
MD5 | a10c11d4a470a35bc88cd7da2f9d1aae |
|
BLAKE2b-256 | 06d2c5d018c1565aa47de3f0c5bdd9041ba5da1ba613aa413111ab7eed00fdeb |