Opened 5 years ago

Closed 5 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


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 Changed 5 years ago by wingyiu

Component: Uncategorizedcontrib.admin
Type: UncategorizedNew feature

comment:2 Changed 5 years ago by wingyiu

Resolution: duplicate
Status: newclosed
Type: New featureUncategorized
Note: See TracTickets for help on using tickets.
Back to Top