Author: jkocherhans
Date: 2007-09-25 23:36:33 -0500 (Tue, 25 Sep 2007)
New Revision: 6426

Modified:
   django/branches/newforms-admin/django/contrib/auth/models.py
Log:
newforms-admin: Changed the user add url to use the custom user add view again.

Modified: django/branches/newforms-admin/django/contrib/auth/models.py
===================================================================
--- django/branches/newforms-admin/django/contrib/auth/models.py        
2007-09-25 23:16:11 UTC (rev 6425)
+++ django/branches/newforms-admin/django/contrib/auth/models.py        
2007-09-26 04:36:33 UTC (rev 6426)
@@ -388,5 +388,9 @@
     search_fields = ('username', 'first_name', 'last_name', 'email')
     filter_horizontal = ('user_permissions',)
 
+    def add_view(self, request):
+        from django.contrib.admin.views.auth import user_add_stage
+        return user_add_stage(request)
+
 admin.site.register(Group, GroupAdmin)
 admin.site.register(User, UserAdmin)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to