Opened 11 years ago
Closed 11 years ago
#21119 closed Uncategorized (invalid)
changelist_view's save problem
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | 1.4 |
Severity: | Normal | Keywords: | changelist_view save check |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
we use the django 1.4.5, and our list page can save model, but when we save, some data did not check.
The contrib/admin/options.py's changelist_view function control the save process, when i want to verify whether my data repeat or not, the problem come, there isn't a function for us to do that, so i should rewrite the changelist_view function, which is really long.
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It sounds like you want to add custom validation logic in the admin. One way to do this is to use ModelAdmin.form.
If you need additional help, please use SupportChannels rather than this ticket tracker. Thanks!