mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +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', '')
|
||||
return context
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
|
||||
class UserCreate(PlinthContextMixin, SuccessMessageMixin, CreateView):
|
||||
form_class = UserCreationForm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user