On Sun, Jun 7, 2009 at 2:11 PM, akaariai<akaar...@gmail.com> wrote:
>
> Use unique_together:
> http://docs.djangoproject.com/en/dev/ref/models/options/
>

what's the difference about this and primary key? at the database
level they are almost the same thing (just adding a not null
constraint to the column and you have exactly the same) and it seems
could be used for simple operations like save()

what about a pk implementation that uses unique_together?

-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to