Code

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#6115 closed (wontfix)

helper function for modelforms

Reported by: Øyvind Saltvik <oyvind@…> Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords: modelforms hepler function
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Seems to be what is missing to get ModelForm into newforms-admin and create_update.

Not sure if this is the way to do it, but here is some code. :)

Attachments (1)

modelform_for_model.diff (642 bytes) - added by Øyvind Saltvik <oyvind@…> 7 years ago.
modelform_for_model

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Øyvind Saltvik <oyvind@…>

modelform_for_model

comment:1 Changed 6 years ago by guettli

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

Sorry, the version for this ticket is "SVN". Current SVN does not need this patch.
If it is needed in the newforms-admin branch please reopen it and set "Version" in Trac.

And you don't tell what gets fixed with this patch. What exception do you get in create_update
if you don't have this method?

comment:2 Changed 6 years ago by Alex

Using newforms in generic views is being handled in #3639

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.