Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-04 | Add a hacked version of Django UpdateCacheMiddlewarerelease_2010-05-04 | Dan McGee | |
This is to address a rather large issue with caching of feed objects in Django. Because they are built up using an XML library that does multiple writes on a file-like object, a single feed object, even when pulled from memcached, generates 1582 writes to the open socket rather than the optimal one it could do. Some version of this fix will be making it upstream, but I need to figure out how to approach that before I do so and for now this will address one of our larger performance issues on the live site since the packages feed is hit as often as it is. Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2010-02-09 | Fix the get_user middleware stuff | Dan McGee | |
First off, the copyright notice is from the other middleware previously removed, so all of that can go, along with some stragglers in the import list. Next, as stated on http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser, you need to be sure to have the import in the model class be the same as the import used in the middleware declaration, which was not true. Whoops. Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-11-09 | removed RequireLoginMiddleware | Ismael Carnales | |
2008-10-11 | separate copyrighted middleware from my additions | Dusty Phillips | |
2008-10-05 | use an autouser middleware to set the creator of an object | Dusty Phillips | |
2008-04-09 | Added/changed full site login middleware. | eliott | |