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

All Samples(12)  |  Call(0)  |  Derive(7)  |  Import(5)

src/d/j/django-oscar-stores-0.6.1/stores/dashboard/views.py   django-oscar-stores(Download)
from django.contrib import messages
from django.utils.translation import ugettext_lazy as _, ugettext
from extra_views import (CreateWithInlinesView, UpdateWithInlinesView,
                         InlineFormSet)
 
class StoreAddressInline(InlineFormSet):
    extra = 1
    max_num = 1
    can_delete = False
    model = StoreAddress
    form_class = forms.StoreAddressForm
 
 
class OpeningPeriodInline(InlineFormSet):

src/d/j/django-oscar-stores-HEAD/stores/dashboard/views.py   django-oscar-stores(Download)
from django.contrib import messages
from django.utils.translation import ugettext_lazy as _, ugettext
from extra_views import (CreateWithInlinesView, UpdateWithInlinesView,
                         InlineFormSet)
 
class StoreAddressInline(InlineFormSet):
    extra = 1
    max_num = 1
    can_delete = False
    model = StoreAddress
    form_class = forms.StoreAddressForm
 
 
class OpeningPeriodInline(InlineFormSet):

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 ItemsInline(InlineFormSet):
    model = Item
 
 
class TagsInline(GenericInlineFormSet):

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 ItemsInline(InlineFormSet):
    model = Item
 
 
class TagsInline(GenericInlineFormSet):

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 ItemsInline(InlineFormSet):
    model = Item
 
 
class TagsInline(GenericInlineFormSet):