summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-08 07:23:55 +0200
committerDan McGee <dan@archlinux.org>2010-09-08 07:23:55 +0200
commitf637a1eb67ed906b936ef70c0c1d8572edfe5bd7 (patch)
treea039c5890c1b3017f3245eb518b05f35930f14b8 /public
parent4e193afcea1c6096c05338ee000447fed72eb7ba (diff)
downloadarchweb-f637a1eb67ed906b936ef70c0c1d8572edfe5bd7.tar.gz
archweb-f637a1eb67ed906b936ef70c0c1d8572edfe5bd7.tar.xz
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 'public')
-rw-r--r--public/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py
index 96c75d6..fa97ade 100644
--- a/public/views.py
+++ b/public/views.py
@@ -1,5 +1,6 @@
-from main.models import Arch, Repo, Donor, News
+from main.models import Arch, Repo, Donor
from mirrors.models import MirrorUrl
+from news.models import News
from . import utils
from django.contrib.auth.models import User