Skip to content

Commit

Permalink
Change Create view to CreateWithInline (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyrusanov authored and mmarcos committed May 9, 2017
1 parent 5b185f0 commit 1635158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arctic/generics.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def get_context_data(self, **kwargs):


class CreateView(FormMediaMixin, View, SuccessMessageMixin,
LayoutMixin, base.CreateView):
LayoutMixin, extra_views.CreateWithInlinesView):
template_name = 'arctic/base_create_update.html'
success_message = _('%(object)s was created successfully')

Expand Down

0 comments on commit 1635158

Please sign in to comment.