Opened 10 years ago

Closed 10 years ago

#6633 closed (invalid)

Special newforms which could be used in newforms-admin

Reported by: Petr Marhoun <petr.marhoun@…> Owned by: nobody
Component: Forms Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


This is my idea how create forms for newforms-admin. It is based on ticket #6630. There is no code - it is really only an idea.

There would be some new options which would describe how the forms should look like - for example "raw_id_admin", "use_javascript_calendars" and so on. There would be special function formfield_for_formfield which would change the fields and marked them for javascript. There would be a javascript library which would be included in each page with these forms. There would be new classes AdminModelAdmin and AdminInlineFormSet which would use the formfield_for_formfield as option in the inner class "Meta".

Change History (1)

comment:1 Changed 10 years ago by James Bennett

Resolution: invalid
Status: newclosed

The media stuff is already handled by the ability to specify media to bundle with a form, and the other bits can also be handled already by standard form options.

Note: See TracTickets for help on using tickets.
Back to Top