收录日期：2021/01/23 18:11:04 时间：2010-03-31 15:24:30 标签：django,django-models
is there a way l can compare two columns | fields in django like
invoiceamount are two columns of
You can, in Django 1.1 using the F() object
django model fields comparison Encrypted Django Model Fields Django model fields validation Django model iterate fields Dynamical model fields in django Reordering fields in Django model Django model fields getter / setter Iterating through model fields - Django Unknown fields in Django Model How do Django model fields work? Django Model Inheritance. Hiding or removing fields Django Model Inheritance: Duplicated class fields Django model query with custom select fields Diff django model objects with ManyToMany fields do properties work on django model fields? Django: Altering model fields from admin views Access fields in Django intermediate model How to introspect django model fields?