diff --git a/src/common/templates/master.html b/src/common/templates/master.html index 6dd5620..bbaed47 100644 --- a/src/common/templates/master.html +++ b/src/common/templates/master.html @@ -35,7 +35,7 @@ {% endblock %} diff --git a/src/core/migrations/0010_auto_20200308_2132.py b/src/core/migrations/0010_auto_20200308_2132.py new file mode 100644 index 0000000..7868c00 --- /dev/null +++ b/src/core/migrations/0010_auto_20200308_2132.py @@ -0,0 +1,23 @@ +# Generated by Django 3.0.2 on 2020-03-08 20:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0009_gamer_inventory_2'), + ] + + operations = [ + migrations.AddField( + model_name='gamer', + name='confirmed_count', + field=models.PositiveIntegerField(default=0), + ), + migrations.AlterField( + model_name='gamer', + name='offer_count', + field=models.PositiveIntegerField(default=0), + ), + ] diff --git a/src/core/models.py b/src/core/models.py index 2734709..600401a 100644 --- a/src/core/models.py +++ b/src/core/models.py @@ -97,10 +97,10 @@ class Gamer(models.Model): # Asiimov specific information inventory = models.ManyToManyField(ItemInstance) # For skins - inventory_2 = models.ManyToManyField(ItemType) # For cases, badges usw + inventory_2 = models.ManyToManyField(ItemType) # For cases, badges etc badges = models.ManyToManyField(Badge) - offer_count = models.IntegerField(default=0) - confirmed_count = models.PositiveIntegerField(default=0) + offer_count = models.PositiveIntegerField(default=0) # How many offers did the user create in the past? + confirmed_count = models.PositiveIntegerField(default=0) # How many confirmed trades resulted from those offers? class Offer(models.Model): diff --git a/src/core/templates/profile/profile.html b/src/core/templates/profile/profile.html index f284c41..20b9e82 100644 --- a/src/core/templates/profile/profile.html +++ b/src/core/templates/profile/profile.html @@ -14,7 +14,7 @@

Links

-