forked from fgaudin/aemanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a demo mode and command to reset demo user. Closes fgaudin#139.
- Loading branch information
Showing
16 changed files
with
782 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
from django.conf import settings | ||
|
||
def parent_site(request): | ||
def common(request=None): | ||
return {'logo_url': settings.LOGO_URL, | ||
'parent_site_url': settings.PARENT_SITE_URL} | ||
'parent_site_url': settings.PARENT_SITE_URL, | ||
'version': '1.2', | ||
'GOOGLE_API_KEY': settings.GOOGLE_API_KEY, | ||
'demo_mode': settings.DEMO} | ||
|
||
def version(request=None): | ||
return {'version': '1.2'} | ||
|
||
def google_api_key(request): | ||
return {'GOOGLE_API_KEY': settings.GOOGLE_API_KEY} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Oops, something went wrong.