﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6225	do not find attribute get	Rafael CDB	nobody	"Request Method:	GET[[BR]]
Request URL:	http://127.0.0.1:8000/teste/ [[BR]]
Exception Type:	AttributeError[[BR]]
Exception Value:	'Pessoas' object has no attribute 'get'[[BR]]
Exception Location:	C:\Python25\lib\site-packages\django\newforms\widgets.py in value_from_datadict, line 65[[BR]]
Python Executable:	C:\Python25\python.exe[[BR]]
Python Version:	2.5.1[[BR]]
Python Path:	['C:\\Python\\django\\tutorial', 'C:\\WINDOWS\\system32\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', [[BR]]
'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\\site-packages\\gtk-2.0'][[BR]]


Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/teste/
Django Version: 0.97-pre-SVN-unknown
Python Version: 2.5.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'tutorial.tuto1',
 'tutorial.teste1']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Traceback:
File ""C:\Python25\Lib\site-packages\django\core\handlers\base.py"" in get_response
  82.                 response = callback(request, *callback_args, **callback_kwargs)
File ""C:\Python\django\tutorial\..\tutorial\teste1\views.py"" in index
  13.     return render_to_response('pessoas.html',{'form':f.as_table()})
File ""C:\Python25\Lib\site-packages\django\newforms\forms.py"" in as_table
  152.         return self._html_output(u'<tr><th>%(label)s</th><td>%(errors)s%(field)s%(help_text)s</td></tr>', u'<tr><td colspan=""2"">%s</td></tr>', '</td></tr>', u'<br />%s', False)
File ""C:\Python25\Lib\site-packages\django\newforms\forms.py"" in _html_output
  108.         top_errors = self.non_field_errors() # Errors that should be displayed above all fields.
File ""C:\Python25\Lib\site-packages\django\newforms\forms.py"" in non_field_errors
  168.         return self.errors.get(NON_FIELD_ERRORS, self.error_class())
File ""C:\Python25\Lib\site-packages\django\newforms\forms.py"" in _get_errors
  86.             self.full_clean()
File ""C:\Python25\Lib\site-packages\django\newforms\forms.py"" in full_clean
  183.             value = field.widget.value_from_datadict(self.data, self.files, self.add_prefix(name))
File ""C:\Python25\lib\site-packages\django\newforms\widgets.py"" in value_from_datadict
  65.         return data.get(name, None)

Exception Type: AttributeError at /teste/
Exception Value: 'Pessoas' object has no attribute 'get'"		closed	Forms	dev		invalid			Unreviewed	0	0	0	0	0	0
