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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35d7cd866d5078ff4c67b2711356dbc1cb9d7c39df3e7eb55e2c6e5099678c2 |
|
MD5 | 5d915fe7ed9873e2581ba2491a3dc54c |
|
BLAKE2b-256 | de7ac3228d9628e8956f07352e80efe1ca3f15239f2c5dc3572d8567ea7ac6ca |
Close
Hashes for dj_sinp_nomenclatures-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 375d215dbc77d5557bc0b9c45ca1e563b24f7fb07580f051579d79a3557dcd65 |
|
MD5 | 545cf881e7a79842391c741aaefbe12a |
|
BLAKE2b-256 | 6d25ef50799cc624b216d6d01e86ce109a47e3593d4ccb80b753f2a39d7194c5 |