So i've solved this problem by running: sudo mezzanine-project-a cartridge project_name
Now when i run: python manage.py createdb I end up with a SystemCheckError: shop.CartItem.total_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.CartItem.unit_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Category.price_max: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Category.price_min: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.DiscountCode.discount_deduct: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.DiscountCode.discount_exact: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.DiscountCode.min_purchase: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Order.discount_total: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Order.item_total: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Order.shipping_total: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Order.tax_total: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Order.total: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.OrderItem.total_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.OrderItem.unit_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Product.sale_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Product.unit_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.ProductVariation.sale_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.ProductVariation.unit_price: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Sale.discount_deduct: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. shop.Sale.discount_exact: (fields.E134) 'max_digits' must be greater or equal to 'decimal_places'. Could someone tell me which part of cartridge runs this code? or what the problem might be. On Saturday, August 22, 2015 at 2:45:06 PM UTC+10, Mace wrote: > > Hi, > Im trying to run a new project in a could development. > using: > Ubuntu > Django 1.8.4 > Mezzanine 4.0.1 > Cartridge 0.10.0 > > > When i try and run: > mezzanine-project -a cartridge project_name > I get this error: > >> CommandError: 'project_name' conflicts with the name of an existing >> Python module and cannot be used as a project name. Please try another name. >> > > Obviously, 'project_name' is not the actual name of my project. I have > tried many different names. > > So i run normal > mezzanine-project project_name > and all works well. > > I move the settings.py and url.py into "project_name/project_name" > Run: > python manage.py createdb--noinput > > and i get this error: > >> shop.CartItem.total_price: (fields.E134) 'max_digits' must be greater or >> equal to 'decimal_places'. >> > > which repeats 20 times, obviously fields.E134 is called 20 times. > > Where am i going wrong? > I was reading that Mezzanine release 4.0.1 fixed the --alternate issue. Is > there something more i need to edit to manually create a cartridge project, > or can i edit something to make to initial project work. > > fyi: I also tried Drum, since it uses the same install process and have > the same result. Something in Mezzanine might be broke. > > Cheers > > > > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
