Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/d/j/django-options-HEAD/django_options/options.py   django-options(Download)
 
from . import models, signals
from .formset import AdminForm
from .helpers import HierarchicalClass
from .const import *
            form_instance = form_class()
            adminForm = AdminForm(
                form_instance,
                form_instance.get_optionsets()
            )
            form_instance = form_class() if not isinstance(form, form_class) else form
            adminForm = AdminForm(
                form_instance,
                form_instance.get_optionsets()
            )