Implementado Cambio de Nombre Hermandad de Stripe

This commit is contained in:
adevopg
2025-02-20 17:27:00 +01:00
parent 3f962f8368
commit 9a96fad61b
10 changed files with 168 additions and 92 deletions
+2 -6
View File
@@ -228,14 +228,10 @@ class SecurityToken(models.Model):
class GuildRenameSettings(models.Model):
cost = models.IntegerField(default=1000, help_text="Costo en Donation Points (DP) para renombrar una hermandad.")
cost = models.DecimalField(max_digits=10, decimal_places=2, default=10, help_text="Costo en euros para renombrar una hermandad.")
def __str__(self):
return f"Costo actual: {self.cost} DP"
class Meta:
verbose_name = "Configuración de Renombrar Hermandad"
verbose_name_plural = "Configuraciones de Renombrar Hermandad"
return f"Configuración de renombrar hermandad - Costo: {self.cost} "
class VoteSite(models.Model):