X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Fviews.py;h=dd722c63c4f16d6c105cfefdb96ece5ce244ebdd;hb=434b32214711c1a0920ed7d4d890c67defcbd731;hp=60d349081bfd6d7b5122e146f28185c4e629e420;hpb=0f18ed8f5e179326721221df93734864074bc185;p=mediagoblin.git diff --git a/mediagoblin/views.py b/mediagoblin/views.py index 60d34908..dd722c63 100644 --- a/mediagoblin/views.py +++ b/mediagoblin/views.py @@ -14,14 +14,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import datetime - -from webob import Response, exc -import wtforms -from pymongo import DESCENDING -from mongokit import ObjectId -from mediagoblin.db import models -import gettext +from webob import Response +from mediagoblin.db.util import DESCENDING def root_view(request): media_entries = request.db.MediaEntry.find(