Environment Request Method GET Request URL http 10 120 admin Django Ve

 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Environment:
Request Method: GET
Request URL: http://10.0.4.120/admin/
Django Version: 1.0-alpha-SVN-8066
Python Version: 2.4.3
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'service',
'problematic']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')
Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response
87. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.4/site-packages/django/contrib/admin/sites.py" in root
138. if not self.has_permission(request):
File "/usr/lib/python2.4/site-packages/django/contrib/admin/sites.py" in has_permission
117. return request.user.is_authenticated() and request.user.is_staff
File "/usr/lib/python2.4/site-packages/django/contrib/auth/middleware.py" in __get__
5. request._cached_user = get_user(request)
File "/usr/lib/python2.4/site-packages/django/contrib/auth/__init__.py" in get_user
80. user_id = request.session[SESSION_KEY]
File "/usr/lib/python2.4/site-packages/django/contrib/sessions/backends/base.py" in __getitem__
33. return self._session[key]
File "/usr/lib/python2.4/site-packages/django/contrib/sessions/backends/base.py" in _get_session
147. self._session_cache = self.load()
File "/usr/lib/python2.4/site-packages/django/contrib/sessions/backends/db.py" in load
17. expire_date__gt=datetime.datetime.now()
File "/usr/lib/python2.4/site-packages/django/db/models/manager.py" in get
82. return self.get_query_set().get(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/django/db/models/query.py" in get
296. clone = self.filter(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/django/db/models/query.py" in filter
479. return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/django/db/models/query.py" in _filter_or_exclude
497. clone.query.add_q(Q(*args, **kwargs))
File "/usr/lib/python2.4/site-packages/django/db/models/sql/query.py" in add_q
1160. can_reuse=used_aliases)
File "/usr/lib/python2.4/site-packages/django/db/models/sql/query.py" in add_filter
1038. alias, True, allow_many, can_reuse=can_reuse)
File "/usr/lib/python2.4/site-packages/django/db/models/sql/query.py" in setup_joins
1198. field, model, direct, m2m = opts.get_field_by_name(name)
File "/usr/lib/python2.4/site-packages/django/db/models/options.py" in get_field_by_name
274. cache = self.init_name_map()
File "/usr/lib/python2.4/site-packages/django/db/models/options.py" in init_name_map
300. for f, model in self.get_all_related_m2m_objects_with_model():
File "/usr/lib/python2.4/site-packages/django/db/models/options.py" in get_all_related_m2m_objects_with_model
377. cache = self._fill_related_many_to_many_cache()
File "/usr/lib/python2.4/site-packages/django/db/models/options.py" in _fill_related_many_to_many_cache
391. for klass in get_models():
File "/usr/lib/python2.4/site-packages/django/db/models/loading.py" in get_models
136. self._populate()
File "/usr/lib/python2.4/site-packages/django/db/models/loading.py" in _populate
57. self.load_app(app_name, True)
File "/usr/lib/python2.4/site-packages/django/db/models/loading.py" in load_app
72. mod = __import__(app_name, {}, {}, ['models'])
File "/home/andrey/django/alert/service/models.py" in ?
17. class Group(models.Model):
File "/home/andrey/django/alert/service/models.py" in Group
19. user = models.ManyToManyField(User, filter_interface=True)
File "/usr/lib/python2.4/site-packages/django/utils/maxlength.py" in inner
47. func(self, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/django/db/models/fields/related.py" in __init__
727. Field.__init__(self, **kwargs)
File "/usr/lib/python2.4/site-packages/django/utils/maxlength.py" in inner
47. func(self, *args, **kwargs)
Exception Type: TypeError at /admin/
Exception Value: __init__() got an unexpected keyword argument 'filter_interface'