Don't mark ContextMixin as abstract

- Django abstract bases seems to apply only for Models.

- Django itself does not use abtract marking for its own generic view
  mixins.
This commit is contained in:
Sunil Mohan Adapa 2014-12-14 00:28:22 +05:30
parent a625d67152
commit c6a29a8915

View File

@ -48,9 +48,6 @@ class PlinthContextMixin():
context['title'] = getattr(self, 'title', '')
return context
class Meta:
abstract = True
class UserCreate(PlinthContextMixin, SuccessMessageMixin, CreateView):
form_class = UserCreationForm