diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-04-30 09:47:03 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-04-30 09:47:03 +0200 |
commit | 3ac9cab8bd7b44c0cdf4f0a39ea378542061184e (patch) | |
tree | 9ba0aac6a1dd7f39433ff1b82b41ebc013b6d819 /hyperkitty/models.py | |
parent | 8fec233f410364e9a765b1016c6b3909e025c8c8 (diff) | |
download | hyperkitty-3ac9cab8bd7b44c0cdf4f0a39ea378542061184e.tar.gz hyperkitty-3ac9cab8bd7b44c0cdf4f0a39ea378542061184e.tar.xz hyperkitty-3ac9cab8bd7b44c0cdf4f0a39ea378542061184e.zip |
Allow longer list names in the database
Diffstat (limited to 'hyperkitty/models.py')
-rw-r--r-- | hyperkitty/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/models.py b/hyperkitty/models.py index 9cfb4ef..1184316 100644 --- a/hyperkitty/models.py +++ b/hyperkitty/models.py @@ -28,7 +28,7 @@ from django.contrib import admin class Rating(models.Model): # @TODO: instead of list_address, user list model from kittystore? - list_address = models.CharField(max_length=50) + list_address = models.CharField(max_length=255) # @TODO: instead of messsageid, use message model from kittystore? messageid = models.CharField(max_length=100) @@ -62,7 +62,7 @@ class UserProfile(models.Model): class Tag(models.Model): # @TODO: instead of list_address, user list model from kittystore? - list_address = models.CharField(max_length=50) + list_address = models.CharField(max_length=255) # @TODO: instead of threadid, use thread model from kittystore? threadid = models.CharField(max_length=100) @@ -78,7 +78,7 @@ admin.site.register(Tag) class Favorite(models.Model): - list_address = models.CharField(max_length=50) + list_address = models.CharField(max_length=255) threadid = models.CharField(max_length=100) user = models.ForeignKey(User) |