Skip to main content

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

  1. Install app
pip install -U dj_sinp_nomenclatures
  1. Configure INSTALLED_APPS:
INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    (...),
    'rest_framework',
    'sinp_nomenclatures',
    (...),
)
  1. Configure urls.py:
urlpatterns = [
    path('admin/', admin.site.urls),
    path('api-auth/', include('rest_framework.urls')),
    (...),
    path('api/v1/', include('sinp_nomenclatures.urls')),
    (...),
]
  1. Run python manage.py migrate to create the polls models.
  2. 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.
  3. Start the development server and visit http://127.0.0.1:8000/admin/ to create an nomenclatures (you'll need the Admin app enabled).

models

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dj_sinp_nomenclatures-1.3.0.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

dj_sinp_nomenclatures-1.3.0-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file dj_sinp_nomenclatures-1.3.0.tar.gz.

File metadata

  • Download URL: dj_sinp_nomenclatures-1.3.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.7 Linux/6.5.0-1025-azure

File hashes

Hashes for dj_sinp_nomenclatures-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2d5b3c2f31c714147e38ad28e0949d4d1fd8f9f24d16b293cd240f601b3ec79f
MD5 d0f7f46b400253b36daeaec69c44f820
BLAKE2b-256 84dc0824dee60a0740079ff644c03d9be53a1a93b6a60f78eb0875935a279cc7

See more details on using hashes here.

File details

Details for the file dj_sinp_nomenclatures-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dj_sinp_nomenclatures-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b1715d0ef33b2ec14d52fedf4382e4ac9f46e5ff85cce2ea8800e8b7244021a
MD5 13d020e6d329efa80abd0a5dea74f6d7
BLAKE2b-256 98a45d35bcfa1ab316b7927e54c99a3292f88a794ff148ac98d74d06cc80e338

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page