Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Tests passing! #26

Merged
merged 11 commits into from
Dec 13, 2013
Merged

Tests passing! #26

merged 11 commits into from
Dec 13, 2013

Conversation

eriktaubeneck
Copy link
Collaborator

This is just the current develop branch, rebased against master from this PR.

dannyclark and others added 11 commits June 5, 2013 21:51
fix for google users who haven't signed up to google plus
I'm assuming at the time the Flask-Social documentation was written,
Flask-MongoEngine and Facebook-SDK weren't on PyPI yet. I can install
from these locations without any issues, so let's simplify these docs.
With this, you can be explicit about what settings are expected
in your root settings.py file. SOCIAL_FACEBOOK can be None, for
example, and overridden in another file or in the environment.

Here's my personal setup:

    SOCIAL_TWITTER = {
        'consumer_key': os.environ.get('TWITTER_CONSUMER_KEY'),
        'consumer_secret': os.environ.get('TWITTER_CONSUMER_SECRET'),
    } if os.environ.get('TWITTER_CONSUMER_KEY') else None

It would be ideal if 'consumer_key' could allow None, but I didn't want
to break the OAuth mechanism in this commit, so this is good enough.
Update installation section to always use PyPI
Allow SOCIAL_<PROVIDER> settings to be None
@eriktaubeneck eriktaubeneck merged commit 54d6c1d into pallets-eco:develop Dec 13, 2013
@eriktaubeneck eriktaubeneck mentioned this pull request Jan 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants