Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Can't install alongside Django 1.5b2 #59

maikhoepfel opened this Issue · 1 comment

1 participant


I'm developing against Django 1.5 beta, and always got an error when installing. After a bit of fiddling, I know that installing django-categories in a clean (--no-site-packages) virtualenv

a) together with Django 1.4.3 works fine (pip install Django django-categories)
b) after having installed Django 1.4.3 works fine (pip install Django && pip install django-categories)
c) together with Django 1.5b2 works fine (surprisingly!) (pip install django-categories)
d) after having installed Django 1.5b2 fails (pip install && pip install django-categories)

The log is here:

I presume the error has to do with trying to import django.db.models.Q without having settings setup.


My workaround for now, in Don't 'import categories' and manually set the version instead of getting it from categories.get_version(). Using get_version() is a nice touch, but seeing that both Django and the app are being imported to just get the version number, it might be easier to violate DRY than ensuring importing Django innards works without having a Django

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.