Finally found the problem was a recusive call when I happened to be using the shell. Strange that it would work at all!
In [1]: import tweetlog.views --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /Users/phoebebr/Development/tinywho/<ipython console> in <module>() /Users/phoebebr/Development/tinywho/tweetlog/views.py in <module>() 10 11 ---> 12 from web.views import * 13 from forms import * 14 from django.contrib.auth.decorators import login_required /Users/phoebebr/Development/tinywho/web/views.py in <module>() 4 from tagging.models import * 5 from tweetlog.models import TweetLog ----> 6 from tweetlog.views import parse_tweet, autolink 7 8 ImportError: cannot import name parse_tweet On Jul 20, 11:11 am, phoebebright <phoebebri...@spamcop.net> wrote: > My development environment has just started behaving strangely. If I > cause an error, fix it and call the same URL again (not refresh, just > enter link) I get > > ViewDoesNotExist: Could notimporttweetlog.views. Error was: cannotimportname > parse_tweet > > The module and view are fine and if I go to the home page and click on > the link to the exact same URL it works fine until the next error, > when I have to go back to the home page. It was working fine until > yesterday so I presume I have broken something somewhere but a bit > baffled as to where to look! > > Any ideas welcome. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---