Browse files

clean imports

  • Loading branch information...
1 parent 1caafe1 commit da39be4c4e016aff946c6837b3256898620f8cb4 @martinfilliau martinfilliau committed Mar 23, 2012
Showing with 4 additions and 6 deletions.
  1. +4 −6 molly/utils/
@@ -3,19 +3,18 @@
from inspect import isfunction
import logging
import itertools
-from datetime import datetime, date, timedelta
+from datetime import datetime, timedelta
from slimmer.slimmer import xhtml_slimmer
from urlparse import urlparse, urlunparse, parse_qs
from urllib import urlencode
import simplejson
from lxml import etree
-from django.db import models
from django.http import (HttpRequest, HttpResponse, HttpResponseBadRequest,
- HttpResponseNotAllowed, HttpResponseForbidden, Http404,
+ HttpResponseNotAllowed, Http404,
HttpResponseRedirect, HttpResponsePermanentRedirect)
-from django.template import loader, Context, RequestContext, TextNode
+from django.template import loader, Context, RequestContext
from django.template.loader_tags import BlockNode, ExtendsNode
from django.shortcuts import render_to_response
from django.core.urlresolvers import reverse, resolve, NoReverseMatch
@@ -27,8 +26,7 @@
logger = logging.getLogger(__name__)
from molly.utils.http import MediaType, HttpResponseSeeOther
-from molly.utils.simplify import (simplify_value, simplify_model,
- serialize_to_xml)
+from molly.utils.simplify import (simplify_value, serialize_to_xml)
from molly.utils.breadcrumbs import NullBreadcrumb
def renderer(format, mimetypes=(), priority=0):

0 comments on commit da39be4

Please sign in to comment.