I run a rss feed app on my computer with django 0.96.

This has worked out well for several months. Now I get an error when I
try to call the update view function. This function is supposed to
take me back to a html-page with this line :
    return HttpResponseRedirect(request.META.get('HTTP_REFERER',
reverse(index)))
but instead I get an error.

The error message reads :
ViewDoesNotExist at /myapp/update/
Could not import defaults. Error was: No module named defaults

This refers, I guess, to the line "from django.conf.urls.defaults
import *"
 in mysite/urls.py. I can import this module in a python shell, so I
don't know why django is complaining all of a sudden. To my knowledge
I haven't altered any code that should affect the functioning of this
view.

Please find enclosed the traceback below.

Any ideas on how I can sort this out would be appreciated.

Robert


Traceback (most recent call last):
File "C:\Python25\lib\site-packages\django\core\handlers\base.py" in
get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "c:/PyProjects\mysite\feedme\views.py" in update_all
  28. return HttpResponseRedirect(request.META.get('HTTP_REFERER',
reverse(index)))
File "C:\Python25\lib\site-packages\django\core\urlresolvers.py" in
reverse
  241. return '/' + resolver.reverse(viewname, *args, **kwargs)
File "C:\Python25\lib\site-packages\django\core\urlresolvers.py" in
reverse
  215. elif pattern.callback == lookup_view:
File "C:\Python25\lib\site-packages\django\core\urlresolvers.py" in
_get_callback
  127. raise ViewDoesNotExist, "Could not import %s. Error was: %s" %
(mod_name, str(e))

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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