This file contains hidden or 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
1) Generate a private key and certificate signing request: | |
openssl genrsa -out ios_distribution.key 2048 | |
openssl req -new -key ios_distribution.key -out ios_distribution.csr -subj '/[email protected], CN=Example, C=US' | |
2) Upload CSR to apple at: https://developer.apple.com/account/ios/certificate/create | |
- choose Production -> App Store and Ad Hoc | |
3) Download the resulting ios_distribution.cer, and convert it to .pem format: |
This file contains hidden or 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
LOAD_OPTIONAL_APPS = True | |
if LOAD_OPTIONAL_APPS: | |
# <copypaste from="http://blog.jupo.org/post/586256417/optional-django-apps"> | |
# Define any settings specific to each of the optional apps. | |
# | |
import sys | |
USE_SOUTH = not (len(sys.argv) > 1 and sys.argv[1] == "test") | |
DEBUG_TOOLBAR_CONFIG = {"INTERCEPT_REDIRECTS": True} |