My appname was app, ant then I renamed app to app_chart. My application works like a charm, but when I tried to run som unittests today, i got som unexpected error which wasn't there when app was the name of application
File "C:\Python25\lib\site-packages\django\db\models\base.py", line 169, in add_to_class value.contribute_to_class(cls, name) File "C:\Python25\lib\site-packages\django\db\models\options.py", line 53, in contribute_to_class setattr(self, 'verbose_name_plural', meta_attrs.pop('verbose_name_plural', self.verbose_name + 's')) File "C:\Python25\lib\site-packages\django\utils\functional.py", line 42, in __wrapper__ res = self.__func(*self.__args, **self.__kw) File "C:\Python25\lib\site-packages\django\utils\translation\trans_real.py", line 268, in gettext _default = translation(settings.LANGUAGE_CODE) File "C:\Python25\lib\site-packages\django\utils\translation\trans_real.py", line 197, in translation default_translation = _fetch(settings.LANGUAGE_CODE) File "C:\Python25\lib\site-packages\django\utils\translation\trans_real.py", line 180, in _fetch app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), appname[p+1:]) ImportError: No module named app In settings.py I have INSTALLED_APPS = ( 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.auth', "app.app_chart", ) PYTHONPATH is: C:\Documents and Settings\Boris\Desktop\django\app and the testfile is in app folder Any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---