In the admin, or on the site in a view?

On Sep 3, 12:12 pm, David <[EMAIL PROTECTED]> wrote:
> Hi,
> when setting (for example)
> name = models.CharField('Name', max_length=50, unique = True)
> How does one go about handling the exception if a name is entered
> that
> already exists in the database?
> Thanks,
> David,
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to