Am 17.10.2007 um 14:43 schrieb Erik Stein:
> Is there a way to tell django not to set a primary key on a table
> (and then doing it with custom sql)?
Answering myself:
To make django happy a define primary_key=True for one of the fields.
I added a custom sql file for the model
> Is there a way to tell django not to set a primary key on a table
> (and then doing it with custom sql)?
Hi,
why can't you drop the created primary key in you custom sql
(myapp/sql/mymodel.sql) ,
and then create your new combined index?
Thomas
--~--~-~--~~~---~
2 matches
Mail list logo