On Tuesday 17 Jan 2006 4:45 pm, Julio Nobrega wrote: > Restriction *is* on the database too, when you run "manage.py > startsql" (the command that outputs the CREATE TABLEs) you can > see the UNIQUE being added. But Bryan is updating his model, > adding the UNIQUE after the table has been created...
whenever you change your model, you *should* generate the new sql and make the appropriate changes in the database - otherwise you are just looking for trouble and sooner or later django will move out of sync with your database. -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!