Skip to content

Instantly share code, notes, and snippets.

@Jwpe
Created May 19, 2014 05:17
Show Gist options
  • Save Jwpe/bd4cf5bf0f16bee4cecf to your computer and use it in GitHub Desktop.
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
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