diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-05 21:41:08 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-05 21:41:08 -0400 |
commit | 7d8feb33708331778e360d7b3cd82a2bcd1c46db (patch) | |
tree | f038541b6948f83450560aef865e8ca6cb352c6c | |
parent | a00f85e1332ca973cec807693e383accd9cdc864 (diff) |
drop some unused imports
-rw-r--r-- | news/views.py | 3 | ||||
-rw-r--r-- | packages/views.py | 3 | ||||
-rw-r--r-- | todolists/views.py | 7 |
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 |