Anomalie #1968
ferméCRASH on LOGIN
0%
Description
AttributeError at /accounts/login/
'list' object has no attribute 'all'
Request Method: GET
Request URL: http://192.168.100.204/accounts/login/
Django Version: 1.4.5
Exception Type: AttributeError
Exception Value:
'list' object has no attribute 'all'
Exception Location: /srv/ishtar/archaeological_files/models.py in get_owns, line 228
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/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',
'/srv/ishtar/',
'/usr/local/lib/',
'/usr/local/lib/']
Server time: mer, 23 Jul 2014 01:09:05 +0200
Traceback Switch to copy-and-paste view
/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response
response = response.render()
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/template/response.py in render
self._set_content(self.rendered_content)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/template/response.py in rendered_content
context = self.resolve_context(self.context_data)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/template/response.py in resolve_context
return RequestContext(self._request, context, current_app=self._current_app)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/template/context.py in __init__
self.update(processor(request))
...
▶ Local vars
/srv/ishtar/ishtar_common/context_processors.py in get_base_context
for item in model.get_owns(request.user):
...
▶ Local vars
/srv/ishtar/archaeological_files/models.py in get_owns
return sorted(owns.all(), key=lambda x:(x.has_adminact,
...
▶ Local vars
Mis à jour par Étienne Loks il y a plus de 10 ans
- Statut changé de Nouveau à Résolu
- Description mis à jour (diff)