Render ModelAdmin fieldsets outside admin sites

Review Request #9040 — Created June 27, 2017 and submitted

Information

Djblets
release-0.10.x
ab1e430...

Reviewers

The filer_fieldsets utility function filters a list of fieldsets
from a django.contrib.admin.ModelAdmin so callers rendering forms
can control which fieldsets (such as internal state) are rendered.

This change also refactors the core fieldset rendering of
form_fieldsets.html into its own template so a single fieldset can
be rendered.

Tested with /r/9013/

Description From Last Updated

W293 blank line contains whitespace

reviewbotreviewbot

W293 blank line contains whitespace

reviewbotreviewbot
brennie
Review request changed

Checks run (1 failed, 1 succeeded)

flake8 failed.
JSHint passed.

flake8

brennie
Review request changed

Checks run (1 failed, 1 succeeded)

flake8 failed.
JSHint passed.

flake8

brennie
brennie
brennie
david
  1. Ship It!
  2. 
      
brennie
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (c209c2c)