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 <sh...@milochik.com> 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 django-us...@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