Re: 'admin_list' is not a valid tag library

2008-01-29 Thread David Sauve

Thanks, I figured out the problem.

For anyone else that might experience this; in my case I had created a
new app named "calendar" which, obviously, conflicted with the Python
system's calendar module.

I've opened a ticket to have the error message clarified for future
users, if it's possible.  Maybe something that indicates which module
Django tried to read the missing symbols from instead of just an error
indicating it couldn't find them.

We'll see if anyone else agrees with me.

David

On Jan 29, 2008 3:49 PM, George Herndon <[EMAIL PROTECTED]> wrote:
>
> david,
>
> i'm a newbie too, but found this bug report and was able to work
> around the issue.  see my comment for how what worked for me.  it
> would seem the install doesn't move the admin templates correctly.
>
> others more knowledgeable than me should comment.
>
> http://code.djangoproject.com/ticket/653#comment:6
>
> George Herndon
> [EMAIL PROTECTED]
>
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



'admin_list' is not a valid tag library

2008-01-29 Thread David Sauve

Hi All,

Working my way through the Django tutorials and I've run into a bit of
snag on tutorial 2.  After enabling the admin module, I get the
following error when I try to view any of the items in the interface
(i.e, if I click on "Polls")

"admin_list' is not a valid tag library: Could not load template
library from django.templatetags.admin_list, cannot import name
isleap"

Environment:

Request Method: GET
Request URL: http://localhost:8000/admin/polls/poll/
Django Version: 0.97-pre-SVN-7049
Python Version: 2.5.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'portablehole.polls']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Template error:
In template 
f:\python25\lib\site-packages\django\contrib\admin\templates\admin\change_list.html,
error at line 2
   'admin_list' is not a valid tag library: Could not load template
library from django.templatetags.admin_list, cannot import name isleap
   1 : {% extends "admin/base_site.html" %}

   2 :  {% load adminmedia admin_list i18n %}

   3 : {% block stylesheet %}{% admin_media_prefix
%}css/changelists.css{% endblock %}

   4 : {% block bodyclass %}change-list{% endblock %}

   5 : {% if not is_popup %}{% block breadcrumbs %}{% trans "Home" %} ›
{{ cl.opts.verbose_name_plural|capfirst|escape }}{% endblock
%}{% endif %}

   6 : {% block coltype %}flex{% endblock %}

   7 : {% block content %}

   8 : 

   9 : {% block object-tools %}

   10 : {% if has_add_permission %}

   11 : {% blocktrans with
cl.opts.verbose_name|escape as name %}Add {{ name }}{% endblocktrans
%}

   12 : {% endif %}


Traceback:
File "" in ?


Exception Type: TemplateSyntaxError at /admin/polls/poll/
Exception Value: 'admin_list' is not a valid tag library: Could not
load template library from django.templatetags.admin_list, cannot
import name isleap

Has anybody seen this before?  If so, do you know how to fix it?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---