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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dj_sinp_organisms-1.3.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • 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_organisms-1.3.2.tar.gz
Algorithm Hash digest
SHA256 a45d4051469840fc11517af12520782a9a89e4da310eaa4051f0988e9ae33fb0
MD5 8466192f685fd2ce6f31b8d7d446a3dc
BLAKE2b-256 bca54e8c74f6bd6350e55afe7fd746fa0d29d2be261e214d4b4c13af8282d294

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dj_sinp_organisms-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • 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_organisms-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 289370241fb95dff1957767c15ba1fad72c58f33dcb35cb0da0fff688272210b
MD5 df10b4ab49c796e686d761a47a6284ca
BLAKE2b-256 2ad3e0f82b8ab15a695ecb2303d2f492ee1c568bfa47ee569d75b626e6e70d83

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