Re: Enforcing uniqueness as the ORM layer

2007-10-15 Thread Peter Nixon
On Wed 10 Oct 2007, Peter Nixon wrote: > Hi Guys > > I am running into the problem that uniqueness is not enforced at the ORM > layer. From: > http://www.djangoproject.com/documentation/model-api/#unique > > "This is enforced at the database level and at the Django admin-form > level." > > This me

Enforcing uniqueness as the ORM layer

2007-10-10 Thread Peter Nixon
Hi Guys I am running into the problem that uniqueness is not enforced at the ORM layer. From: http://www.djangoproject.com/documentation/model-api/#unique "This is enforced at the database level and at the Django admin-form level." This means that when using the Django REST API trying to inser