diff options
author | Gabriel Hurley <gabriel@strikeawe.com> | 2012-07-03 02:29:22 -0700 |
---|---|---|
committer | Gabriel Hurley <gabriel@strikeawe.com> | 2012-07-03 02:29:22 -0700 |
commit | df30fe0887e5ce74120459ad3585f7658252be13 (patch) | |
tree | 776d53920cf22453b45ed266c1be632616066df9 /README.rst | |
parent | afc7a64ff425a71092a61bb7c7f9b229886c5d48 (diff) | |
download | django_openstack_auth-df30fe0887e5ce74120459ad3585f7658252be13.tar.gz |
Added note about unit tests.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -13,19 +13,26 @@ Installation Installing is quick and easy: - #. Run ``pip install django_openstack_auth``. +#. Run ``pip install django_openstack_auth``. - #. Add ``openstack_auth`` to ``settings.INSTALLED_APPS``. +#. Add ``openstack_auth`` to ``settings.INSTALLED_APPS``. - #. Add ``'keystone_auth.backend.KeystoneBackend'`` to your - ``settings.AUTHENTICATION_BACKENDS``, e.g.:: +#. Add ``'keystone_auth.backend.KeystoneBackend'`` to your + ``settings.AUTHENTICATION_BACKENDS``, e.g.:: AUTHENTICATION_BACKENDS = ('keystone_auth.backend.KeystoneBackend',) - #. Configure your API endpoint(s) in ``settings.py``:: +#. Configure your API endpoint(s) in ``settings.py``:: OPENSTACK_KEYSTONE_URL = "http://example.com:5000/v2.0" - #. Include ``'keystone_auth.urls'`` somewhere in your ``urls.py`` file. +#. Include ``'keystone_auth.urls'`` somewhere in your ``urls.py`` file. - #. Use it as you would any other Django auth backend. +#. Use it as you would any other Django auth backend. + +Running The Tests +================= + +Download the repository and run:: + + python setup.py test
\ No newline at end of file |