summaryrefslogtreecommitdiff
path: root/news/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-09 10:40:07 -0600
committerDan McGee <dan@archlinux.org>2010-02-09 10:40:07 -0600
commitc52d9649218107ed36cdc816b5d872cb030f367c (patch)
tree16558c6c9a92578f408cf6489eae4bd6029000c7 /news/views.py
parent964d89e11651a48e8c18c96d011ed5d9a9d97628 (diff)
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 'news/views.py')
0 files changed, 0 insertions, 0 deletions