Use only budgeted categories in history plot
This commit is contained in:
parent
2cba5c6d83
commit
26f97dd179
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ register = template.Library()
|
||||||
@register.inclusion_tag("history/plot.html")
|
@register.inclusion_tag("history/plot.html")
|
||||||
def history_plot(transactions, **kwargs):
|
def history_plot(transactions, **kwargs):
|
||||||
return kwargs | {
|
return kwargs | {
|
||||||
"history": history(transactions),
|
"history": history(transactions.exclude(category__budget=False)),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue