summaryrefslogtreecommitdiffstats
path: root/feeds.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 /feeds.py
parent4e193afcea1c6096c05338ee000447fed72eb7ba (diff)
downloadarchweb-f637a1eb67ed906b936ef70c0c1d8572edfe5bd7.tar.gz
archweb-f637a1eb67ed906b936ef70c0c1d8572edfe5bd7.zip
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 'feeds.py')
-rw-r--r--feeds.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/feeds.py b/feeds.py
index 37aa6aaa..b149c4a9 100644
--- a/feeds.py
+++ b/feeds.py
@@ -2,7 +2,9 @@ import datetime
from django.contrib.syndication.views import Feed
from django.db.models import Q
-from main.models import Arch, Repo, Package, News
+
+from main.models import Arch, Repo, Package
+from news.models import News
class PackageFeed(Feed):
link = '/packages/'