[extensions-web] upload: Make sure to save the version
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] upload: Make sure to save the version
- Date: Sun, 4 Mar 2012 18:07:10 +0000 (UTC)
commit 6dd6350c8747bcee36c5e8d08fc3dbc662097e71
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 4 12:40:12 2012 -0500
upload: Make sure to save the version
sweettooth/extensions/views.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 903674f..7e344f2 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -404,6 +404,7 @@ def upload_file(request):
status=models.STATUS_NEW)
version.parse_metadata_json(metadata)
version.replace_metadata_json()
+ version.save()
return redirect('extensions-version-detail',
pk=version.pk,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]