from django.db import models
from django.utils.translation import ugettext_lazy as _

from riverio.apps.base.models import ApplicationBasedModel, ExternalContentType


__author__ = 'ahmetdal'


class ExternalPermission(ApplicationBasedModel):
    class Meta:
        verbose_name = _("External Permission")
        verbose_name_plural = _("External Permissions")
        db_table = 'base_external_permission'
        app_label = 'base'

    name = models.CharField(_('name'), max_length=50)
    content_type = models.ForeignKey(ExternalContentType)









