diff options
| author | Brian Rosner <brosner@gmail.com> | 2008-03-04 00:18:31 +0000 |
|---|---|---|
| committer | Brian Rosner <brosner@gmail.com> | 2008-03-04 00:18:31 +0000 |
| commit | a88c887631d551aca6176cd31b8a97a15fad8665 (patch) | |
| tree | a112e43a8106ae8d019676c4a557a94c4bee8459 | |
| parent | ba2d0feb72c5df4f72b92a3ccf39436f6fbdaee3 (diff) | |
newforms-admin: Removed an unnecessary import.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/auth/views.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/django/contrib/auth/views.py b/django/contrib/auth/views.py index 65d6b29916..53ae7510cb 100644 --- a/django/contrib/auth/views.py +++ b/django/contrib/auth/views.py @@ -99,7 +99,6 @@ def password_change_done(request, template_name='registration/password_change_do # TODO: move to admin.py in the ModelAdmin def user_change_password(request, id): - from django import oldforms if not request.user.has_perm('auth.change_user'): raise PermissionDenied user = get_object_or_404(User, pk=id) |
