Syncdb utility is a (very) convenient tool for converting the database model
from models.py to the physical structure creation in the actual database.
You can create the physical model without using Syncdb at all if u are
comfortable with SQL.
That said, when the admi site tries to read and
I'll preface this by saying I work with postgres, so some syntax stuff may
be different.
To work within a different schema, you just need to tell the database to
use that schema as part of the connection process. In postgres, this means
issuing the command:
SET search_path TO schema;
I'm
Hey!
Django newbie here.
I built out a django admin site that's up and running using a SQL Server
database. I now want to convert the tables that django generated for my
models over to a different database schema.
Here was my process and there are probably a couple missteps in here:
1) I
3 matches
Mail list logo