Skip to content

Commit

Permalink
Remove unneeded tag fields from Pack and Profile models
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Oct 17, 2023
1 parent cc429b4 commit ae9b0a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ class Profile(models.Model):
home_page = models.URLField(null=True, blank=True, default=None)
signature = models.TextField(max_length=256, null=True, blank=True)
sound_signature = models.TextField(max_length=256, null=True, blank=True)
tags = fields.GenericRelation(TaggedItem)
geotag = models.ForeignKey(GeoTag, null=True, blank=True, default=None, on_delete=models.SET_NULL)
has_avatar = models.BooleanField(default=False)
is_whitelisted = models.BooleanField(default=False, db_index=True)
Expand Down
1 change: 0 additions & 1 deletion sounds/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,6 @@ class Pack(models.Model):
num_downloads = models.PositiveIntegerField(default=0) # Updated via db trigger
num_sounds = models.PositiveIntegerField(default=0) # Updated via django Pack.process() method
is_deleted = models.BooleanField(db_index=True, default=False)
tags = fields.GenericRelation(TaggedItem)

VARIOUS_LICENSES_NAME = 'Various licenses'

Expand Down

0 comments on commit ae9b0a0

Please sign in to comment.