1
0
Fork 0

Adds model and beginning of boilerplate for tags

This commit is contained in:
Mouse Reeve 2020-02-20 18:01:50 -08:00
parent 9c645c6ab6
commit 13b512b569
8 changed files with 57 additions and 3 deletions

View file

@ -54,3 +54,9 @@ class EditUserForm(ModelForm):
fields = ['avatar', 'name', 'summary']
help_texts = {f: None for f in fields}
class TagForm(ModelForm):
class Meta:
model = models.Tag
fields = ['name']
help_texts = {f: None for f in fields}