Ticket #1223: diffs

File diffs, 999 bytes (added by nick@…, 19 years ago)

Fix for left-over magic in django.parts.auth.formfields and django.views.registration.passwords

Line 
1Index: parts/auth/formfields.py
2===================================================================
3--- parts/auth/formfields.py (revision 1958)
4+++ parts/auth/formfields.py (working copy)
5@@ -1,4 +1,4 @@
6-from django.models.auth import User
7+from django.contrib.auth.models import User
8 from django.core import validators
9 from django import forms
10
11Index: views/registration/passwords.py
12===================================================================
13--- views/registration/passwords.py (revision 1958)
14+++ views/registration/passwords.py (working copy)
15@@ -2,8 +2,8 @@
16 from django.core import validators
17 from django.core.extensions import render_to_response
18 from django.template import Context, RequestContext, loader
19-from django.models.auth import User
20-from django.models.core import Site
21+from django.contrib.auth.models import User
22+from django.contrib.sites.models import Site
23 from django.views.decorators.auth import login_required
24 from django.http import HttpResponseRedirect
25
Back to Top