Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for the development of Django itself, not for support using Django.
This means the discussions of bugs and features in Django itself, rather
than in your code using it. People on this list are unlikely to answer yo
If you are using MySQL. You can use virtual fields option.
Regards,
Manoj
On Mon, Sep 2, 2019, 9:20 PM Uzama Zaid wrote:
> You can use methods to do that
>
> On Mon, Sep 2, 2019 at 7:10 PM Muhammed Bilal wrote:
>
>>
>> I have a model some thing like this
>>
>> class Add(models.Model):
>>B
You can use methods to do that
On Mon, Sep 2, 2019 at 7:10 PM Muhammed Bilal wrote:
>
> I have a model some thing like this
>
> class Add(models.Model):
>Budget = models.IntegerField()
>Expense = models.IntegerField()
>
> Now I would like to do calculations for example Sum , subtractin
I have a model some thing like this
class Add(models.Model):
Budget = models.IntegerField()
Expense = models.IntegerField()
Now I would like to do calculations for example Sum , subtracting two
fields and multiplying them (*budget - Expense) ..
(**budget
+ Expe