lazybird / django-carton

A simple and lightweight application for shopping carts and wish lists.
Other
274 stars 101 forks source link

Support for products that use a custom primary key #5

Closed lazybird closed 10 years ago

lazybird commented 10 years ago

Product models sometime overwrite the default primary key behavior - the primary key is called something else that 'id'. In that case, django-carton will raise an error because it expects the "id" field.