Skip to content

Commit

Permalink
personal: Remove @register_snppet decorator From Position, Group
Browse files Browse the repository at this point in the history
Only Contact is used as snippet, but not Positon or Group, so remove
the @register_snippet decorator.
  • Loading branch information
donald committed Feb 9, 2025
1 parent 4a2e4c1 commit 879cabe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mpicms/personal/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def include_inactive(self):
return super().get_queryset()


@register_snippet
class Position(models.Model):
title = models.CharField(_("title"), max_length=50)

Expand Down Expand Up @@ -71,7 +70,6 @@ class Meta:
ordering = ["title"]


@register_snippet
class Group(index.Indexed, models.Model):
name = models.CharField(_("name"), max_length=254, blank=True)

Expand Down

0 comments on commit 879cabe

Please sign in to comment.