The django-controlled-vocabularies app is used to manage vocabularies used by the UNT Libraries digital infrastructure which includes: The UNT Digital Library, The Portal to Texas History, and the Gateway to Oklahoma History.
- Django 2.2
- Python 3.6 - 3.7
- libxml2
- libxslt
-
Download and install from source code.
$ pip install git+git://github.com/unt-libraries/django-controlled-vocabularies.git
-
Add app and sites framework to INSTALLED_APPS.
INSTALLED_APPS = ( 'django.contrib.sites', 'controlled_vocabularies' )
-
Set the VOCAB_DOMAIN setting to your own desired location.
VOCAB_DOMAIN = 'http://example.org/vocabs/'
-
Set the SITE_ID.
SITE_ID = 1
-
Include the URLs.
urlpatterns = [ path('admin/', admin.site.urls), path('vocabularies/', include('controlled_vocabularies.urls')) ]
-
Migrate the database.
$ python manage.py migrate
See LICENSE.txt
- Brandon Fredericks
- Mark Phillips
- Joey Liechty
- Gio Gottardi
- Madhulika Bayyavarapu