Skip to content

dbchiro/DjangoSinpMetadata

Repository files navigation

DjSinpMetadata

Django app to manage french SINP metadata

Detailed documentation is in the "docs" directory.

Quick start

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

About

Simple django app to manage french SINP metadata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages