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

from wagtail.wagtailcore.models import Page


class Category(Page):
    """
    user oscars category as a wagtail Page.
    this works becuase they both use treebeard
    """
    name = models.CharField(
        verbose_name=_('name'),
        max_length=255,
        help_text=_("Category name")
    )

from oscar.apps.catalogue.models import *  # noqa

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

from wagtail.wagtailcore.models import Page


class Category(Page):
    """
    The Oscars Category as a Wagtail Page
    This works because they both use Treebeard
    """
    name = models.CharField(
        verbose_name=_('name'),
        max_length=255,
        help_text=_("Category name")
    )

from oscar.apps.catalogue.models import *  # noqa

Fix typo in doc string
Fix typo in doc string

  from django.db import models
  from django.utils.translation import ugettext_lazy as _
  
  from wagtail.wagtailcore.models import Page
  
  
  class Category(Page):
      """
-     user oscars category as a wagtail Page.
+     The Oscars Category as a Wagtail Page
-     this works becuase they both use treebeard
+     This works because they both use Treebeard
      """
      name = models.CharField(
          verbose_name=_('name'),
          max_length=255,
          help_text=_("Category name")
      )
  
  from oscar.apps.catalogue.models import *  # noqa
  
Fix typo in doc string
## Code Before:
from django.db import models
from django.utils.translation import ugettext_lazy as _

from wagtail.wagtailcore.models import Page


class Category(Page):
    """
    user oscars category as a wagtail Page.
    this works becuase they both use treebeard
    """
    name = models.CharField(
        verbose_name=_('name'),
        max_length=255,
        help_text=_("Category name")
    )

from oscar.apps.catalogue.models import *  # noqa

## Instruction:
Fix typo in doc string
## Code After:
from django.db import models
from django.utils.translation import ugettext_lazy as _

from wagtail.wagtailcore.models import Page


class Category(Page):
    """
    The Oscars Category as a Wagtail Page
    This works because they both use Treebeard
    """
    name = models.CharField(
        verbose_name=_('name'),
        max_length=255,
        help_text=_("Category name")
    )

from oscar.apps.catalogue.models import *  # noqa
