diff --git a/get_together/settings.py b/get_together/settings.py index 29ac56b..64c497e 100644 --- a/get_together/settings.py +++ b/get_together/settings.py @@ -151,6 +151,8 @@ GOOGLE_ANALYTICS_ID=None SETTINGS_EXPORT = [ 'DEBUG', 'GOOGLE_ANALYTICS_ID', + 'SOCIAL_AUTH_GITHUB_KEY', + 'SOCIAL_AUTH_GOOGLE_OAUTH2_KEY', ] # Keep this at the end of settings.py to allow overriding settings in local deployments diff --git a/get_together/templates/get_together/index.html b/get_together/templates/get_together/index.html index 759fc7c..8f8c0c5 100644 --- a/get_together/templates/get_together/index.html +++ b/get_together/templates/get_together/index.html @@ -6,11 +6,12 @@

Login

-GitHub
+{% if settings.SOCIAL_AUTH_GOOGLE_OAUTH2_KEY %}Google{% endif %} +{% if settings.SOCIAL_AUTH_GITHUB_KEY %}GitHub{% endif %} +{% if settings.DEBUG %}Local{% endif %}
{% endblock %}