Friday, August 9, 2013

Re: Exception Value: No module named url -- on django poll tutorial

Stack traces help a lot.  Just follow it up from the bottom until it's back in your code.  Then you know where to concentrate.


On Fri, Aug 9, 2013 at 2:31 AM, goreano <goreano@gmail.com> wrote:
HEYYYYYY K1G,   You've got it....  this is a typical case of trees not letting me see the forest....

Thanks a lot for your eagles eye ;-)


El viernes, 9 de agosto de 2013 00:56:11 UTC+2, ke1g escribió:



On Thu, Aug 8, 2013 at 4:18 PM, goreano <gor...@gmail.com> wrote:
Here is the full error trace
 
...
 
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  103.                     resolver_match = resolver.resolve(request.path_info)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve
  319.             for pattern in self.url_patterns:
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in url_patterns
  347.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in urlconf_module
  342.             self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py" in import_module
  35.     __import__(name)
File "/home/amarinetto/Dropbox/formacion/Python/Django/proyectos/mysite/mysite/urls.py" in <module>
  19.     url(r'^polls/', include('polls.url'))

Your root urls.py, line 19 should say:
     url(r'^polls/', include('polls.urls'))
That is, the character before the last single quote on the line should be 's'.

File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py" in include
  25.         urlconf_module = import_module(urlconf_module)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py" in import_module
  35.     __import__(name)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate