Closed renpj closed 9 years ago
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.
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
Exception Type: FieldError at /feedjack Exception Value: Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)
Should be fixed as of 91924b2 and 15.4.6, was indeed Django-1.8 incompatibility thing, thanks again for an early warning.
Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)
Request Method: GET Request URL: http://192.168.56.190:8000/feedjack Django Version: 1.8 Exception Type: FieldError Exception Value:
Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)
Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py in get_related_selections, line 743