1 | Here's a traceback in case it helps:
|
---|
2 |
|
---|
3 | Environment:
|
---|
4 |
|
---|
5 |
|
---|
6 | Request Method: GET
|
---|
7 | Request URL: http://localhost:8000/kml/devices/testfilter/
|
---|
8 |
|
---|
9 | Django Version: 1.5c1
|
---|
10 | Python Version: 2.7.2
|
---|
11 | Installed Applications:
|
---|
12 | ('django.contrib.auth',
|
---|
13 | 'django.contrib.contenttypes',
|
---|
14 | 'django.contrib.sessions',
|
---|
15 | 'django.contrib.sites',
|
---|
16 | 'django.contrib.messages',
|
---|
17 | 'django.contrib.staticfiles',
|
---|
18 | 'mvw',
|
---|
19 | 'django.contrib.admin',
|
---|
20 | 'django.contrib.admindocs',
|
---|
21 | 'django_tables2',
|
---|
22 | 'django.contrib.gis',
|
---|
23 | 'debug_toolbar')
|
---|
24 | Installed Middleware:
|
---|
25 | ('django.middleware.common.CommonMiddleware',
|
---|
26 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
27 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
28 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
29 | 'django.contrib.messages.middleware.MessageMiddleware',
|
---|
30 | 'debug_toolbar.middleware.DebugToolbarMiddleware')
|
---|
31 |
|
---|
32 |
|
---|
33 | Traceback:
|
---|
34 | File "/Library/Python/2.7/site-packages/django/core/handlers/base.py" in get_response
|
---|
35 | 115. response = callback(request, *callback_args, **callback_kwargs)
|
---|
36 | File "/Users/project1/code/mvw/mvw/decorators.py" in wrap
|
---|
37 | 14. return f(request, *args, **kwargs)
|
---|
38 | File "/Users/project1/code/mvw/mvw/views.py" in kmldevices
|
---|
39 | 276. filter.graph = filter._build_graph()
|
---|
40 | File "/Users/project1/code/mvw/mvw/models/filter.py" in _build_graph
|
---|
41 | 110. for p in self.packets.filter(packettype__name = 'RSP'):
|
---|
42 | File "/Users/project1/code/mvw/mvw/models/filter.py" in packets
|
---|
43 | 180. query = query.authfilter(self.user)
|
---|
44 | File "/Users/project1/code/mvw/mvw/models/managers.py" in authfilter
|
---|
45 | 42. return self.filter(probe__client__user_set = user)
|
---|
46 | File "/Library/Python/2.7/site-packages/django/db/models/query.py" in filter
|
---|
47 | 655. return self._filter_or_exclude(False, *args, **kwargs)
|
---|
48 | File "/Library/Python/2.7/site-packages/django/db/models/query.py" in _filter_or_exclude
|
---|
49 | 669. clone = self._clone()
|
---|
50 | File "/Library/Python/2.7/site-packages/django/db/models/query.py" in _clone
|
---|
51 | 913. c._known_related_objects = self._known_related_objects
|
---|
52 |
|
---|
53 | Exception Type: AttributeError at /kml/devices/testfilter/
|
---|
54 | Exception Value: 'AuthQuerySet' object has no attribute '_known_related_objects'
|
---|
55 |
|
---|