I do that since years with tables not having a primary key without
problems, but I am only using django orm on those to select data.
Am 28.04.2015 17:35, schrieb Ben L:
It is true that the table doesn't have a primary key.
1, I might be able to talk to the DBA to add a primary key in here and re-sync
the class. But is that required for each table to have pk to run Django?
2, what if I just modify the class to have fake pk =True, but not modify the
database structure? Is that a common practice?
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/553FAB08.4090402%40gmx.net.
For more options, visit https://groups.google.com/d/optout.