diff options
author | Andy Doan <andy.doan@linaro.org> | 2012-02-03 17:13:39 -0600 |
---|---|---|
committer | Andy Doan <andy.doan@linaro.org> | 2012-02-07 15:55:16 -0800 |
commit | d297c2845a15734d3d456aeb0c9086573354e19f (patch) | |
tree | 7bb8e3a3c70d767a3437fded1ae0c95f75fb5c54 | |
parent | ddab76d11f2e4fa4acd8c7b1e75e54d5fe9751c2 (diff) | |
download | android_benchmark_views-d297c2845a15734d3d456aeb0c9086573354e19f.tar.gz |
fix nullable issue in comments field
It really only needs to allow for an empty entry. I'm also
adding some help text to the field to describe its usage, since
the name comments could be assumed to be something else.
Signed-off-by: Andy Doan <andy.doan@linaro.org>
Change-Id: Ibd6569a97121c0c00c47b77175873a24d4dc1db1
-rw-r--r-- | android_benchmark_views_app/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android_benchmark_views_app/models.py b/android_benchmark_views_app/models.py index 02da9eb..db8e89b 100644 --- a/android_benchmark_views_app/models.py +++ b/android_benchmark_views_app/models.py @@ -34,7 +34,8 @@ class BenchmarkReport(models.Model): series = models.CharField(max_length=16, unique=True) - comments = models.TextField(blank=True, null=True) + comments = models.TextField(blank=True, null=False, + help_text='Can be used to provide a bit of an executive summary to the report') @models.permalink def get_absolute_url(self): |