only create main text if its edited

This commit is contained in:
j 2013-02-18 14:18:03 +00:00
parent 6ef7ad809e
commit da3f5855ab

View file

@ -83,9 +83,9 @@ def getText(request):
if qs.count() == 0:
text = models.Text()
text.name = ''
text.text = 'Please put something here'
text.text = ''
text.status = 'public'
text.user = request.user
text.save()
else:
text = qs[0]
else: