MPBA / transafealp

The TranSafeAlp-JITES project aims to provide a system of knowledge to the authorities that govern the regional transport and civil protection in order to monitor the flow of interregional traffic with the possibility of early detection of possible critical points.
1 stars 0 forks source link

AttributeError at / (home) #3

Closed droghetti closed 11 years ago

droghetti commented 11 years ago

I updated my branches with version "master" and after i have problem to display the home page. Any suggestion?

type object 'ManagingAuthority' has no attribute 'DoesNotExists'
Request Method: GET
Request URL:    http://localhost:8000/
Django Version: 1.5.1
Exception Type: AttributeError
Exception Value:    
type object 'ManagingAuthority' has no attribute 'DoesNotExists'
Exception Location: /media/datapart/fbk/code/tsa/transafealp/views.py in main_view, line 15
Python Executable:  /media/datapart/fbk/code/tsa/.venv/bin/python
Python Version: 2.7.3
Python Path:    
['/media/datapart/fbk/code/tsa',
 '/media/datapart/fbk/code/tsa/.venv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
 '/media/datapart/fbk/code/tsa/.venv/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg',
 '/media/datapart/fbk/code/tsa/.venv/lib64/python27.zip',
 '/media/datapart/fbk/code/tsa/.venv/lib64/python2.7',
 '/media/datapart/fbk/code/tsa/.venv/lib64/python2.7/plat-linux2',
 '/media/datapart/fbk/code/tsa/.venv/lib64/python2.7/lib-tk',
 '/media/datapart/fbk/code/tsa/.venv/lib64/python2.7/lib-old',
 '/media/datapart/fbk/code/tsa/.venv/lib64/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib64/python2.7',
 '/media/datapart/fbk/code/tsa/.venv/lib/python2.7/site-packages',
 '/home/droghetti/.local/lib/python2.7/site-packages',
 '/usr/lib/python2.7/site-packages',
 '/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info',
 '/usr/lib64/python2.7/site-packages',
 '/usr/lib64/python2.7/site-packages/PIL',
 '/usr/lib64/python2.7/site-packages/gst-0.10',
 '/usr/lib64/python2.7/site-packages/gtk-2.0']
Server time:    Mon, 6 May 2013 16:12:55 +0200
franchg commented 11 years ago

what db are you using?

droghetti commented 11 years ago

transafe_dev @ geopg, it's correct?

franchg commented 11 years ago

yes, correct. a cache problem maybe?

ernestoarbitrio commented 11 years ago

bug fixed! My fault!! DoesNotExists -> DoesNotExist