Commit e7f3b8a5 authored by Michal Čihař's avatar Michal Čihař

Correctly handle change in the edit_template attribute

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f0b14198
......@@ -1180,6 +1180,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
)
changed_setup = (
(old.file_format != self.file_format) or
(old.edit_template != self.edit_template) or
(old.template != self.template)
)
# Detect slug changes and rename git repo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment