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.4.3.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dj_sinp_nomenclatures-1.4.3-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dj_sinp_nomenclatures-1.4.3.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.11 Linux/6.11.0-1018-azure

File hashes

Hashes for dj_sinp_nomenclatures-1.4.3.tar.gz
Algorithm Hash digest
SHA256 9aac3a4a9b7f6a096e491a77822bebf1cbfe82b9f6ced63e2771f8759cb0415a
MD5 2f200678a29d2b8a753dc17ab035d08b
BLAKE2b-256 7ba1df3f78ad8ea0868e8eb772cf18b7cb4012c2b89dd854abef3eacb37adbc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dj_sinp_nomenclatures-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.11 Linux/6.11.0-1018-azure

File hashes

Hashes for dj_sinp_nomenclatures-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 61525806265af0c5a190d05efe3118217d3005d6eebe6292d6ce579f2e017f79
MD5 706207d37cfc388c5064b80e1a7b69df
BLAKE2b-256 c6dfde7012f510b823c2da916084ff5f2d2ef3ea7d3427a9c3d9d62005ba1073

See more details on using hashes here.

Supported by

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