from django.db import models

class Conquista(models.Model):

    nomeConquista = models.CharField(max_length=50)
    valor = models.IntegerField(default = 0)
    disponivel = models.BooleanField(default = False)
    conteudo = models.FileField(upload_to='conquista/')

    def __str__(self):
        return self.nomeConquista

from django.db import models

class Conquista(models.Model):

    nomeConquista = models.CharField(max_length=50)
    valor = models.IntegerField(default = 0)
    disponivel = models.BooleanField(default = False)
    conteudo = models.FileField(upload_to='conquista/')

    def __str__(self):
        return self.nomeConquista
