I just installed Django 1.6 on OS X 10.8 with python 2.7 and am having trouble going through the tutorial. After setting creating a server called mysite by running:
Check in manage.py
if you have this:
import os
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
And in wsgi.py
this:
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
Also, any python scripts that integrate Django should look like this:
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
# Uncomment below for Django 1.7 +
#import django
#django.setup()