Re: Possible bug - defer in a Model Manager

2015-08-27 Thread Tim Graham
Usually code needs to be adapted to work with deferred models. The class-based view issue you mentioned could be this fix for DetailView: https://github.com/django/django/commit/86aaffa5a3510c007167d116cf4ad72b79e93f31 (fixed in Django 1.9). If not, please open a bug if the issue can be reprodu

Possible bug - defer in a Model Manager

2015-08-27 Thread David Burke
Hello, I had a use case where I wanted to defer a field by default. I used the get_queryset function in the manger like this to make it always happen. def get_queryset(self): return super().get_queryset().defer('bigfield') It seems to work, however it introduces some very strange side ef

ANN: eGenix mx Base Distribution 3.2.9 (mxDateTime, mxTextTools, etc.)

2015-08-27 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mx Base Distribution mxDateTime, mxTextTools, mxProxy, mxURL, mxUID, mxBeeBase, mxStack, mxQueue, mxTools Version 3.2.9

Re: Django oscar core apps confilicts with my local apps

2015-08-27 Thread Mike Dingjan
You can override the oscar analytics app by forking it: https://django-oscar.readthedocs.org/en/releases-1.1/topics/fork_app.html and then change it the way you want. You should pass a list with overridden apps to the get_core_apps function: INSTALLED_APPS = [ 'all.apps.except.analytics', ]