How do I prevent messages getting cached?

2011-12-18 Thread Nathan Geffen
Hi I am using per-view caching in version 1.3 and would prefer to avoid caching in my templates as far as possible. However, I've hit a snag. If the messaging framework generates a message for a cached view, one of two things happen: 1. If the page is not yet in cache, the page gets cached with t

Can the admin be configured to save generic content types with the id of the base model of an inherited model

2011-06-01 Thread Nathan Geffen
Hi I hope this question isn't too obscure. I have a base model (not abstract) called BasicPost. I have a model inheriting from it called PostWithImage. BasicPost has a couple of generic relations. In models.py: class BasicPost(models.Model): ... authors = generic.GenericRelation(Ordered

Query about GenericTabularInline

2010-12-07 Thread Nathan Geffen
Hi I have set up a Generic inline (using generic.GenericTabularInline). It behaves differently (and from my application's point of view, wrongly) from the standard admin.TabularInline in two ways: 1. It doesn't have the plus icon next to foreign key fields that allows users to add new foreign obj