[extensions-web] Change the report error view template filename to be less confusing.



commit 84af8d77b9c8395a986a06361cdeb7a25d280025
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Sep 26 11:49:07 2011 -0400

    Change the report error view template filename to be less confusing.

 .../{error-report.html => report.html}             |    0
 sweettooth/errorreports/views.py                   |    2 +-
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/errorreports/templates/errorreports/error-report.html b/sweettooth/errorreports/templates/errorreports/report.html
similarity index 100%
rename from sweettooth/errorreports/templates/errorreports/error-report.html
rename to sweettooth/errorreports/templates/errorreports/report.html
diff --git a/sweettooth/errorreports/views.py b/sweettooth/errorreports/views.py
index 7f9b430..3cdc43f 100644
--- a/sweettooth/errorreports/views.py
+++ b/sweettooth/errorreports/views.py
@@ -9,7 +9,7 @@ from extensions.models import ExtensionVersion, VISIBLE_STATUSES
 class ReportErrorView(DetailView):
     queryset = ExtensionVersion.objects.filter(status__in=VISIBLE_STATUSES)
     context_object_name = "version"
-    template_name = "errorreports/error-report.html"
+    template_name = "errorreports/report.html"
 
     def post(self, request, *args, **kwargs):
         self.object = self.get_object()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]