Comments (3)
Thanks for the report.
Can you get a full traceback of that error?
Haven't ran the app with Django-1.8 myself, but the "field" is not used with select_related anywhere in the code explicitly, so I've no idea where this comes from.
I think it might also be an easily reproducible thing with Django-1.8 (as often is the case with major django updates), so maybe I'll stumble upon it myself eventually.
from feedjack.
here is the full traceback:
Environment:
Request Method: GET
Request URL: http://192.168.56.190:8000/feedjack
Django Version: 1.8
Python Version: 2.7.3
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'feedjack')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware')
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
-
File "/usr/local/lib/python2.7/dist-packages/feedjack/views.py" in mainview
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
-
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/http.py" in inner
(_mainview)(request, view_data, **criterias)
-
File "/usr/local/lib/python2.7/dist-packages/feedjack/views.py" in _mainview
response = func(request, _args, *_kwargs)
-
File "/usr/local/lib/python2.7/dist-packages/feedjack/fjlib.py" in page_context
ctx = fjlib.page_context(request, site, **criterias)
- if site.show_tagcloud and page.object_list:
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in nonzero -
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in bool
return type(self).**bool**(self)
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all
self._fetch_all()
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iterator
self._result_cache = list(self.iterator())
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql
results = compiler.execute_sql()
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in as_sql
sql, params = self.as_sql()
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in pre_sql_setup
extra_select, order_by, group_by = self.pre_sql_setup()
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in setup_query
self.setup_query()
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in get_select
self.select, self.klass_info, self.annotation_col_map = self.get_select()
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in get_related_selections
related_klass_infos = self.get_related_selections(select)
-
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in get_related_selections
select, f.rel.to._meta, alias, cur_depth + 1, next, restricted)
-
', '.join(_get_field_choices()) or '(none)',
Exception Type: FieldError at /feedjack
Exception Value: Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)
from feedjack.
Should be fixed as of 91924b2 and 15.4.6, was indeed Django-1.8 incompatibility thing, thanks again for an early warning.
from feedjack.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feedjack.