mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
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:
parent
a625d67152
commit
c6a29a8915
@ -48,9 +48,6 @@ class PlinthContextMixin():
|
|||||||
context['title'] = getattr(self, 'title', '')
|
context['title'] = getattr(self, 'title', '')
|
||||||
return context
|
return context
|
||||||
|
|
||||||
class Meta:
|
|
||||||
abstract = True
|
|
||||||
|
|
||||||
|
|
||||||
class UserCreate(PlinthContextMixin, SuccessMessageMixin, CreateView):
|
class UserCreate(PlinthContextMixin, SuccessMessageMixin, CreateView):
|
||||||
form_class = UserCreationForm
|
form_class = UserCreationForm
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user