[extensions-web: 6/75] Remove manifests for good.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web: 6/75] Remove manifests for good.
- Date: Fri, 23 Sep 2011 03:14:56 +0000 (UTC)
commit 3f08ffe7736901e32638cd2403cca0718d91e9ed
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 8 20:11:02 2011 -0400
Remove manifests for good.
sweettooth/extensions/models.py | 5 -----
.../extensions/templates/extensions/detail.html | 1 -
.../extensions/templates/extensions/list.html | 1 -
3 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/sweettooth/extensions/models.py b/sweettooth/extensions/models.py
index b01415c..63c2f06 100644
--- a/sweettooth/extensions/models.py
+++ b/sweettooth/extensions/models.py
@@ -172,11 +172,6 @@ class ExtensionVersion(models.Model):
def shell_versions_json(self):
return json.dumps([sv.version_string for sv in self.shell_versions.all()])
- def get_manifest_url(self, request):
- path = reverse('extensions-manifest',
- kwargs=dict(uuid=self.extension.uuid, ver=self.pk))
- return request.build_absolute_uri(path)
-
def make_metadata_json(self):
"""
Return generated contents of metadata.json
diff --git a/sweettooth/extensions/templates/extensions/detail.html b/sweettooth/extensions/templates/extensions/detail.html
index 8b1aa13..fea83e8 100644
--- a/sweettooth/extensions/templates/extensions/detail.html
+++ b/sweettooth/extensions/templates/extensions/detail.html
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% load thumbnail %}
-{% load manifest %}
{% block title %}{{ version.extension.name }} - {{ block.super }}{% endblock %}
{% block body %}
diff --git a/sweettooth/extensions/templates/extensions/list.html b/sweettooth/extensions/templates/extensions/list.html
index 8b479d0..c9243f8 100644
--- a/sweettooth/extensions/templates/extensions/list.html
+++ b/sweettooth/extensions/templates/extensions/list.html
@@ -1,5 +1,4 @@
{% extends "base.html" %}
-{% load manifest %}
{% block body %}
<ul class="extensions">
{% for extension in extensions %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]