thnx, yea that's what I'm looking for. unfortunately I cannot use 1.7 ;(
bg,
Johannes
On 19.02.2014 23:19, Anssi Kääriäinen wrote:
If I am not mistaken you are trying to alter how
.filter(customfield__eq=val) and friends work.
In current Django versions you can't easily customize the SQL gener
If I am not mistaken you are trying to alter how
.filter(customfield__eq=val) and friends work.
In current Django versions you can't easily customize the SQL generated for
ORM lookups. In Django 1.7 (currently in alpha) this is possible using
custom lookups. Custom lookups will allow you to alt
Hi!
In python, '==' operator is set to '__eq__' and '!=' operator is set
to '__ne__' functions.
See more details in http://jcalderone.livejournal.com/32837.html
And In order to make queries from the ORM, Django uses Managers
https://docs.djangoproject.com/en/dev/topics/db/managers/
So you can w
hey list,
I have a custom Field implemented for one of my models. How do I
implement the database operations (e.g. '==', '!=') for the custom field
which are used to execute database queries?
bg,
Johannes
--
Johannes Schneider
Webentwicklung
johannes.schnei...@galileo-press.de
Tel.: +49.228.4
4 matches
Mail list logo