On 09-12-11 02:23, Mario Gudelj wrote:
I think you have to add "from views import *" to urls.py and make sure
you have a method called contact in your view.

Doing a "star import" is almost always a bad idea. You don't know what you're importing. And you can override variables by accident that way. Better to explicitly import what you need.

In this case the problem was that the original poster imported 'view' a few times from different places. Doing a "*" import would only make that problem worse :-)


Reinout

--
Reinout van Rees                    http://reinout.vanrees.org/
rein...@vanrees.org             http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

--
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