Improve creation of custom JS views and models for config pages.

Review Request #5594 — Created March 10, 2014 and submitted — Latest diff uploaded

Information

Djblets
master
52205ea...

Reviewers

ConfigPagesView now allows for creating a custom models and views for
the configuration page, along with custom options/attributes. These will
be outputted in the template when setting up the page.

A new template tag, json_dumps_items, helps to output data without
messing around with more expensive and messy template-based loops.

Used a custom model for the ConfigPagesView subclass, and passed data to it
and the view.

Made use of the new template tag with empty and full payloads.

    Loading...