mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-09 16:59:23 +00:00
11 lines
246 B
Python
11 lines
246 B
Python
|
""" using django model forms """
|
||
|
from bookwyrm import models
|
||
|
from .custom_form import CustomForm
|
||
|
|
||
|
|
||
|
# pylint: disable=missing-class-docstring
|
||
|
class UserGroupForm(CustomForm):
|
||
|
class Meta:
|
||
|
model = models.User
|
||
|
fields = ["groups"]
|