from django.db import models


# Create your models here.
class Evento(models.Model):
    titulo_text = models.CharField('Titulo', max_length=200)
    date_date = models.DateTimeField('Data do Evento')
    local_text = models.CharField('Local', max_length=200)
    description_text = models.CharField('Descricao', max_length=500)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
                                      blank=True)

    def __str__(self):
        return self.titulo_text


class DonateItem(models.Model):
    name_text = models.CharField('Nome', max_length=100)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
                                      blank=True)
    amount = models.IntegerField('Quantidade', default=1)

    def __str__(self):
        return self.name_text

443298c9545a17ed60178c230818d07d1d8617be
<mask token>


class DonateItem(models.Model):
    name_text = models.CharField('Nome', max_length=100)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
        blank=True)
    amount = models.IntegerField('Quantidade', default=1)

    def __str__(self):
        return self.name_text

<mask token>


class Evento(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.titulo_text


class DonateItem(models.Model):
    name_text = models.CharField('Nome', max_length=100)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
        blank=True)
    amount = models.IntegerField('Quantidade', default=1)

    def __str__(self):
        return self.name_text

<mask token>


class Evento(models.Model):
    titulo_text = models.CharField('Titulo', max_length=200)
    date_date = models.DateTimeField('Data do Evento')
    local_text = models.CharField('Local', max_length=200)
    description_text = models.CharField('Descricao', max_length=500)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
        blank=True)

    def __str__(self):
        return self.titulo_text


class DonateItem(models.Model):
    name_text = models.CharField('Nome', max_length=100)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
        blank=True)
    amount = models.IntegerField('Quantidade', default=1)

    def __str__(self):
        return self.name_text

from django.db import models


class Evento(models.Model):
    titulo_text = models.CharField('Titulo', max_length=200)
    date_date = models.DateTimeField('Data do Evento')
    local_text = models.CharField('Local', max_length=200)
    description_text = models.CharField('Descricao', max_length=500)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
        blank=True)

    def __str__(self):
        return self.titulo_text


class DonateItem(models.Model):
    name_text = models.CharField('Nome', max_length=100)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
        blank=True)
    amount = models.IntegerField('Quantidade', default=1)

    def __str__(self):
        return self.name_text

from django.db import models


# Create your models here.
class Evento(models.Model):
    titulo_text = models.CharField('Titulo', max_length=200)
    date_date = models.DateTimeField('Data do Evento')
    local_text = models.CharField('Local', max_length=200)
    description_text = models.CharField('Descricao', max_length=500)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
                                      blank=True)

    def __str__(self):
        return self.titulo_text


class DonateItem(models.Model):
    name_text = models.CharField('Nome', max_length=100)
    image_src_text = models.CharField('Caminho da imagem', max_length=100,
                                      blank=True)
    amount = models.IntegerField('Quantidade', default=1)

    def __str__(self):
        return self.name_text
