Hello Users,
I am new to using Django and so far, I like it. I have installed
Django and want to use it with a pre-existing database. Several tables
have multiple primary keys. How do I create the multiple primary keys
in the model? I did use the inspectdb command to help me create the
model becau
Hello All,
I am new to Django and thinking about migrating to Django from our
existing web environment. I had a couple of questions that I would
like help in answering them. Your insight is greatly appreciated.
Thank you.
1) Considering, there is no support for Multiple Primary keys, how
would D
For responses to 1 and 3.
Is there somewhere I can look? I guess I will have to test these
capabilities along with unique_together to resolve the Multiple PK
issue.
For 2, I will have to add them as suggested.
For 4.
Sorry, I couldn't understand. Can you explain it again. :)
I have a test enviro
Hi all,
I having been trying to figure out how to use unique_together with a
legacy database. I have one table (Table_1) with one PK and another
table with 3 PKs (Table_2), how can I use unique_together in this
case? Any examples or suggestions would be greatly appreciated.
Thank you!
--
You r
4 matches
Mail list logo