update django-taggit to 2.0.0
This commit is contained in:
@@ -145,8 +145,10 @@ class Post(models.Model):
|
||||
super().save(*args, **kwargs)
|
||||
|
||||
self.tags.set(
|
||||
*re.findall(r"\#([\d\w-]+)", str(self.subtitle)),
|
||||
*re.findall(r"\#([\d\w-]+)", str(self.title)),
|
||||
[
|
||||
*re.findall(r"\#([\d\w-]+)", str(self.subtitle)),
|
||||
*re.findall(r"\#([\d\w-]+)", str(self.title)),
|
||||
]
|
||||
)
|
||||
|
||||
@property
|
||||
|
||||
@@ -5,7 +5,7 @@ django-environ==0.8.1
|
||||
django-filter==21.1
|
||||
django-static-jquery-ui==1.12.1.1
|
||||
django-softhyphen==1.1.0
|
||||
django-taggit==1.4.0
|
||||
django-taggit==2.0.0
|
||||
djangorestframework==3.12.4
|
||||
configparser==5.0.2
|
||||
docutils==0.17.1
|
||||
|
||||
Reference in New Issue
Block a user