+
Shielded Transactions
++
diff --git a/charts/models.py b/charts/models.py index 8abd96b..118ba43 100644 --- a/charts/models.py +++ b/charts/models.py @@ -5,12 +5,12 @@ from django.db import models # Create your models here. class Coin(models.Model): - name = models.CharField(max_length=4) - date = models.DateField() - priceusd = models.FloatField() - pricebtc = models.FloatField() - inflation = models.FloatField() - transactions = models.FloatField() + name = models.CharField(max_length=4, default="0") + date = models.DateField(default="0") + priceusd = models.FloatField(default="0") + pricebtc = models.FloatField(default="0") + inflation = models.FloatField(default="0") + transactions = models.FloatField(default="0") hashrate = models.FloatField(default="0") stocktoflow = models.FloatField(default="0") supply = models.FloatField(default="0") diff --git a/charts/templates/charts/base.html b/charts/templates/charts/base.html index 343447a..2518179 100644 --- a/charts/templates/charts/base.html +++ b/charts/templates/charts/base.html @@ -123,7 +123,7 @@ - Price (16) + Price (17)