suomi itsm python manage py syncdb WARNING Django doesn have signals f

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
x@suomi:~/itsm$ python manage.py syncdb
WARNING! Django doesn't have signals for m2m relations. See #5390.Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 272, in execute_manager
utility.execute()
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 219, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 72, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 81, in execute
translation.activate('en-us')
File "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", line 73, in activate
return real_activate(language)
File "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", line 43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 211, in activate
_active[currentThread()] = translation(language)
File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 200, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 183, in _fetch
app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), appname[p+1:])
File "/home/x/itsm/../itsm/history/__init__.py", line 19, in <module>
from history.base import create_history_for_model
File "/home/x/itsm/../itsm/history/__init__.py", line 19, in <module>
from history.base import create_history_for_model
File "/home/x/itsm/history/base.py", line 4, in <module>
from history.helpers import chain_fields, iter_original_fields
File "/home/x/itsm/history/helpers.py", line 6, in <module>
from middleware.requestlocals import request_locals
ImportError: No module named middleware.requestlocals