from django.db import models
from django.utils.translation import ugettext_lazy as _
from treebeard.mp_tree import MP_Node

from myproject.apps.core.models import CreationModificationDateBase


class Category(MP_Node, CreationModificationDateBase):
    title = models.CharField(_("Title"), max_length=200)

    class Meta:
        verbose_name = _("Category")
        verbose_name_plural = _("Categories")

    def __str__(self):
        return self.title

4487f0af7c4f6fadfc33a60566af54f392bc21a2
<mask token>


class Category(MP_Node, CreationModificationDateBase):
    <mask token>


    class Meta:
        verbose_name = _('Category')
        verbose_name_plural = _('Categories')
    <mask token>

<mask token>


class Category(MP_Node, CreationModificationDateBase):
    <mask token>


    class Meta:
        verbose_name = _('Category')
        verbose_name_plural = _('Categories')

    def __str__(self):
        return self.title

<mask token>


class Category(MP_Node, CreationModificationDateBase):
    title = models.CharField(_('Title'), max_length=200)


    class Meta:
        verbose_name = _('Category')
        verbose_name_plural = _('Categories')

    def __str__(self):
        return self.title

from django.db import models
from django.utils.translation import ugettext_lazy as _
from treebeard.mp_tree import MP_Node
from myproject.apps.core.models import CreationModificationDateBase


class Category(MP_Node, CreationModificationDateBase):
    title = models.CharField(_('Title'), max_length=200)


    class Meta:
        verbose_name = _('Category')
        verbose_name_plural = _('Categories')

    def __str__(self):
        return self.title

from django.db import models
from django.utils.translation import ugettext_lazy as _
from treebeard.mp_tree import MP_Node

from myproject.apps.core.models import CreationModificationDateBase


class Category(MP_Node, CreationModificationDateBase):
    title = models.CharField(_("Title"), max_length=200)

    class Meta:
        verbose_name = _("Category")
        verbose_name_plural = _("Categories")

    def __str__(self):
        return self.title
