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
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
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
> 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