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

Uploaded Source

Built Distribution

django_ndr_core-0.21.1-py3-none-any.whl (8.3 MB view details)

Uploaded Python 3

File details

Details for the file django-ndr-core-0.21.1.tar.gz.

File metadata

  • Download URL: django-ndr-core-0.21.1.tar.gz
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for django-ndr-core-0.21.1.tar.gz
Algorithm Hash digest
SHA256 84000e8731f903fdfe420ce00b6d2133c4d1b91122fc12c6faf7dd51036a7aa5
MD5 ed6c6f4311ef06f3ce41596a1964ac11
BLAKE2b-256 c9e71cd1ade7b34ddbb9ef7a2ebe7a8f1a38179b473af40de44631389aa4ee4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ndr_core-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d56e2bebdd7f4693d06d7542eadfcd350ce0b331944c4961fe84cdd2e6191c19
MD5 93b7c5bd12378ee923071372c0eea4c7
BLAKE2b-256 b4a39db80714fa3b55288b7365ae71362b7574766276dd937ec9cdaf7c25a5bb

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