I am using django version 1.0 and mysql
when I try to update a table I get the following error:
Exception exceptions.SystemError: 'error return without exception set'
Any idea on what is going on? This issue appeared moving from the .97
to version 1
Thanks in advance
The directory structure is:
Python\
|---->django_test\
|------>app1\
|------->models.py
|------->..
|------>settings.py
|------>..
|---->save_test.py
My models.py file
from django.db import models
# Create your models here.
class App1Model(models.Model):
model_name = models.CharField(max_length=50)
model_desc = models.CharField(max_length=200)
The main python file save_test.py
import sys
import os
from django.core.exceptions import ObjectDoesNotExist
sys.path.append('C:/Prog/Projects/Python')
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_test.settings'
from django_test.app1.models import *
test = App1Model.objects.get(pk=1)
test.save()
I am running save_test.py in komodo which is the at the same level in
my directory as django project django_test
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---