Fixed ItemListingCount in home view
parent
690d076d16
commit
915c4a9157
2
views.py
2
views.py
|
@ -13,7 +13,7 @@ class Home(View):
|
||||||
stats.append(("Players", Player.objects.count()))
|
stats.append(("Players", Player.objects.count()))
|
||||||
stats.append(("Bases", Base.objects.count()))
|
stats.append(("Bases", Base.objects.count()))
|
||||||
stats.append(("Shops", Shop.objects.count()))
|
stats.append(("Shops", Shop.objects.count()))
|
||||||
stats.append(("Items for Sale", Player.objects.count()))
|
stats.append(("Items for Sale", ItemListing.objects.count()))
|
||||||
|
|
||||||
context = {
|
context = {
|
||||||
"stat_list": stats,
|
"stat_list": stats,
|
||||||
|
|
Loading…
Reference in New Issue