# SINP Organisms for Django
[DjangoSinpOrganisms](https://github.com/dbchiro/DjangoSinpOrganisms) is a simple [Django](https://www.djangoproject.com/) reusable app to manage [French SINP Organisms](http://standards-sinp.mnhn.fr/referentiel-des-organismes/), respecting standard.
See docs for more details : <https://dbchiro.github.io/DjangoSinpOrganisms/>
## Quick start
1. Install app
```bash
pip install -U dj-sinp-organisms
```
2. Configure `INSTALLED_APPS`:
```python
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
(...),
'rest_framework',
'sinp_nomenclatures',
'sinp_organisms',
(...),
)
```
3. Configure `urls.py`:
```python
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')),
(...),
]
```
4. Run `python manage.py migrate` to create the polls models.
5. Start the development server and visit <http://127.0.0.1:8000/admin/>
to create an organism (you'll need the Admin app enabled).
6. Visit <http://127.0.0.1:8000/api/v1/organisms> to view organisms API.
## Database models
![models.png](./docs/_static/models.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/dbchiro/DjangoSinpOrganisms",
"name": "dj_sinp_organisms",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": "SINP, Nomenclatures, Django, France, dbChiroWeb",
"author": "dbChiro project",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c3/73/9c9d752192f6dc38a7463aab5c8e10ca47e823614ebf8813190d818736eb/dj_sinp_organisms-1.3.0.tar.gz",
"platform": null,
"description": "# SINP Organisms for Django\n\n[DjangoSinpOrganisms](https://github.com/dbchiro/DjangoSinpOrganisms) is a simple [Django](https://www.djangoproject.com/) reusable app to manage [French SINP Organisms](http://standards-sinp.mnhn.fr/referentiel-des-organismes/), respecting standard.\n\nSee docs for more details : <https://dbchiro.github.io/DjangoSinpOrganisms/>\n\n## Quick start\n\n1. Install app\n\n```bash\npip install -U dj-sinp-organisms\n```\n\n2. Configure `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = (\n 'django.contrib.admin',\n 'django.contrib.auth',\n (...),\n 'rest_framework',\n 'sinp_nomenclatures',\n 'sinp_organisms',\n (...),\n)\n```\n\n3. Configure `urls.py`:\n\n```python\nurlpatterns = [\n path('admin/', admin.site.urls),\n path('api-auth/', include('rest_framework.urls')),\n (...),\n path('api/v1/', include('sinp_nomenclatures.urls')),\n path('api/v1/', include('sinp_organisms.urls')),\n (...),\n]\n```\n\n4. Run `python manage.py migrate` to create the polls models.\n5. Start the development server and visit <http://127.0.0.1:8000/admin/>\n to create an organism (you'll need the Admin app enabled).\n6. Visit <http://127.0.0.1:8000/api/v1/organisms> to view organisms API.\n\n## Database models\n\n![models.png](./docs/_static/models.png)\n",
"bugtrack_url": null,
"license": "AGPLv3",
"summary": "Django app to manage french SINP organisms standard",
"version": "1.3.0",
"project_urls": {
"Documentation": "https://dbchiro.github.io/DjangoSinpOrganisms/",
"Homepage": "https://github.com/dbchiro/DjangoSinpOrganisms",
"Repository": "https://github.com/dbchiro/DjangoSinpOrganisms"
},
"split_keywords": [
"sinp",
" nomenclatures",
" django",
" france",
" dbchiroweb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "99701d640948aeeff703e00ea147140fae095827466082e2b378048603c26e6e",
"md5": "5f76a3ac14342f7f52d7fd83e8ab5b1b",
"sha256": "8750317cf11e013b5874d83130d993bb08eca2eeb2a38f32ea1c96dbb62b768e"
},
"downloads": -1,
"filename": "dj_sinp_organisms-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5f76a3ac14342f7f52d7fd83e8ab5b1b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 1151588,
"upload_time": "2024-04-22T13:46:33",
"upload_time_iso_8601": "2024-04-22T13:46:33.266900Z",
"url": "https://files.pythonhosted.org/packages/99/70/1d640948aeeff703e00ea147140fae095827466082e2b378048603c26e6e/dj_sinp_organisms-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c3739c9d752192f6dc38a7463aab5c8e10ca47e823614ebf8813190d818736eb",
"md5": "de5be4591fd90563c948012a8f3cbd46",
"sha256": "3a144a2870f2d2673afd945b4dfb939664d02a5c7d8f1e67cb563c66e19dc1a1"
},
"downloads": -1,
"filename": "dj_sinp_organisms-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "de5be4591fd90563c948012a8f3cbd46",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 1106812,
"upload_time": "2024-04-22T13:46:35",
"upload_time_iso_8601": "2024-04-22T13:46:35.253107Z",
"url": "https://files.pythonhosted.org/packages/c3/73/9c9d752192f6dc38a7463aab5c8e10ca47e823614ebf8813190d818736eb/dj_sinp_organisms-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-22 13:46:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dbchiro",
"github_project": "DjangoSinpOrganisms",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dj_sinp_organisms"
}