Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(31)  |  Call(0)  |  Derive(25)  |  Import(6)

src/d/j/django-ptree-0.2.97/ptree/views/abstract.py   django-ptree(Download)
class ParticipantCreateMultipleView(ModelFormSetMixin, ParticipantSequenceMixin, ParticipantMixin, CreateAuxModelMixin, extra_views.ModelFormSetView):
    """incomplete. i need something like get_queryset"""
 
class ExperimenterCreateMultipleView(ModelFormSetMixin, ExperimenterSequenceMixin, ExperimenterMixin, CreateAuxModelMixin, extra_views.ModelFormSetView):
    """incomplete. i need something like get_queryset"""
 
class ParticipantUpdateMultipleView(ModelFormSetMixin, ParticipantSequenceMixin, ParticipantMixin, extra_views.ModelFormSetView):
    pass
 
class ExperimenterUpdateMultipleView(ModelFormSetMixin, ExperimenterSequenceMixin, ExperimenterMixin, extra_views.ModelFormSetView):

src/c/y/cyw-bogus-0.1.95-0.1.97/ptree/views/abstract.py   cyw-bogus-0.1.95(Download)
class ModelFormSetView(extra_views.ModelFormSetView):
    extra = 0
 
    def formset_valid(self, formset):
        for form in formset:
class CreateMultipleView(extra_views.ModelFormSetView, CreateView):
    pass
 
class UpdateMultipleView(extra_views.ModelFormSetView, UpdateView):
    pass

src/c/y/cyw-bogus-0.2.53/ptree/views/abstract.py   cyw-bogus(Download)
class ModelFormSetView(extra_views.ModelFormSetView):
    extra = 0
 
    def formset_valid(self, formset):
        for form in formset:
class CreateMultipleView(extra_views.ModelFormSetView, CreateView):
    pass
 
class UpdateMultipleView(extra_views.ModelFormSetView, UpdateView):
    pass

src/d/j/django-oscar-0.7/oscar/apps/basket/views.py   django-oscar(Download)
from django.core.exceptions import ObjectDoesNotExist
 
from extra_views import ModelFormSetView
from oscar.core.compat import urlparse
from oscar.core import ajax
class BasketView(ModelFormSetView):
    model = get_model('basket', 'Line')
    basket_model = get_model('basket', 'Basket')
    formset_class = BasketLineFormSet
    form_class = BasketLineForm
class SavedView(ModelFormSetView):
    model = get_model('basket', 'line')
    basket_model = get_model('basket', 'basket')
    formset_class = SavedLineFormSet
    form_class = SavedLineForm

src/d/j/django-oscar-HEAD/oscar/apps/basket/views.py   django-oscar(Download)
from django.core.exceptions import ObjectDoesNotExist
 
from extra_views import ModelFormSetView
from oscar.core.compat import urlparse
from oscar.core import ajax
class BasketView(ModelFormSetView):
    model = get_model('basket', 'Line')
    basket_model = get_model('basket', 'Basket')
    formset_class = BasketLineFormSet
    form_class = BasketLineForm
class SavedView(ModelFormSetView):
    model = get_model('basket', 'line')
    basket_model = get_model('basket', 'basket')
    formset_class = SavedLineFormSet
    form_class = SavedLineForm

src/p/o/PO-Projects-0.3.5.1/po_projects/views/catalogs.py   PO-Projects(Download)
 
from braces.views import LoginRequiredMixin, PermissionRequiredMixin
from extra_views import ModelFormSetView
 
from babel.messages.pofile import read_po, write_po
class CatalogMessagesFormView(LoginRequiredMixin, PermissionRequiredMixin, ModelFormSetView):
    """
    Form view to edit messages from a catalog
    """
    permission_required = "po_projects.edit_messages"

src/c/y/cyw-bogus-0.1.95-0.1.97/ptree/views/experimenter.py   cyw-bogus-0.1.95(Download)
class ExperimenterModelFormSetView(ExperimenterSequenceMixin, extra_views.ModelFormSetView):
    extra = 0
 
    def get_context_data(self, **kwargs):
        context = super(ExperimenterModelFormSetView, self).get_context_data(**kwargs)

src/d/j/django-extra-views-0.6.4/extra_views/tests/views.py   django-extra-views(Download)
from extra_views import FormSetView, ModelFormSetView, InlineFormSetView, InlineFormSet, CreateWithInlinesView, UpdateWithInlinesView, CalendarMonthView, NamedFormsetsMixin, SortableListMixin, SearchableListMixin
from extra_views.generic import GenericInlineFormSet, GenericInlineFormSetView
from django.views import generic
from .forms import AddressForm, ItemForm, OrderForm
from .formsets import BaseArticleFormSet
class ItemModelFormSetView(ModelFormSetView):
    model = Item
    template_name = 'extra_views/item_formset.html'
 
 
class FormAndFormSetOverrideView(ModelFormSetView):
class PagedModelFormSetView(ModelFormSetView):
    paginate_by = 2
    model = Item
    template_name = 'extra_views/paged_formset.html'
 

src/d/j/django-extra-views-HEAD/extra_views/tests/views.py   django-extra-views(Download)
from extra_views import FormSetView, ModelFormSetView, InlineFormSetView, InlineFormSet, CreateWithInlinesView, UpdateWithInlinesView, CalendarMonthView, NamedFormsetsMixin, SortableListMixin, SearchableListMixin
from extra_views.generic import GenericInlineFormSet, GenericInlineFormSetView
from django.views import generic
from .forms import AddressForm, ItemForm, OrderForm
from .formsets import BaseArticleFormSet
class ItemModelFormSetView(ModelFormSetView):
    model = Item
    template_name = 'extra_views/item_formset.html'
 
 
class FormAndFormSetOverrideView(ModelFormSetView):
class PagedModelFormSetView(ModelFormSetView):
    paginate_by = 2
    model = Item
    template_name = 'extra_views/paged_formset.html'
 

src/d/j/django-ptree-extra-views-0.6.3/extra_views/tests/views.py   django-ptree-extra-views(Download)
from extra_views import FormSetView, ModelFormSetView, InlineFormSetView, GenericInlineFormSetView
from extra_views import CreateWithInlinesView, UpdateWithInlinesView
from extra_views import InlineFormSet, GenericInlineFormSet
from .forms import AddressForm, ItemForm, OrderForm
from .formsets import BaseArticleFormSet
class ItemModelFormSetView(ModelFormSetView):
    model = Item
    template_name = 'extra_views/item_formset.html'
 
 
class FormAndFormSetOverrideView(ModelFormSetView):
class PagedModelFormSetView(ModelFormSetView):
    paginate_by = 2
    model = Item
    template_name = 'extra_views/paged_formset.html'