Commits

Frank Becker committed ee61231

ugly quick fix for caching issue w/ the redirects

  • Participants
  • Parent commits aa22064

Comments (0)

Files changed (5)

File src/pentasubmitter/settings.py

     'threadedcomments',
     'haystack',
     'djcelery',
+    'tastypie',
 )
 
 DEBUG_TOOLBAR_CONFIG = dict(

File src/pentasubmitter/templates/main.html

 		<div class="eightcol" >
         {% block content %}
         {% endblock %}
+        {% autoescape on %}
         {% block content2 %}
             <div class="news-entry odd" id="news814" >
                 <div class="news-entry-head" >
                 <a href="http://pentamedia.c3d2.de/submit/news-per-next-show/?page=2" class="next" >next ››</a>
             </div>
         {% endblock %}
+        {% endautoescape %}
         </div>
 
 		<div class="fourcol last meta-col" >

File src/submitter/templates/submitter/list_shows.html

                 </a>
             </h2>
             <p>
-                {{ item.excerpt_html|safe|truncatewords:23 }}
+                {{ item.excerpt|truncatewords:23 }}
             </p>
             </div>
         <p>

File src/submitter/templates/submitter/newsentry_detail.html

 {% avatar object.author.user %}
 by: <em>{{ object.author }}</em>
 </p>
-{% if object.excerpt_html %}
+{% if object.excerpt %}
 <h3>Excerpt</h3>
-{{ object.excerpt_html|safe }}
+{{ object.excerpt }}
 {% endif %}
-{% if object.description_html %}
+{% if object.description %}
 <h3>Description</h3>
-{{ object.description_html|safe }}
+{{ object.description }}
 {% endif %}
 <h3>Show</h3>
 <p>

File src/submitter/views.py

         #print "Tags: " + news_entry.tags_string
         news_entry = form.save()
         return HttpResponseRedirect(
-            "/submit/")
+            "/submit/news-per-next-show/")
         #except:
             #    comment = _(u"Encountered an error while saving data.")