Did I find the right examples for you? yes no

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

src/c/m/cmsplugin-embedded-pages-0.0.4/cmsplugin_embeddedpages/forms.py   cmsplugin-embedded-pages(Download)
  )
 
from .models import (
  PagePluginSettings,
  TEMPLATE_PATH,
    def __init__(self, *args, **kwargs):
        super(PagePluginAdminForm, self).__init__(*args,**kwargs)
 
        self.fields['group_template'].choices = DynamicTemplateChoices(
                     path = GROUP_TEMPLATE_PATH,

src/c/m/cmsplugin-embedded-pages-HEAD/cmsplugin_embeddedpages/forms.py   cmsplugin-embedded-pages(Download)
  )
 
from .models import (
  PagePluginSettings,
  TEMPLATE_PATH,
    def __init__(self, *args, **kwargs):
        super(PagePluginAdminForm, self).__init__(*args,**kwargs)
 
        self.fields['group_template'].choices = DynamicTemplateChoices(
                     path = GROUP_TEMPLATE_PATH,