Hi,

I'm trying to get Blogmaker  (.6 Jan 2) running.  I'm using django
trunk from today, but got the same error on an older trunk.

Dbsync created the databases properly, and the front-end is showing
without error, although there are no entries.

Admin is giving this error on a template.  {{ LANGUAGE_CODE }} is in
red:

TypeError at /admin/
argument of type 'bool' is not iterable

Any help would be appreciated

--Greg

p.s.
Here is a dump of the error screen:

Environment:

Request Method: GET
Request URL: http://localhost:8181/admin/
Django Version: 0.97-pre-SVN-unknown
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.humanize',
 'django.contrib.sites',
 'django.contrib.markup',
 'django.contrib.admin',
 'blog',
 'comments',
 'util']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Template error:
In template /Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/contrib/admin/templates/admin/
base.html, error at line 2
   Caught an exception while rendering: argument of type 'bool' is not
iterable
   1 : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>


   2 : <html xmlns="http://www.w3.org/1999/xhtml";
lang=" {{ LANGUAGE_CODE }} " xml:lang="{{ LANGUAGE_CODE }}" {% if
LANGUAGE_BIDI %}dir="rtl"{% endif %}>


   3 : <head>


   4 : <title>{% block title %}{% endblock %}</title>


   5 : <link rel="stylesheet" type="text/css" href="{% block
stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/
base.css{% endblock %}" />


   6 : {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css"
href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{%
endblock %}" />{% endif %}


   7 : {% block extrastyle %}{% endblock %}


   8 : {% block extrahead %}{% endblock %}


   9 : {% block blockbots %}<meta name="robots"
content="NONE,NOARCHIVE" />{% endblock %}


   10 : </head>


   11 : {% load i18n %}


   12 :


Traceback:
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
site-packages/django/template/debug.py" in render_node
  71.             result = node.render(context)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
site-packages/django/template/debug.py" in render
  87.             output =
force_unicode(self.filter_expression.resolve(context))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
site-packages/django/template/__init__.py" in resolve
  526.                         invalid_var_format_string = '%s' in
settings.TEMPLATE_STRING_IF_INVALID

Exception Type: TypeError at /admin/
Exception Value: argument of type 'bool' is not iterable






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to