Update seed data to include new cards, and modify hex codes for existing decks to be more different. Also add functionality to set a dark font color for card_badges if the bg color is too light
This commit is contained in:
parent
2cb35e853d
commit
15f8eb7cf4
6 changed files with 12779 additions and 8112 deletions
|
|
@ -40,7 +40,7 @@ class Card(models.Model):
|
|||
decks = models.ManyToManyField("Deck")
|
||||
cardset = models.CharField(max_length=32)
|
||||
cardnum = models.IntegerField()
|
||||
style = models.CharField(max_length=16)
|
||||
style = models.CharField(max_length=128)
|
||||
rarity_icon = models.CharField(max_length=12)
|
||||
rarity_level = models.IntegerField()
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue