Opened 11 years ago
Closed 11 years ago
#21465 closed Uncategorized (duplicate)
custom adminsite model form has no way to access request
Reported by: | wingyiu | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.6 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
if request.method == 'POST':
form = ModelForm(request.POST, request.FILES)
some validtion may need the current user object, so can pass the request to the form?
Change History (2)
comment:1 by , 11 years ago
Component: | Uncategorized → contrib.admin |
---|---|
Type: | Uncategorized → New feature |
comment:2 by , 11 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Type: | New feature → Uncategorized |
Note:
See TracTickets
for help on using tickets.