Re: Tag library not found

2005-10-22 Thread Dan Lipsitt
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: '

Re: Tag library not found

2005-10-22 Thread Dan Lipsitt
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

Re: Tag library not found

2005-10-22 Thread Dan Lipsitt
> 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

Re: Tag library not found

2005-10-24 Thread Dan Lipsitt
I tried on another box and had the same problems, so I filed a ticket: http://code.djangoproject.com/ticket/692

Re: Tag library not found

2005-10-24 Thread Dan Lipsitt
Resolved. See the ticket mentioned above.

Saving a blank OneToOne inline in the admin

2011-12-09 Thread Dan Lipsitt
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