[extensions-web] extensions: Allow a blank description.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] extensions: Allow a blank description.
- Date: Mon, 12 Dec 2011 16:51:46 +0000 (UTC)
commit 5d94f41e7f770f86305ad1ac1252cb6b57427eaf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Dec 12 11:50:55 2011 -0500
extensions: Allow a blank description.
sweettooth/extensions/models.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/models.py b/sweettooth/extensions/models.py
index 7554a20..e46142c 100644
--- a/sweettooth/extensions/models.py
+++ b/sweettooth/extensions/models.py
@@ -67,7 +67,7 @@ class Extension(models.Model):
uuid = models.CharField(max_length=200, unique=True, db_index=True)
slug = autoslug.AutoSlugField(populate_from="name")
creator = models.ForeignKey(User, db_index=True)
- description = models.TextField()
+ description = models.TextField(blank=True)
url = models.URLField(verify_exists=False, blank=True)
created = models.DateTimeField(auto_now_add=True)
@@ -125,7 +125,7 @@ class Extension(models.Model):
for version in self.versions.all():
if version.source:
version.replace_metadata_json()
-
+
@property
def visible_shell_version_map(self):
return build_shell_version_map(self.visible_versions)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]