summaryrefslogtreecommitdiff
path: root/news/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-08 00:23:55 -0500
committerDan McGee <dan@archlinux.org>2010-09-08 00:23:55 -0500
commitf637a1eb67ed906b936ef70c0c1d8572edfe5bd7 (patch)
treea039c5890c1b3017f3245eb518b05f35930f14b8 /news/views.py
parent4e193afcea1c6096c05338ee000447fed72eb7ba (diff)
Move news model to an appropriate place
Never would have guessed it should actually be in news/models.py. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news/views.py')
-rw-r--r--news/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/views.py b/news/views.py
index 39773934..37472115 100644
--- a/news/views.py
+++ b/news/views.py
@@ -8,7 +8,7 @@ from django.views.generic.simple import direct_to_template
import markdown
-from main.models import News
+from .models import News
def view(request, newsid):
return list_detail.object_detail(request, News.objects.all(), newsid,