Hello, I am new to django and I am writing a simple blog application. For my app I am using markdown in order to write the texts.
The issue is that the markdown plugin doesn't render my text files. I have attached my views.py and my template file Regards, Giorgos -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/VlwsKwJRKN8J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.{% extends "base.html" %} {% load markup %} {% block posts %} {% for post in posts %}
{{ post.author }}
{{ post.date }}
{{ post.title }} {% autoescape off %} {{ post.content }} {% endautoescape %}
{% endif %}# Copyright 2012 by Giorgos Tsiapaliokas <terie...@gmail.com> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. from django.shortcuts import render_to_response from posts import Posts def home(request): p = Posts() print p.posts()[0]["content"] return render_to_response('posts.html', { "posts": p.posts() }) def posts(resquest, post_id): return render_to_response('posts.html', {})