Skip to content

Commit

Permalink
settings.PUBLIC_VIEWS is no more
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Sep 13, 2020
1 parent e0cb8af commit 9d97c5f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
10 changes: 0 additions & 10 deletions tcms_settings_dir/marketplace.py

This file was deleted.

16 changes: 0 additions & 16 deletions test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@
sys.exit(1)


# import the settings which automatically get distributed with this package
marketplace_settings = os.path.join(
BASE_DIR, 'tcms_settings_dir', 'marketplace.py')

# Kiwi TCMS loads extra settings in the same way using exec()
exec( # pylint: disable=exec-used
open(marketplace_settings, "rb").read(),
globals()
)

# these are enabled only for testing purposes
DEBUG = True
TEMPLATE_DEBUG = True
Expand All @@ -62,12 +52,6 @@
'social_django',
])

PUBLIC_VIEWS.extend([
'social_django.views.auth',
'social_django.views.complete',
'social_django.views.disconnect',
])


SOCIAL_AUTH_URL_NAMESPACE = 'social'
SOCIAL_AUTH_GITHUB_KEY = 'oauth_client_id'
Expand Down

0 comments on commit 9d97c5f

Please sign in to comment.