Files
deb-python-django-openstack…/doc/source/installation.rst
David Lyle 537fd8c7b2 moves default keystone API to v3
v2.0 of the keystone API was deprecated in icehouse-2, moving to
support v3 by default.

This also fixes a bug in Horizon where if you specify v3 for the
API version and v2.0 is still the auth url, login fails.

Implements blueprint keystone-v3-default
Partial-bug: #1267636

Change-Id: Ibc4872f24125fa74230eab781b002dffdba5f5da
2014-02-03 14:45:13 -07:00

743 B

Getting Started

Installation

Installing is quick and easy:

  1. Run pip install django_openstack_auth.

  2. Add openstack_auth to settings.INSTALLED_APPS.

  3. Add 'keystone_auth.backend.KeystoneBackend' to your settings.AUTHENTICATION_BACKENDS, e.g.:

    AUTHENTICATION_BACKENDS = ('keystone_auth.backend.KeystoneBackend',)
  4. Configure your API endpoint(s) in settings.py:

    OPENSTACK_KEYSTONE_URL = "http://example.com:5000/v3"
  5. Include 'keystone_auth.urls' somewhere in your urls.py file.

  6. Use it as you would any other Django auth backend.

Running The Tests

Download the repository and run:

python setup.py test