from django.utils.translation import get_language, ugettext_lazy as _

from feincms.models import Base

from plata.product.models import Product, ProductManager


class CMSProduct(Product, Base):
    """
    FeinCMS-based product model
    """

    class Meta:
        app_label = 'product'
        verbose_name = _('product')
        verbose_name_plural = _('products')

    objects = ProductManager()

from django.utils.translation import get_language, ugettext_lazy as _

from feincms.models import Base

from plata.product.models import Product, ProductManager


class CMSProduct(Product, Base):
    """
    FeinCMS-based product model

    The admin integration requires FeinCMS >=1.2 to work correctly.
    """

    class Meta:
        app_label = 'product'
        verbose_name = _('product')
        verbose_name_plural = _('products')

    objects = ProductManager()

Add note about FeinCMS version requirements
Add note about FeinCMS version requirements

  from django.utils.translation import get_language, ugettext_lazy as _
  
  from feincms.models import Base
  
  from plata.product.models import Product, ProductManager
  
  
  class CMSProduct(Product, Base):
      """
      FeinCMS-based product model
+ 
+     The admin integration requires FeinCMS >=1.2 to work correctly.
      """
  
      class Meta:
          app_label = 'product'
          verbose_name = _('product')
          verbose_name_plural = _('products')
  
      objects = ProductManager()
  
Add note about FeinCMS version requirements
## Code Before:
from django.utils.translation import get_language, ugettext_lazy as _

from feincms.models import Base

from plata.product.models import Product, ProductManager


class CMSProduct(Product, Base):
    """
    FeinCMS-based product model
    """

    class Meta:
        app_label = 'product'
        verbose_name = _('product')
        verbose_name_plural = _('products')

    objects = ProductManager()

## Instruction:
Add note about FeinCMS version requirements
## Code After:
from django.utils.translation import get_language, ugettext_lazy as _

from feincms.models import Base

from plata.product.models import Product, ProductManager


class CMSProduct(Product, Base):
    """
    FeinCMS-based product model

    The admin integration requires FeinCMS >=1.2 to work correctly.
    """

    class Meta:
        app_label = 'product'
        verbose_name = _('product')
        verbose_name_plural = _('products')

    objects = ProductManager()
