Opened 16 years ago
Closed 16 years ago
#7912 closed (duplicate)
Add what kind of exception is through
Reported by: | BigNude | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | exception, model, backend | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
it would by great to have information in documentation what kind of exceptions can by through if conditions in model creation not fulfilled.
for example if I create objects where the two fields are unique together then the exception will ocoure, but whitch. well you will think it depends on the backend. Sure but since django abstracts it for me already then it should abstrac exceptions as well and though usefull exceptions as for example Object.DoesNotExist
Change History (2)
comment:1 by , 16 years ago
Component: | Documentation → Database wrapper |
---|
comment:2 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This will be addressed by #6845.
I guess this would applier to database wrapper as well