Anomalie #2970
ferméFINDS : add / crash on validation
0%
Description
AttributeError at /find_creation/done
'function' object has no attribute 'field'
Request Method: GET
Request URL: http://ishtar-test.proxience.net/find_creation/done
Django Version: 1.4.5
Exception Type: AttributeError
Exception Value:
'function' object has no attribute 'field'
Exception Location: /srv/ishtar-ctest/ishtar/ishtar_common/wizards.py in save_model, line 435
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtar-ctest/ishtar/',
'.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7']
Server time: ven, 27 Nov 2015 15:10:31 +0100
Environment:
Request Method: GET
Request URL: http://ishtar-test.proxience.net/find_creation/done
Django Version: 1.4.5
Python Version: 2.7.3
Installed Applications:
['django.contrib.auth',
'django.contrib.admin',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.gis',
'django.contrib.staticfiles',
'django.contrib.formtools',
'south',
'registration',
'ishtar_pdl',
'ishtar_common',
'archaeological_files',
'archaeological_operations',
'archaeological_files_pdl',
'archaeological_context_records',
'archaeological_warehouse',
'archaeological_finds']
Installed Middleware:
['django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware']
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
- response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
- return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch
- response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
- return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get
- ), **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done
- return super(NamedUrlWizardView, self).render_done(form, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done
- done_response = self.done(final_form_list, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/wizards.py" in done
- return_object)
File "/srv/ishtar-ctest/ishtar/ishtar_common/wizards.py" in save_model
- model = m.field.rel.to
Exception Type: AttributeError at /find_creation/done
Exception Value: 'function' object has no attribute 'field'