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 StoreCreateView(StoreEditMixin, CreateWithInlinesView):
    model = Store
    template_name = "stores/dashboard/store_update.html"
    form_class = forms.StoreForm
    success_url = reverse_lazy('stores-dashboard:store-list')

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 StoreCreateView(StoreEditMixin, CreateWithInlinesView):
    model = Store
    template_name = "stores/dashboard/store_update.html"
    form_class = forms.StoreForm
    success_url = reverse_lazy('stores-dashboard:store-list')

src/d/j/django-admin2-0.6.1/djadmin2/views.py   django-admin2(Download)
class ModelAddFormView(AdminModel2Mixin, Admin2ModelFormMixin,
                       extra_views.CreateWithInlinesView):
    """Context Variables
 
    :model: Type of object you are editing

src/d/j/django-admin2-HEAD/djadmin2/views.py   django-admin2(Download)
class ModelAddFormView(AdminModel2Mixin, Admin2ModelFormMixin,
                       extra_views.CreateWithInlinesView):
    """Context Variables
 
    :model: Type of object you are editing

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 OrderCreateView(CreateWithInlinesView):
    model = Order
    context_object_name = 'order'
    inlines = [ItemsInline, TagsInline]
    template_name = 'extra_views/order_and_items.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 OrderCreateView(CreateWithInlinesView):
    model = Order
    context_object_name = 'order'
    inlines = [ItemsInline, TagsInline]
    template_name = 'extra_views/order_and_items.html'

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 OrderCreateView(CreateWithInlinesView):
    model = Order
    context_object_name = 'order'
    inlines = [ItemsInline, TagsInline]
    template_name = 'extra_views/order_and_items.html'