Bug 836089 - django-filter doesn't support Django 1.4
Summary: django-filter doesn't support Django 1.4
Alias: None
Product: Fedora
Classification: Fedora
Component: django-filter
Version: 17
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Diego Búrigo Zacarão
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-06-28 06:00 UTC by Alex Dehnert
Modified: 2013-07-31 23:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-07-31 23:52:22 UTC
Type: ---

Attachments (Terms of Use)

Description Alex Dehnert 2012-06-28 06:00:56 UTC
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 09:40:08 UTC
Any progress here?

Comment 2 Fedora End Of Life 2013-07-03 22:11:02 UTC
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 23:52:26 UTC
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.