[extensions-web: 53/75] OCDitize imports.



commit 5a65a1b62b40c86515e5f3375e2824293497d65f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Sep 22 01:01:00 2011 -0400

    OCDitize imports.

 sweettooth/extensions/models.py |    1 -
 sweettooth/extensions/views.py  |    4 ++--
 sweettooth/review/views.py      |    8 ++++----
 3 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/sweettooth/extensions/models.py b/sweettooth/extensions/models.py
index 0d88ee3..0503d1c 100644
--- a/sweettooth/extensions/models.py
+++ b/sweettooth/extensions/models.py
@@ -8,7 +8,6 @@ except ImportError:
 import uuid
 from zipfile import ZipFile, BadZipfile
 
-from django.core.urlresolvers import reverse
 from django.contrib import auth
 from django.db import models
 from django.dispatch import Signal
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 3fb2af0..099131b 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -4,15 +4,15 @@ try:
 except ImportError:
     import simplejson as json
 
-from django.shortcuts import get_object_or_404, render, redirect
 from django.core.exceptions import ObjectDoesNotExist
 from django.core.urlresolvers import reverse
 from django.contrib.auth.decorators import login_required
 from django.contrib import messages
 from django.http import HttpResponse, HttpResponseForbidden, Http404
+from django.shortcuts import get_object_or_404, render, redirect
+from django.utils.safestring import mark_for_escaping
 from django.views.generic import DetailView, View
 from django.views.generic.detail import SingleObjectMixin
-from django.utils.safestring import mark_for_escaping
 
 from extensions import models
 from extensions.forms import UploadForm
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index eb3d829..8c6c1c5 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -9,12 +9,12 @@ import pygments.util
 import pygments.lexers
 import pygments.formatters
 
-from django.views.generic import View, DetailView, ListView
-from django.views.generic.detail import SingleObjectMixin
-from django.http import HttpResponse, HttpResponseForbidden, Http404
-from django.utils.safestring import mark_safe
 from django.contrib import messages
+from django.http import HttpResponse, HttpResponseForbidden, Http404
 from django.shortcuts import redirect
+from django.utils.safestring import mark_safe
+from django.views.generic import View, DetailView, ListView
+from django.views.generic.detail import SingleObjectMixin
 
 from review.models import CodeReview
 from extensions import models



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]