mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
use google convention for docstrings
This commit is contained in:
@ -30,9 +30,7 @@ from pedagogy.models import UV, UVComment, UVCommentReport
|
||||
|
||||
|
||||
class UVForm(forms.ModelForm):
|
||||
"""
|
||||
Form handeling creation and edit of an UV
|
||||
"""
|
||||
"""Form handeling creation and edit of an UV."""
|
||||
|
||||
class Meta:
|
||||
model = UV
|
||||
@ -85,9 +83,7 @@ class StarList(forms.NumberInput):
|
||||
|
||||
|
||||
class UVCommentForm(forms.ModelForm):
|
||||
"""
|
||||
Form handeling creation and edit of an UVComment
|
||||
"""
|
||||
"""Form handeling creation and edit of an UVComment."""
|
||||
|
||||
class Meta:
|
||||
model = UVComment
|
||||
@ -137,9 +133,7 @@ class UVCommentForm(forms.ModelForm):
|
||||
|
||||
|
||||
class UVCommentReportForm(forms.ModelForm):
|
||||
"""
|
||||
Form handeling creation and edit of an UVReport
|
||||
"""
|
||||
"""Form handeling creation and edit of an UVReport."""
|
||||
|
||||
class Meta:
|
||||
model = UVCommentReport
|
||||
@ -159,9 +153,7 @@ class UVCommentReportForm(forms.ModelForm):
|
||||
|
||||
|
||||
class UVCommentModerationForm(forms.Form):
|
||||
"""
|
||||
Form handeling bulk comment deletion
|
||||
"""
|
||||
"""Form handeling bulk comment deletion."""
|
||||
|
||||
accepted_reports = forms.ModelMultipleChoiceField(
|
||||
UVCommentReport.objects.all(),
|
||||
|
Reference in New Issue
Block a user