On ne change la catégorie que si elle n'est pas définie
This commit is contained in:
parent
760ba7b75e
commit
4b97f8c222
@ -705,6 +705,7 @@ class Event(models.Model):
|
||||
self.exact_location = p
|
||||
break
|
||||
# try to detect category
|
||||
if not self.category:
|
||||
CategorisationRule.apply_rules(self)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user