#5583: admin crashes on edit form pages since r6342
------------------------------+---------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody         
  Status:  new                |   Component:  Admin interface
 Version:  newforms-admin     |    Keywords:  newforms-admin 
   Stage:  Unreviewed         |   Has_patch:  0              
------------------------------+---------------------------------------------
 Only r6327 of the newforms-admin is usable for me right now. Since r6342,
 attempting to edit an object results in the following error:

 {{{
 Traceback (most recent call last):
 File "/home/sjulean/projects/django/django/core/handlers/base.py" in
 _real_get_response
   81. response = callback(request, *callback_args, **callback_kwargs)
 File "/home/sjulean/projects/django/django/contrib/admin/sites.py" in root
   136. return self.model_page(request, *url.split('/', 2))
 File "/home/sjulean/projects/django/django/contrib/admin/sites.py" in
 model_page
   153. return admin_obj(request, rest_of_url)
 File "/home/sjulean/projects/django/django/contrib/admin/options.py" in
 __call__
   245. return self.add_view(request)
 File "/home/sjulean/projects/django/django/contrib/admin/options.py" in
 add_view
   474. form = ModelForm(initial=request.GET)
 File "/home/sjulean/projects/django/django/newforms/forms.py" in __init__
   81. self.fields = self.base_fields.copy()
 File "/home/sjulean/projects/django/django/newforms/forms.py" in copy
   34. return SortedDictFromList([(k, copy.deepcopy(v)) for k, v in
 self.items()])
 File "/home/sjulean/projects/django/django/newforms/fields.py" in
 __deepcopy__
   107. result.widget = copy.deepcopy(self.widget, memo)

   TypeError at /admin/auth/user/add/
   instancemethod expected at least 2 arguments, got 0
 }}}

 I can always reproduce this error by simply starting a new project,
 enabling the admin interface from settings and urls, doing a syncdb, and
 opening /admin/auth/user/add/.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5583>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
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