route-nazionale / bureau_manager

This software will help to organize the central bureau, the access bureau and OneTeam bureau
GNU Affero General Public License v3.0
0 stars 0 forks source link

baco sull'aggiunta persona in interfaccia sostituzione #23

Closed gmgp closed 10 years ago

gmgp commented 10 years ago

cliccando sul più di fianco al menu a scelta del sostituto

dare un occhio e poi soluzione radicale togliere il più

Environment:

Request Method: GET
Request URL: http://stage.bureau-manager.rn2014.it/admin/edda/humen/add/?_to_field=cu

Django Version: 1.7b4
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'edda',
 'suit',
 'django.contrib.admin')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in wrapper
  550.                 return self.admin_site.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  105.                     response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
  52.         response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in inner
  204.             return view(request, *args, **kwargs)
File "/var/www/stage.bureau_manager/edda/admin.py" in add_view
  268.         return super(BaseHumenAdmin, self).add_view(request, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in add_view
  1417.         return self.changeform_view(request, None, form_url, extra_context)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapper
  29.             return bound_func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  105.                     response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in bound_func
  25.                 return func.__get__(self, type(self))(*args2, **kwargs2)
File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py" in inner
  394.                 return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in changeform_view
  1356.         ModelForm = self.get_form(request, obj)
File "/var/www/stage.bureau_manager/edda/admin.py" in get_form
  227.         form = super(BaseHumenAdmin, self).get_form(request, obj)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in get_form
  637.                              % (e, self.__class__.__name__))

Exception Type: FieldError at /admin/edda/humen/add/
Exception Value: Unknown field(s) (sostituito_da, arrivato_al_quartiere_display, arrivato_al_campo_display) specified for Humen. Check fields/fieldsets/exclude attributes of class BaseHumenAdmin.
feroda commented 10 years ago

chiuso con lavori vari. Nemmeno l'aggiungi persona classico funzionava piu' :)