mirror of
https://github.com/daniviga/django-ram.git
synced 2025-12-05 13:38:43 +01:00
Add more filters and search refactoring
This commit is contained in:
@@ -114,7 +114,7 @@ class Tag(models.Model):
|
||||
|
||||
|
||||
@receiver(models.signals.pre_save, sender=Tag)
|
||||
def tag_pre_save(sender, instance, **kwargs):
|
||||
def slug_pre_save(sender, instance, **kwargs):
|
||||
instance.slug = slugify(instance.name)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user