Beispiel #1
0
class Oferta(models.Model):
    id = models.IntegerFields()
    titulo = models.CharFields(max_length=100)
    fecha = models.DateField(auto_now=True, auto_now_add=True)
    descripcion = models.TextFields()
    requisitos = models.TextFields()
    lugardetrabajo = models.CharFields(max_length=100)
    beneficios = models.TextFields(null=True)
Beispiel #2
0
class PasswordResetLink(models.Model):
    user = models.OneToOneField(settings.AUTH_USER_MODEL,
                                on_delete=models.CASCADE,
                                primary_key=True)
    link = models.CharFields(max_length=50)

    def __str__(self):
        return 'Password rest link for ' + str(self.user)
Beispiel #3
0
class Question(models.Model):
    question_text = models.CharFields(max_length=200)
    pub_date = models.DateTimeField('date published')
Beispiel #4
0
class Localidad(models.Model):
    id = models.IntegerFields()
    nomb = models.CharFields(max_length=50)
Beispiel #5
0
class Provincia(models.Model):
    id = models.IntegerFields()
    nomb = models.CharFields(max_length=50)
class Quizmaker():
    username = models.CharFields(max_length=20)
Beispiel #7
0
class Question(models.Model):
    author = models.ForeignKey(to=Progile, on_delete=models.CASCADE)
    title = models.CharFields(max_lenght=128)
    created_at = models.DateTimeField()
Beispiel #8
0
class User():
    name = models.CharFields(max_length=150)
Beispiel #9
0
class User():
    name = models.CharFields(max=150)
Beispiel #10
0
class Quizmaker():
    username = models.CharFields(max_length=20)
    answer = models.ForeignKey(Answer, on_delete=models.CASCADE)
Beispiel #11
0
class Rubro(models.Model):
	id = models.IntegerFields()
	nomb = models.CharFields(max_length=50)
Beispiel #12
0
class Empresa(models.Model):
    razsoc = models.CharFields(max_lenght=50)
    mail = models.EmailFields(max_lenght=254)
    telef = models.IntegerFields()
    dire = models.CharFields(max_lenght=200, null=True)
    logo = models.ImageFields(upload_to="logos", null=True)