From 21f1b34ba331fbcf6cecfba526e2c8182edff8fb Mon Sep 17 00:00:00 2001 From: eliott Date: Wed, 4 Jun 2008 18:50:49 -0700 Subject: Template fix. doh! --- settings.py | 2 +- templates/devel/fellows.html | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/settings.py b/settings.py index 1d086732..515d63bd 100644 --- a/settings.py +++ b/settings.py @@ -42,9 +42,9 @@ LOGIN_URL = '/login/' # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( + 'django.template.loaders.eggs.load_template_source', 'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', -# 'django.template.loaders.eggs.load_template_source', ) MIDDLEWARE_CLASSES = ( diff --git a/templates/devel/fellows.html b/templates/devel/fellows.html index 08eebd35..6750bbc5 100644 --- a/templates/devel/fellows.html +++ b/templates/devel/fellows.html @@ -7,56 +7,56 @@ what it is today. Thanks!

- {% for dev in devs %} - {{ dev.first_name }}{{ dev.last_name.0|upper }}   + {% for fellow in fellows %} + {{ fellow.first_name }}{{ fellow.last_name.0|upper }}   {% endfor %}


- {% for dev in devs %} + {% for fellow in fellows %} -- cgit v1.2.3-2-g168b
- + - + - + - + - + - + - - + - + - + - + - + - + - +
Name:{{ dev.get_full_name }}{{ fellow.get_full_name }}
Alias:{{ dev.get_profile.alias }}{{ fellow.get_profile.alias }}
Email:{{ dev.get_profile.public_email }}{{ fellow.get_profile.public_email }}
Other Contact:{{ dev.get_profile.other_contact }}{{ fellow.get_profile.other_contact }}
Roles:{{ dev.get_profile.roles }}
+
{{ fellow.get_profile.roles }}
Website:{{ dev.get_profile.website }}{{ fellow.get_profile.website }}
Occupation:{{ dev.get_profile.occupation }}{{ fellow.get_profile.occupation }}
YOB:{% if dev.get_profile.yob %}{{ dev.get_profile.yob }}{% else %} {% endif %}{% if fellow.get_profile.yob %}{{ fellow.get_profile.yob }}{% else %} {% endif %}
Location:{{ dev.get_profile.location }}{{ fellow.get_profile.location }}
Languages:{{ dev.get_profile.languages }}{{ fellow.get_profile.languages }}
Interests:{{ dev.get_profile.interests }}{{ fellow.get_profile.interests }}
Favorite Distros:{{ dev.get_profile.favorite_distros }}{{ fellow.get_profile.favorite_distros }}