# -*- coding: utf-8 -*-
from django.db import models

from solo.models import SingletonModel
from ckeditor.fields import RichTextField

class Contacto(SingletonModel):
    """
    This model store the Contacto object
    but this only have one instance
    """
    informacion_contacto = RichTextField('Informacion de Contacto', config_name='default')
    contacto_general = RichTextField('Contacto General', config_name='default')

    class Meta:
        verbose_name = "Configuracion Contacto"

class Acerca(SingletonModel):
    """
    This model store the Contacto object
    but this only have one instance
    """
    informacion_bienvenida = RichTextField('Informacion de Bienvenida', config_name='default')

    class Meta:
        verbose_name = "Configuracion de \"Acerca de\""

class Application(SingletonModel):
    title = models.CharField('Titulo', max_length=250)
    sub_title = models.CharField('Sub Titulo', max_length=250)
    logo = models.ImageField('Imagen', upload_to='cacao/')

    class Meta:
        verbose_name = "Configuracion de Aplicación"

# -*- coding: utf-8 -*-
from django.db import models

from solo.models import SingletonModel
from ckeditor.fields import RichTextField


class Contacto(SingletonModel):
    """
    This model store the Contacto object
    but this only have one instance
    """
    informacion_contacto = RichTextField(
        'Informacion de Contacto', config_name='default')
    contacto_general = RichTextField('Contacto General', config_name='default')

    class Meta:
        verbose_name = "Configuracion Contacto"


class Acerca(SingletonModel):
    """
    This model store the Contacto object
    but this only have one instance
    """
    informacion_bienvenida = RichTextField(
        'Informacion de Bienvenida', config_name='default')

    class Meta:
        verbose_name = "Configuracion de \"Acerca de\""


class Application(SingletonModel):
    title = models.CharField('Titulo', max_length=250)
    sub_title = models.CharField('Sub Titulo', max_length=250)
    logo = models.ImageField('Imagen',
                             upload_to='cacao/',
                             help_text="Formato PNG transparente y 512x512 pixels de tamaño")  # noqa

    class Meta:
        verbose_name = "Configuracion de Aplicación"

Set help text for app logo