Mercurial > public > sg101
diff gpp/news/views.py @ 259:75ea1a8be7f2
Fix some old import problems where I used 'from django.contrib import auth' instead of 'from django.contrib.auth.models import User'. Also some formatting changes while I was in there.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 21 Sep 2010 23:49:05 +0000 |
parents | 27bee3ac85e6 |
children | 24f1230f3ee3 |
line wrap: on
line diff
--- a/gpp/news/views.py Tue Sep 21 23:08:36 2010 +0000 +++ b/gpp/news/views.py Tue Sep 21 23:49:05 2010 +0000 @@ -6,7 +6,6 @@ from django.shortcuts import render_to_response from django.template import RequestContext from django.template.loader import render_to_string -from django.contrib import auth from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.shortcuts import get_object_or_404