#11861: TypeError: object.__init__() takes no parameters
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
I`m use revision: 11495
{{{
Traceback (most recent call last):
File "./manage.py", line 16, in <module>
execute_manager(elec.conf.settings)
File "/opt/backup/devel/elec/python/django/core/management/__init__.py",
line 362, in execute_manager
utility.execute()
File "/opt/backup/devel/elec/python/django/core/management/__init__.py",
line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/backup/devel/elec/python/django/core/management/base.py",
line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/opt/backup/devel/elec/python/django/core/management/base.py",
line 213, in execute
translation.activate('en-us')
File
"/opt/backup/devel/elec/python/django/utils/translation/__init__.py", line
73, in activate
return real_activate(language)
File
"/opt/backup/devel/elec/python/django/utils/translation/__init__.py", line
43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File
"/opt/backup/devel/elec/python/django/utils/translation/trans_real.py",
line 205, in activate
_active[currentThread()] = translation(language)
File
"/opt/backup/devel/elec/python/django/utils/translation/trans_real.py",
line 194, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File
"/opt/backup/devel/elec/python/django/utils/translation/trans_real.py",
line 180, in _fetch
app = import_module(appname)
File "/opt/backup/devel/elec/python/django/utils/importlib.py", line 35,
in import_module
__import__(name)
File "/opt/backup/devel/elec/python/django/contrib/admin/__init__.py",
line 1, in <module>
from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
File "/opt/backup/devel/elec/python/django/contrib/admin/helpers.py",
line 13, in <module>
class ActionForm(forms.Form):
File "/opt/backup/devel/elec/python/django/contrib/admin/helpers.py",
line 14, in ActionForm
action = forms.ChoiceField(label=_('Action:'))
File "/opt/backup/devel/elec/python/django/forms/fields.py", line 630,
in __init__
help_text, *args, **kwargs)
File "/opt/backup/devel/elec/python/django/forms/fields.py", line 87, in
__init__
widget = widget()
File "/opt/backup/devel/elec/python/django/forms/widgets.py", line 395,
in __init__
super(Select, self).__init__(attrs)
File "/opt/backup/devel/elec/python/django/forms/widgets.py", line 142,
in __init__
super(Widget, self).__init__(attrs)
TypeError: object.__init__() takes no parameters
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/11861>
Django <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
-~----------~----~----~----~------~----~------~--~---