On Tue, Mar 15, 2011 at 2:03 PM, hank23 <hversem...@stchas.edu> wrote: > I get the following error whenever I try to go to the index screen of > a new app. I've started: > > ViewDoesNotExist at /mymedia/ > Tried index in module mymedia.views. Error was: 'module' object has no > attribute 'Text'
The rest of the exception traceback would indicate where the error occurs, and give people a clue on what is wrong and how to fix it. Without that, it's just a guess - some other code which you have not shown is attempting to do foo.Text (for some value of foo) and foo doesn't have an attribute Text. Since none of your code (that you pasted) does that, its probably some file you import from views. Do you have a models.py file, and you are incorrectly refering to models.Text (it's models.TextField). Cheers Tom -- 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.