1. Mitsukuni Sato
  2. django-journal

Commits

Mitsukuni Sato  committed 898b84f

fix crash bug when save entry

  • Participants
  • Parent commits 5651121
  • Branches default

Comments (0)

Files changed (2)

File journal/models.py

View file
         if m is not None:
             self.text_s = m.group(1).strip()
         else:
-            self.text_s = None
+            self.text_s = ''
 
         super(Entry, self).save(*args, **kwargs)
 

File pip-requirements.txt

View file
+django
+django-debug-toolbar
+django-tagging
+docutils
+pygments