Jaime, On Jun 3, 1:06 am, Jaime Casanova <jcasa...@systemguards.com.ec> wrote: > Hi, > > I have an existing database, and want to create an application using > django to administer it... > I am creating the model classes but there are tables with more than > one field in the pk. so the question is: if i don't define a pk for an > existing table, there will be problems in the application? for example > when deciding if a save() should be an insert or an update? > > -- > Atentamente, > Jaime Casanova
The only workaround I've heard is to use SqlAlchemy instead of the default Django ORM. Unfortunately, that will break some of the built- in cool stuff of Django, like the admin interface and anything else that depends on the built=in ORM. - Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---