Bug 836089 - django-filter doesn't support Django 1.4
django-filter doesn't support Django 1.4
Product: Fedora
Classification: Fedora
Component: django-filter (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Diego Búrigo Zacarão
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-28 02:00 EDT by Alex Dehnert
Modified: 2013-07-31 19:52 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-31 19:52:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alex Dehnert 2012-06-28 02:00:56 EDT
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build Identifier: 

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.)

Reproducible: Always

Steps to Reproduce:
1. Create a Django site using django-filter.
2. Run ./manage.py shell
Actual Results:  
$ ./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
    self.execute(*args, **options.__dict__)
  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
    return _trans.activate(language)
  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>
    'filter_class': CharFilter,
AttributeError: 'module' object has no attribute 'XMLField'

Expected Results:  
$ ./manage.py shell
Comment 1 Matthias Runge 2012-12-14 04:40:08 EST
Any progress here?
Comment 2 Fedora End Of Life 2013-07-03 18:11:02 EDT
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.
Comment 3 Fedora End Of Life 2013-07-31 19:52:26 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.