projects
/
matthijs
/
projects
/
xerxes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add make_choices function.
[matthijs/projects/xerxes.git]
/
import.py
diff --git
a/import.py
b/import.py
index df1a1acb87e4f47bad9da600fa589239e04e2055..58205ac59deba2d7d07fbcf24784736ca807a463 100644
(file)
--- a/
import.py
+++ b/
import.py
@@
-2,11
+2,11
@@
import sys
import os
sys.path = sys.path + [os.path.dirname(os.path.dirname(os.path.abspath(__file__)))]
import os
sys.path = sys.path + [os.path.dirname(os.path.dirname(os.path.abspath(__file__)))]
-os.environ['DJANGO_SETTINGS_MODULE']='
ee
.settings'
+os.environ['DJANGO_SETTINGS_MODULE']='
xerxes
.settings'
import MySQLdb
from django.contrib.auth.models import User
import MySQLdb
from django.contrib.auth.models import User
-from
ee
.base.models import UserProfile
+from
xerxes
.base.models import UserProfile
from datetime import datetime
conn = MySQLdb.connect(
from datetime import datetime
conn = MySQLdb.connect(