*Version Info:* Python 3.4, Django 1.8, Oscar Commerce - VERSION = (1, 2, 
1, 'final')


I am trying to customize Products in the catalogue app following the 
documentation 
<http://django-oscar.readthedocs.io/en/releases-1.1/howto/how_to_customise_models.html>.
 



Having forked the catalogue app, I have defined models.py as follows:

from django.db import models
from oscar.apps.catalogue.abstract_models import AbstractProduct

class Product(AbstractProduct):
 is_active = models.BooleanField(default=False)

from oscar.apps.catalogue.models import *


I have already included the modified catalogue, in the INSTALLED_APPS in 
settings.py as a list, as suggested for a similar problem here 
<https://groups.google.com/forum/#%21topic/django-oscar/nuTP_LhS3p4>.


INSTALLED_APPS = INSTALLED_APPS + get_core_apps( ['app.gravytrain.catalogue'
,]) 


Have copied the migration folder from oscar/apps/catalogue to my custom 
app. However running migration causes the following error:


RuntimeError: Conflicting 'product_product_options' models in
application 'catalogue': <class 
'gravytrain.catalogue.models.Product_product_options'> and <class
app.gravytrain.catalogue.models.Product_product_options'>.


How do I get over this error ?

-- 
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
--- 
You received this message because you are subscribed to the Google Groups 
"django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-oscar+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-oscar/41e2f022-f56d-435f-a3d7-83100df39470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to