Comment #6 on issue 1481 by ledmonster: Review Board 500 error if testing
done is over 65535 characters (or a bit smaller)
http://code.google.com/p/reviewboard/issues/detail?id=1481
sorry, diff above is invalid. new one here:
diff --git a/djblets/util/fields.py b/djblets/util/fields.py
index 33b901b..30671fc 100644
--- a/djblets/util/fields.py
+++ b/djblets/util/fields.py
@@ -149,8 +149,8 @@ class JSONField(models.TextField):
**kwargs)
self.encoder = encoder
- def db_type(self, connection=None):
- return "text"
+ def get_internal_type(self):
+ return "TextField"
def contribute_to_class(self, cls, name):
def get_json(model_instance):
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.