Skip to content

Brown-University-Library/django-controlled-vocabularies

 
 

Repository files navigation

Django Controlled Vocabularies

Build Status

About

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.

Requirements

  • Django 2.2
  • Python 3.6 - 3.7

System Requirements

  • libxml2
  • libxslt

Installation

  1. Download and install from source code.

        $ pip install git+git://github.com/unt-libraries/django-controlled-vocabularies.git
  2. Add app and sites framework to INSTALLED_APPS.

        INSTALLED_APPS = (
            'django.contrib.sites',
            'controlled_vocabularies'
        )
  3. Set the VOCAB_DOMAIN setting to your own desired location.

        VOCAB_DOMAIN = 'http://example.org/vocabs/'
  4. Set the SITE_ID.

        SITE_ID = 1
  5. Include the URLs.

        urlpatterns = [
            path('admin/', admin.site.urls),
            path('vocabularies/', include('controlled_vocabularies.urls'))
        ]
  6. Migrate the database.

        $ python manage.py migrate

License

See LICENSE.txt

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.5%
  • HTML 7.5%