I'm trying to use django-south-0.7.3 API's to create a table, following
this: http://south.aeracode.org/docs/databaseapi.html#accessing-the-api
This is my code:
from south.db import dbs
dbs['lc'].create_table('test', [
('id', models.AutoField(primary_key=True)),
('name', models.CharField(max_length=255)),
])
The problem is that I do not get any error, but in the lc database, no
table appears.
Where is the issue?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.