Skip to main content

A Django app to search and view data from an API.

Project description

django-ndr-core

django-ndr-core is a mini CMS but most of all an access point to research data over apis. NDR Core helps you create a project website and present your data. It lets you create pages and add content to them. It also lets you create and manage your own data access points over different APIs and lets you configure how to present the data and how to make it searchable.

PyPI version Docker Image CI License: MIT

Get Started

settings.py

Open <project_name>/settings.py and add the ndr_core module and its dependencies to INSTALLED_APPS: (Leave the existing settings in place).

import os
from ndr_core.ndr_settings import *

[...]

INSTALLED_APPS = [
    [...]
]
INSTALLED_APPS += NdrSettings.get_installed_apps()

urls.py

Open <project_name>/urls.py and add the ndr_core module and its dependencies to INSTALLED_APPS: (Leave the existing settings in place).

from ndr_core.ndr_settings import NdrSettings

[...]

urlpatterns = [
   [...]
]
urlpatterns += NdrSettings.get_urls()

Migrate the database

After you have added the django-ndr-core module and its dependencies to your settings and urls, you can migrate your installation again to create the necessary database tables for your ndr-core installation.

python manage.py migrate
python manage.py collectstatic

Initialize your NDR Core app

python manage.py init_ndr_core

Start configuring and entering content

Run your server.

python manage.py runserver

Visit http://localhost:8000/ to view your website and http://localhost:8000/ndr_core/ to access the configuration interface. The last command runs your server on port 8000. This is not suitable for production use. You should use a webserver like nginx to serve your application. See the Documentation for more information.

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

django_ndr_core-0.70.8.tar.gz (11.8 MB view details)

Uploaded Source

Built Distribution

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

django_ndr_core-0.70.8-py3-none-any.whl (12.1 MB view details)

Uploaded Python 3

File details

Details for the file django_ndr_core-0.70.8.tar.gz.

File metadata

  • Download URL: django_ndr_core-0.70.8.tar.gz
  • Upload date:
  • Size: 11.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for django_ndr_core-0.70.8.tar.gz
Algorithm Hash digest
SHA256 c810109110c7196b6138eba01113e9805981103137edd932c4f83d954911e4a2
MD5 f78cd84382738c8eeaf746f98b0ff7c3
BLAKE2b-256 cd445a8b9a19c96efd560420984b032c6fa4f01b341ffdd7d10ecdb4c18ffcfd

See more details on using hashes here.

File details

Details for the file django_ndr_core-0.70.8-py3-none-any.whl.

File metadata

File hashes

Hashes for django_ndr_core-0.70.8-py3-none-any.whl
Algorithm Hash digest
SHA256 96f267f16f2a19e3c6750a70a04ff84439ebcf26e2d1457fcd42facab7a13226
MD5 0163d2321e059aa857ff4ca40726e4c9
BLAKE2b-256 66e9e4329ed6d7adfeaed7a79bf8f1dd5a8b03768fe8c03b8a6963a79e5dc074

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