I have the code form django docs, but this will output an error.
ImportError: cannot import name SimpleListFilter
I am using django 1.3
Anyone knows what’s problem with this import?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe that SimpleListFilter was added in Django 1.4. If you look at the documentation for Django 1.3 Admin no mention is made of it.