Assuming that none of the old data violates your unique_together rule it will
work.
However, your database will not be configured correctly, and that could lead to
problems.
After your initial syncdb which created that table, Django will not make any
changes to the
database.
The best thing to
Hi,
I would like to add the unique_together attribute of the Meta class
for a model in my app.
My question is: my database already exists with several records, it is
possible to just add the attribute and not do anything in the database
level? does it work?
I have tried in a app using sqlite and
2 matches
Mail list logo