From f3c85569f394b2019fcd56a55bf2d6aacb67e5a5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 11 Aug 2008 20:50:21 -0700 Subject: transition for django 1 alpha2; seems to be all good --- equations/models.py | 6 ++++++ equations/templates/equations/equation_detail.html | 2 +- equations/templates/equations/equation_list.html | 2 +- equations/templates/equations/symbol_detail.html | 2 +- equations/templates/equations/symbol_list.html | 2 +- equations/templates/equations/variable_detail.html | 2 +- equations/templates/equations/variable_list.html | 2 +- 7 files changed, 12 insertions(+), 6 deletions(-) (limited to 'equations') diff --git a/equations/models.py b/equations/models.py index 7a5f8fe..b34a93c 100644 --- a/equations/models.py +++ b/equations/models.py @@ -122,3 +122,9 @@ class Equation(models.Model): signals.post_save.connect(update_render, sender=Equation) #dispatcher.connect(update_render, signal=signals.post_save, sender=Equation) +from django.contrib import admin + +admin.site.register(Symbol) +admin.site.register(Variable) +admin.site.register(Equation) + diff --git a/equations/templates/equations/equation_detail.html b/equations/templates/equations/equation_detail.html index 978b2e1..968e5ef 100644 --- a/equations/templates/equations/equation_detail.html +++ b/equations/templates/equations/equation_detail.html @@ -4,7 +4,7 @@ {% block content %}
-
+
{% if object.description %} diff --git a/equations/templates/equations/equation_list.html b/equations/templates/equations/equation_list.html index 549c38f..9712182 100644 --- a/equations/templates/equations/equation_list.html +++ b/equations/templates/equations/equation_list.html @@ -8,7 +8,7 @@ {% for item in object_list %} {% endfor %} diff --git a/equations/templates/equations/symbol_detail.html b/equations/templates/equations/symbol_detail.html index 85f59d8..b53b1d6 100644 --- a/equations/templates/equations/symbol_detail.html +++ b/equations/templates/equations/symbol_detail.html @@ -4,7 +4,7 @@ {% block content %}
-
+
- + {{ item.name }}
diff --git a/equations/templates/equations/symbol_list.html b/equations/templates/equations/symbol_list.html index 1983b3f..99c4f55 100644 --- a/equations/templates/equations/symbol_list.html +++ b/equations/templates/equations/symbol_list.html @@ -8,7 +8,7 @@ {% for item in object_list %} {% endfor %} diff --git a/equations/templates/equations/variable_detail.html b/equations/templates/equations/variable_detail.html index 6488de2..ceec48c 100644 --- a/equations/templates/equations/variable_detail.html +++ b/equations/templates/equations/variable_detail.html @@ -4,7 +4,7 @@ {% block content %}
-
+
Raw LaTeX:
{{ object.latex }}
- + {{ item.name }}
{% if object.description %} diff --git a/equations/templates/equations/variable_list.html b/equations/templates/equations/variable_list.html index 9ff7a64..dbd6e41 100644 --- a/equations/templates/equations/variable_list.html +++ b/equations/templates/equations/variable_list.html @@ -8,7 +8,7 @@ {% for item in object_list %} {% endfor %} -- cgit v1.2.3
- + {{ item.name }}