Created
May 19, 2014 05:17
-
-
Save Jwpe/bd4cf5bf0f16bee4cecf to your computer and use it in GitHub Desktop.
Pull in an admin URL path to Django settings from an environment variable
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
import os | |
... | |
# Admin URL path for obfuscating the admin interface | |
ADMIN_URL_PATH = os.environ.get('ADMIN_URL_PATH') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment