summaryrefslogtreecommitdiff
path: root/news/views.py
diff options
context:
space:
mode:
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,