Generic ForeignKey in Database Queries

2010-12-06 Thread Katrina
I have a model set up thusly: from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes import generic Item(models.Model): content_type = models.ForeignKey(ContentType) object_id = models.PositiveIntegerField() object = generic.GenericForeignKey()

Modeltranslations Inheritance Problem

2010-10-06 Thread Katrina
I am using the Modeltranslations app to translate some of my model fields. The way the app works is this: you specify which languages you are using in settings.py and which fields you are translating in a translation.py file located in your project folder. At runtime, modeltranslations creates

Makemessages with Templates - Not Working

2010-09-27 Thread Katrina
%} and {% blocktrans %} tags. What else do I need to do for makemessages to work with my templates? Thanks, Katrina -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubs

TypeError upon page load

2010-09-23 Thread Katrina
I am currently in the process of syncing my local copy of a Django app/ project (the website is structured as one giant app plugged into a single project) with a development version that has undergone significant changes since I last worked on it in summer 2009. When I attempt to view my copy of