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.
Get Started
- Find the Documentation on ReadTheDocs.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-ndr-core-0.15.1.tar.gz
.
File metadata
- Download URL: django-ndr-core-0.15.1.tar.gz
- Upload date:
- Size: 9.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff1fcbe8a686f4acb75ea3470214ed81db8b219abda71e76afae16214bedb261 |
|
MD5 | f3e63b405400ddd0adaf6558017adadb |
|
BLAKE2b-256 | 2bb850951f008281c9b543f0cd76e910cfb6320cc9d115ae831b05d72089c6ce |
File details
Details for the file django_ndr_core-0.15.1-py3-none-any.whl
.
File metadata
- Download URL: django_ndr_core-0.15.1-py3-none-any.whl
- Upload date:
- Size: 9.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b9cc51cff0c523de6dd84aed1f3267f642e8fb782dc739f09d47c9684a7c596 |
|
MD5 | 15ed8b4ed11b30743bd880e49bc6cf9c |
|
BLAKE2b-256 | dad52598f6ca35521de409390518f8b3b9ce5e62082dd953206ea4daecd50944 |