# "C:/www/django/templates". Always use forward slashes, even on
# Windows. Don't forget to use absolute paths, not relative
# paths.
+ INSTANCE('templates'),
)
INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
+ 'diario',
'ema.eventos',
)
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link href="/site_media/css/geral.css" rel="stylesheet" type="text/css" />
+ <title>Gerenciador de eventos</title>
+ </head>
+ <body>
+ <h1>Gerenciador de eventos</h1>
+ <em>Livre para aprimorar</em>
+ {% block content %}
+ {% endblock %}
+ </body>
+</html>
--- /dev/null
+{% extends "base.html" %}
+
+{% block content %}
+
+<h2>{{ entry.title }}</h2>
+{{ entry.body|safe }}
+<p>Posted on {{ entry.pub_date|date:"F j, Y" }}</p>
+
+{% endblock %}
--- /dev/null
+{% extends "base.html" %}
+
+{% block content %}
+
+{% for entry in entry_list %}
+ <h3><a href="{{ entry.get_absolute_url }}">{{ entry.title }}</a></h3>
+ {{ entry.body|safe }}
+ <p>Posted on {{ entry.pub_date|date:"F j, Y" }}</p>
+{% endfor %}
+
+{% endblock %}