From c6a29a89150934bde8ee7874797984425bf02bd4 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 14 Dec 2014 00:28:22 +0530 Subject: [PATCH] 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. --- plinth/modules/users/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plinth/modules/users/views.py b/plinth/modules/users/views.py index aaebcd2d9..582062fa8 100644 --- a/plinth/modules/users/views.py +++ b/plinth/modules/users/views.py @@ -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