From 32555eb660ec3714fb1a65be70e069a6ef5f1ba2 Mon Sep 17 00:00:00 2001 From: juanifioren Date: Mon, 25 Jan 2016 18:01:54 -0300 Subject: [PATCH] Remove old OIDC_RSA_KEY_FOLDER setting from example project and tests. --- DOC.md | 10 ++-------- example_project/provider_app/settings.py | 1 - oidc_provider/tests/app/settings.py | 1 - 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/DOC.md b/DOC.md index f7ba893..edbc2e2 100644 --- a/DOC.md +++ b/DOC.md @@ -80,21 +80,15 @@ urlpatterns = patterns('', Generate server RSA key and run migrations (if you don't). ```bash -python manage.py creatersakey -python manage.py migrate +$ python manage.py creatersakey +$ python manage.py migrate ``` Add required variables to your project settings. ```python -# You maybe have this on top of your settings.py -import os -BASE_DIR = os.path.dirname(os.path.dirname(__file__)) - - SITE_URL = 'http://localhost:8000' LOGIN_URL = '/accounts/login/' -OIDC_RSA_KEY_FOLDER = BASE_DIR ``` ## Users And Clients diff --git a/example_project/provider_app/settings.py b/example_project/provider_app/settings.py index 0978c1e..d2a28af 100644 --- a/example_project/provider_app/settings.py +++ b/example_project/provider_app/settings.py @@ -87,4 +87,3 @@ LOGIN_REDIRECT_URL = '/' # OIDC Provider settings SITE_URL = 'http://localhost:8000' -OIDC_RSA_KEY_FOLDER = BASE_DIR diff --git a/oidc_provider/tests/app/settings.py b/oidc_provider/tests/app/settings.py index 1778249..ef5f92b 100644 --- a/oidc_provider/tests/app/settings.py +++ b/oidc_provider/tests/app/settings.py @@ -56,5 +56,4 @@ TEMPLATE_DIRS = [ # OIDC Provider settings. SITE_URL = 'http://localhost:8000' -OIDC_RSA_KEY_FOLDER = os.path.dirname(__file__) OIDC_USERINFO = 'oidc_provider.tests.app.utils.FakeUserInfo'