Skip to main content

Django app to manage french SINP organisms standard

Project description

SINP Organisms for Django

DjangoSinpOrganisms is a simple Django reusable app to manage French SINP Organisms, respecting standard.

See docs for more details : https://dbchiro.github.io/DjangoSinpOrganisms/

Quick start

  1. Install app
pip install -U dj-sinp-organisms
  1. Configure INSTALLED_APPS:
INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    (...),
    'rest_framework',
    'sinp_nomenclatures',
    'sinp_organisms',
    (...),
)
  1. Configure urls.py:
urlpatterns = [
    path('admin/', admin.site.urls),
    path('api-auth/', include('rest_framework.urls')),
    (...),
    path('api/v1/', include('sinp_nomenclatures.urls')),
    path('api/v1/', include('sinp_organisms.urls')),
    (...),
]
  1. Run python manage.py migrate to create the polls models.
  2. Start the development server and visit http://127.0.0.1:8000/admin/ to create an organism (you'll need the Admin app enabled).
  3. Visit http://127.0.0.1:8000/api/v1/organisms to view organisms API.

Database models

models.png

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_organisms-1.4.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

dj_sinp_organisms-1.4.2-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file dj_sinp_organisms-1.4.2.tar.gz.

File metadata

  • Download URL: dj_sinp_organisms-1.4.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.7 Linux/6.11.0-1012-azure

File hashes

Hashes for dj_sinp_organisms-1.4.2.tar.gz
Algorithm Hash digest
SHA256 73b553d3687d5b9eb047c4680004c0823e918a126ba1edbbe23854e5ab2516c6
MD5 775c44a995ecf67360b8ef5b04f57cd4
BLAKE2b-256 aaeebc41be2e550f2e37a3e553b0f306645984fd6c27c47f933375868f914ce8

See more details on using hashes here.

File details

Details for the file dj_sinp_organisms-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: dj_sinp_organisms-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.7 Linux/6.11.0-1012-azure

File hashes

Hashes for dj_sinp_organisms-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 46c85ad4ab8be45781145814e4296d3b752a823e61815d0052a483c5b443be71
MD5 548526d04eea2b52bc12f6e2d0fbef38
BLAKE2b-256 51236332563ac930f6752378a07b5a1057944caebc0a05d2b09ce0a3050d9953

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