[snowy] Title has no length limit. Must preserve accurately now that title/content split in API.



commit 1d00a881274f1e63b1fb646915fbe94c656d30d0
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Sat May 23 21:40:50 2009 -0700

    Title has no length limit.  Must preserve accurately now that title/content split in API.
---
 notes/models.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/notes/models.py b/notes/models.py
index 12ef9c9..027e50e 100644
--- a/notes/models.py
+++ b/notes/models.py
@@ -36,7 +36,7 @@ class Note(models.Model):
     modified = models.DateTimeField(auto_now_add=True)
     user_modified = models.DateTimeField(auto_now_add=True)
 
-    title = models.CharField(max_length=128, blank=True)
+    title = models.TextField(blank=True)
     slug = AutoSlugField(unique_with='author', populate_from='title',
                          editable=True)
     content = models.TextField(blank=True)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]