thanks Shawn.. I set the meta option and now it correctly throws an IntegrityError when I try to enter the duplicate value for the url. Now should I catch this in clean() method of the model and raise an error message when user enters the duplicate value? mark
On Oct 5, 1:19 am, Shawn Milochik <[email protected]> wrote: > 1.http://docs.djangoproject.com/en/dev/ref/models/options/#unique-together > > 2. If you're using a foreign key to a User instance then duplicate names > aren't a problem. > > Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

