diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-09 17:40:07 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-09 17:40:07 +0100 |
commit | c52d9649218107ed36cdc816b5d872cb030f367c (patch) | |
tree | 16558c6c9a92578f408cf6489eae4bd6029000c7 /templates | |
parent | 964d89e11651a48e8c18c96d011ed5d9a9d97628 (diff) | |
download | archweb-c52d9649218107ed36cdc816b5d872cb030f367c.tar.gz archweb-c52d9649218107ed36cdc816b5d872cb030f367c.tar.xz |
Fix the get_user middleware stuff
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>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions