<reponame>Engerrs/ckan.org<gh_stars>1-10
from django.db import models

from wagtail.snippets.models import register_snippet

@register_snippet
class Manager(models.Model):

    name = models.CharField(
        max_length=64,
        blank=False,
        null=False,
    )
    email = models.EmailField(
        max_length=254,
        blank=False,
        null=False,
    )

    def __str__(self):
        return self.name

from django.db import models

from wagtail.snippets.models import register_snippet

@register_snippet
class Manager(models.Model):

    name = models.CharField(
        max_length=64,
        blank=False,
        null=False,
    )
    email = models.EmailField(
        max_length=254,
        blank=False,
        null=False,
    )

    def __str__(self):
        return self.name