i think the change has not hit the database. if your database is still
empty then try doing python manage.py reset appname - that clears
whole app database though.

Alan

On Apr 15, 6:24 am, CrabbyPete <pete.do...@gmail.com> wrote:
> I am just starting coding with django. So please bear with me.
>
> I made a change to my User model so the field email_addr is now email.
> I deleted the database, made new tables with manage.py, did a resync,
> and changed all the code that refered to email_addr to email.
> Everything looks fine, but I still get Ithe following error  when I
> looked at my database with the admin. Is there some
>
> Caught an exception while rendering: 'User' object has no attribute
> 'email_addr'Request Method: GET
> Request URL:http://localhost:8000/admin/base/message/1/
> Exception Type: TemplateSyntaxError
> Exception Value: Caught an exception while rendering: 'User' object
> has no attribute 'email_addr'
> Exception Location: C:\Python26\lib\site-packages\django\template
> \debug.py in render_node, line 81
> Python Executable: C:\Python26\pythonw.exe
> Python Version: 2.6.1
> Python Path: [u'C:\\Django\\spot', u'C:\\Django', 'C:\\Documents and
> Settings\\pdouma\\Application Data\\PyScripter', 'C:\\Python26\\lib\
> \site-packages\\setuptools-0.6c9-py2.6.egg', 'C:\\Python26\\lib\\site-
> packages\\elixir-0.6.1-py2.6.egg', 'C:\\Python26\\lib\\site-packages\
> \tesla-0.2.5-py2.6.egg', 'C:\\Python26\\lib\\site-packages\
> \authkit-0.4.3-py2.6.egg', 'C:\\Python26\\lib\\site-packages\
> \migrate-0.2.2-py2.6.egg', 'C:\\Python26\\lib\\site-packages\
> \pil-1.1.7a2-py2.6-win32.egg', 'C:\\Python26\\lib\\site-packages\
> \pylint-0.18.0-py2.6.egg', 'C:\\Python26\\lib\\site-packages\
> \logilab_astng-0.19.0-py2.6.egg', 'C:\\Python26\\lib\\site-packages\
> \logilab_common-0.39.0-py2.6.egg', 'C:\\WINDOWS\\system32\
> \python26.zip', 'C:\\Python26\\DLLs', 'C:\\Python26\\lib', 'C:\
> \Python26\\lib\\plat-win', 'C:\\Python26\\lib\\lib-tk', 'C:\
> \Python26', 'C:\\Python26\\lib\\site-packages', 'C:\\Python26\\lib\
> \site-packages\\PIL', 'C:\\Python26\\lib\\site-packages\\win32', 'C:\
> \Python26\\lib\\site-packages\\win32\\lib', 'C:\\Python26\\lib\\site-
> packages\\Pythonwin']
> Server time: Tue, 14 Apr 2009 16:36:05 -0400
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to