I'm new to django, and still figuring out a lot of things.
When I run the syncdb command of manage.py, after some of the steps have been completed, I get this:
AttributeError: "'NoneType' object has no attribute 'mkstemp'" in > ignored
how do I solve this? Is there a version of django nonrel that solves this?
"gagan" posted the reason and solution right here.
I changed my settings.py little bit to resolve this. I added following to settings.py,
DATABASES['native'] = {
'ENGINE': 'djangoappengine.db',
'HIGH_REPLICATION': True,
'DEV_APPSERVER_OPTIONS': {
'high_replication' : True,
'use_sqlite': True,
}
}
and removed this line,
DATABASES['native'] = DATABASES['default']