I am getting an error similar to Tom's after I login to admin:
=
File
"/usr/lib/python2.4/site-packages/django-1.0.0-py2.4.egg/django/core/template/defaulttags.py",
line 627, in do_load
raise TemplateSyntaxError, "'%s' is not a valid tag library" %
taglib
TemplateSyntaxError: '
Thanks Jeremy, yes I did.
I'm early on in my development process, so I just deleted my db and
recreated my project directory, only copying over my models dir. So
almost everything should be fresh. Plus this happens right after I
submit my user name and password in the admin, which makes me think
> Try this from the Python interactive interpreter:
>
> >>> from django.contrib.admin.templatetags import log
>
> If that raises an exception, it might give you some useful information.
It imported fine.
> Also, do you have "django.contrib.admin" in your INSTALLED_APPS?
Yes, I do. I don't think
I tried on another box and had the same problems, so I filed a ticket:
http://code.djangoproject.com/ticket/692
Resolved. See the ticket mentioned above.
How do I ensure that a blank InlineModelAdmin is saved when the parent
form is submitted? Here's a simplified version of my code:
class Flagset(Model):
group = OneToOneField(Group)
flag = BooleanField()
class FlagsetInline(TabularInline):
model = Flagset
class GroupAdmin(ModelA
6 matches
Mail list logo