Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (37 sloc) 1.71 kb
# Don't import anything that imports CONFIG here, the circular dependency will not work.
# Instead, import after the definition of CONFIG.
CONFIG = {
# foursquare server to use. You probably don't need to change this.
'foursquare_server':'https://foursquare.com',
# The server name for local_dev mode. Make sure the port matches what you use.
'local_server': 'http://localhost:8080',
# Server name for your deployed AppEngine instance
'prod_server': None,
# OAuth client ID. Must match what you set at https://foursquare.com/oauth.
'client_id': None,
# OAuth callback/redirect URI. Must match what you set at https://foursquare.com/oauth.
'redirect_uri': '%s/oauth', # (server)
# Format string to serve URL content out of. Not necessarily required.
'content_uri': '%s/content?content_id=%s', # (server, content_id)
# The foursquare API version string to pass. See: https://developer.foursquare.com/overview/versioning
'api_version': '20120608',
# A name for the hompage and titles.
'site_name': '',
# A description for the home page
'site_description': '',
# If true, we use local_server, and log actions instead of POSTing to foursquare
# Be sure to set this to false when you actually want to deploy.
'local_dev': True,
# AppEngine debug mode
'debug': True,
# These can either be a path (on this server), or an external URI
'auth_success_uri_desktop': '/',
'auth_success_uri_mobile': '/',
'auth_denied_uri': '/',
# Application Level Configuration
# Feel free to add new config parameters here...
}
# Replace 'None' with the class object of your app. It must inherit from the
# provided AbstractApp class.
# import YOUR_CLASS_HERE
APP_CLASS = None
Jump to Line
Something went wrong with that request. Please try again.