Calling of int constructor in QuerySet

2016-02-12 Thread belorn mandos
When working with QuerySets and IntegerFields, I saw that comparison to a string with no digits in it throws a ValueError exception when I did ...objects.filter(org_number = criteria) or ...objects.filter(org_number__exact = criteria) However, when using iexact, it did not throw an exception, s

New deferred loading implementation (Was: [Review Request] Added support for database delegated fields (like AutoField))

2016-02-12 Thread Anssi Kääriäinen
On Thursday, February 11, 2016 at 2:41:44 PM UTC+2, Florian Apolloner wrote: > > Oh, I somewhat missread and though there would be a new DEFERRED argument, > the backwards issue is easy enough though: > > * Unless I miss something, YourModel.__init__ is Model.__init__ if the > user didn't change

Re: Lazy operations refactor regression with abstract models #25858

2016-02-12 Thread skyjur
Would love seeing Option 2. I've been relying on this pattern since as far back as django 1.2 on several projects. https://github.com/skyjur/django-ticketing/blob/master/ticket_26186_2/tox.ini https://github.com/skyjur/django-ticketing/blob/master/ticket_26186_2/test-result.txt On Thursday, 11

Re: thinking about the admin's scope and its description in the docs

2016-02-12 Thread Andy Baker
> However, we NEVER had a client that was sufficiently familiar with what a database is or how data modeling works for this to ever suffice. I've got more than two dozen non-technical clients happily using the admin. They also have no familiarity with data modelling but I'm not quite sure how