django-suit
django-suit copied to clipboard
Creating a non-admin form with an admin look-and-feel?
Django version: 1.11.12 Django Suit version: 2.0a1 Python version: 3.5.3
Issue:
I realise that suitv2.0 does not (yet) have full documentation; but would it possible to have an example that shows how to display a custom form that has the same look-and-feel as a standard admin form but that is not defined in an admin.py
file?
So, for example, I could have a dashboard app, that will use a form source info from a user to create a custom display (via a view). This app does not have any models.py
or admin.py
files of its own; it only sources data from other apps in the project. What would the template for displaying such a form look like - ideally, the example should show the use of fieldsets ("tabs") as well as custom suit widgets (and obviously have all the surrounding context, including breadcrumbs etc.)
(Also related: #371)