Commits

Gregory Petukhov committed fcd068a

Remove stupid alias null setting

  • Participants
  • Parent commits ae0b2d2

Comments (0)

Files changed (1)

article/signals.py

 def article_pre_save(instance, **kwargs):
     instance.teaser = normalize_html(instance.teaser)
     instance.content = normalize_html(instance.content)
-    if instance.alias == "":
-        instance.alias = None