Red Hat Bugzilla – Bug 836089
django-filter doesn't support Django 1.4
Last modified: 2013-07-31 19:52:26 EDT
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Django 1.4 removed XMLField. Unfortunately, this breaks django-filter as packaged. Upstream fixed this with https://github.com/alex/django-filter/commit/51b39fca089f2cb1d3d3501d2e164635fbe52864.
(More generally, it'd be nice if Fedora was brought up-to-date with upstream.)
Steps to Reproduce:
1. Create a Django site using django-filter.
2. Run ./manage.py shell
$ ./manage.py shell
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 217, in execute
File "/usr/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 105, in activate
File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 194, in activate
_active.value = translation(language)
File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 183, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 160, in _fetch
app = import_module(appname)
File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
File "/usr/lib/python2.7/site-packages/django_filters/__init__.py", line 1, in <module>
from django_filters.filterset import FilterSet
File "/usr/lib/python2.7/site-packages/django_filters/filterset.py", line 163, in <module>
AttributeError: 'module' object has no attribute 'XMLField'
$ ./manage.py shell
Any progress here?
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.