Skip to content

Commit

Permalink
set a couple things back to the way they were
Browse files Browse the repository at this point in the history
based on ways we diverged from the og repo
  • Loading branch information
matthewdylan committed Apr 18, 2024
1 parent 37f2475 commit d2ff14f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion taggit/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def set(self, tags, *, through_defaults=None, **kwargs):
else:
new_objs.append(obj)

self.remove(*old_tag_strs)
self.remove(*old_tags)
self.add(*new_objs, through_defaults=through_defaults, **kwargs)

@require_instance_manager
Expand Down
2 changes: 1 addition & 1 deletion taggit/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class Migration(migrations.Migration):
dependencies = [("contenttypes", "0001_initial")]
dependencies = [("contenttypes", "0002_remove_content_type_name")]

operations = [
migrations.CreateModel(
Expand Down
2 changes: 1 addition & 1 deletion taggit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def unidecode(tag):

class TagBase(models.Model):
name = models.CharField(
verbose_name=pgettext_lazy("A tag name", "name"), unique=True, max_length=100
verbose_name=pgettext_lazy("A tag name", "name"), max_length=100
)
slug = models.SlugField(
verbose_name=pgettext_lazy("A tag slug", "slug"),
Expand Down

0 comments on commit d2ff14f

Please sign in to comment.