Hmmm....just remembered to try: {% load comment_utils %}
Still doesn't work though. I just get: 'comments' is not a valid tag library: Could not load template library from django.templatetags.comments, No module named contenttypes.models On Mar 7, 10:36 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks for posting an update to your original problem. I didn't even > think about looking at comment_utils but that was definitely my > problem. > > Now I can't figure out what to put in my templates to load comments. > Before, I used {% load comments %} and it worked just fine. > > Any ideas? > > On Jan 20, 6:55 am, MichaelMartinides <[EMAIL PROTECTED]> > wrote: > > > ah, found the issue, > > > I used comment-utils to create a moderator. > > > After changing the import statement in comment_utils.moderation to > > mysite.comments.models import FreeComment it also works in mod_python > > > Although I still have no understanding for why it first worked with > > runserver and not with mod_python I'm happy now. > > > Cheers, > > >>MM > > > On Jan 20, 11:44 am, MichaelMartinides <[EMAIL PROTECTED]> > > wrote: > > > > Hi all, > > > > I dont know where to search anymore. I copied django.contrib.comments > > > into my project directory and adapted it to my needs (eg email field > > > to freecomments, forms, import statements, etc.) > > > > When running the project with python manage runserver everything works > > > as it should. > > > > But when running with mod_python in apache2, somehow the > > > django.contrib.commentsgets loaded instead (e.g. when looking at the > > > model documentation in the admin, I dont see my new fields, etc.). > > > > I've tried quite a view things, but I cannot find my mistake. > > > > Glad for any hints, > > > >>Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---