summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/views.py3
-rw-r--r--packages/views.py3
-rw-r--r--todolists/views.py7
3 files changed, 3 insertions, 10 deletions
diff --git a/news/views.py b/news/views.py
index 6fa0d2b5..66e00578 100644
--- a/news/views.py
+++ b/news/views.py
@@ -1,8 +1,5 @@
from django import forms
-from django.http import HttpResponseRedirect
-from django.shortcuts import get_object_or_404
from django.contrib.auth.decorators import permission_required
-from archweb_dev.main.utils import render_response
from archweb_dev.main.models import News
from django.views.generic import list_detail, create_update
diff --git a/packages/views.py b/packages/views.py
index 8210353e..170320ea 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -2,10 +2,9 @@ from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import get_object_or_404
from django.core.mail import send_mail
from django.template import Context, loader
-from django.core import validators
from django.contrib.auth.models import User
from datetime import datetime
-from archweb_dev.main.utils import validate, render_response
+from archweb_dev.main.utils import render_response
from archweb_dev.main.models import Package, PackageFile, PackageDepend
from archweb_dev.main.models import Arch, Repo, Signoff
from django.core.exceptions import ObjectDoesNotExist
diff --git a/todolists/views.py b/todolists/views.py
index fddf26c9..c0e60209 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -1,15 +1,12 @@
-import django.newforms as forms
+from django import forms
-from django.http import HttpResponse, HttpResponseRedirect
+from django.http import HttpResponse
from django.core.mail import send_mail
-from django.template import RequestContext
from django.shortcuts import get_object_or_404
from django.contrib.auth.decorators import permission_required
-from django.contrib.auth.models import User
from django.template import Context, loader
from archweb_dev.main.utils import render_response
from archweb_dev.main.models import Todolist, TodolistPkg, Package
-from archweb_dev.main.models import Arch, Repo
# FIXME: ugly hackery. http://code.djangoproject.com/ticket/3450
import django.db