Hi. I've got a doubt about Django, but the reason I didn't post this on django-users was because the doubt was about Django's behaviour/design. If I was wrong to post here, I'm sorry. The problem occured when I was defining a form class. I made changes in a view, I wrote a form class and I made changes in a template. Then I went to see the result and Django blew with an error similar to this: "Could not import app.views.myview. View does not exist in module app.views.". This would be pretty normal if there was indeed a problem with my view, but after a long while trying to find the problem in it, I found out that the error was instead in my form class where I had tried to use a forms.TextField to get a textarea, which is the wrong way to do it. The same error would have appeared if I made a typo in the field class name instead. My problem is that there was indeed an error, so Django was right to blow in my face, I just wish the error was a bit more to the point.

Now, is this normal, or was it a special case derived by my environment?

Oh, and by the way, I'm using Django version 1.4.3. If this has already been fixed in 1.5 forget this...

--
You received this message because you are subscribed to the Google Groups "Django 
developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to