[mezzanine-users] How to split out Orderable as app?
Hi guys, I find Mezzanine's Orderable is useful for drag and drop related items within admin page. Is it easy to split this guy out as a single app? Currently, I have another project that is developed upon origin django release instead of mezzanine, and I wanna reuse the orderable functionality of Mezzanine Any easy way to do this? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] How to add product directly to cart from category page?
Hi guys, Currently, I need to place an button(suppose named button1) on each product box within category product list page. So, when user click the button, directly add the bound product to shopping cart, and then, the cart icon placed some place else refresh items number currently have in cart. So, I think for the button1, I need to send ajax request to add product to cart. Is there any existing url for adding product to cart? And, how to make cart icon display items number in real-time? If there is no such url, I need to write by myself, I see for Cart model, one method named 'add_item', need to call this guy, eh? Any suggestion or general direction is appreciated. Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Design to extend cartridge with global location selection
Hi Stephen and Mathias, Thanks for your reply and that's really good suggestion. Currently I think customizing @processor_for(Category) is better for my current scenario. Use Category as location is higher level controller I think very useful when all products are involved in just on Category(also in the top navigation bar). Currently I have several categories fixed in the top menu and all linked to special type of products. So, it's better for me now to use @processor_for to filter products when every category on the top menu is clicked. :-) Thank you guys. Wesley Yeah, great idea hiding the menu items. Then all you'd need is a couple of small view functions, like the one that sets the session variable, and one that does the redirect to the relevant location category by looking at the session variable - that might end up having a Link page in your menu called Products that just links to the redirector. On Fri, May 29, 2015 at 11:39 PM, Mathias Ettinger mathias@gmail.com javascript: wrote: Indeed, Category can be the (already existing and SQL cheaper version of the) ManyToMany field I was referring to. You can use the PAGE_MENU_TEMPLATES checkboxes to make sure they don't appear in the menu if you don't want them to. Le samedi 30 mai 2015 08:17:57 UTC+2, Stephen McDonald a écrit : Might even be able to do something simple using locations as categories. On Fri, May 29, 2015 at 11:12 PM, Mathias Ettinger mathias@gmail.com wrote: Hi, I’d rather not use a variation option to store the location: - it can be costly to retrieve every one of them when filtering products for a given category; - it will display on the product page and can be redundant if you have a dropdown elsewhere. Instead, I’d rather use EXTRA_MODEL_FIELDS to inject a CharField (or better, a ForeignKey or a ManyToMany, depending on your needs, to a custom model storing locations and may be other metadata) into cartridge.shop.models.Product You can then write a custom @processor_for(Category) to filter the products according to your needs. Check out https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/page_processors.py for an example of how to achieve that. Le jeudi 28 mai 2015 10:55:55 UTC+2, Wesley a écrit : Hi guys, This is not an problem but just here to consult with you guys. When coding these days, I happen to think about that how to add a functionality that dynamic display products by user's location selection. That is, on my homepage, there is one location select, e.g. New York, Boston .etc When users select New York, all product list related shows only products that are availabe for New York. So, if I code, I will: 1. Add one product option to Product, maybe named as location, and values are those city names, e.g. New York, Boston .etc 2. Add the selected location variable to request.session 3. Within those product list templates or view functions returning queryset to product list pages, filter products Is above idea correct? or do you guys has some better suggestions? Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Design to extend cartridge with global location selection
Hi guys, This is not an problem but just here to consult with you guys. When coding these days, I happen to think about that how to add a functionality that dynamic display products by user's location selection. That is, on my homepage, there is one location select, e.g. New York, Boston .etc When users select New York, all product list related shows only products that are availabe for New York. So, if I code, I will: 1. Add one product option to Product, maybe named as location, and values are those city names, e.g. New York, Boston .etc 2. Add the selected location variable to request.session 3. Within those product list templates or view functions returning queryset to product list pages, filter products Is above idea correct? or do you guys has some better suggestions? Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: How to get order final total price in views function?
Sorry missing one that: I am trying to get the price from checkout confirmation page, I mean, when click Next on the page. Hi guys, In one of my views function, I wanna get final total price of the order. I tried to get from request.session['order']['total'] or request.session['cart']['something'] but all failed. I print order and cart getting this sample: order is: {'card_name': u'', u'delivery_type': u'', 'remember': True, 'pay_type': u'\u5fae\u4fe1\u652f\u4ed8', 'billing_detail_street': u'\u6d4b\u8bd5', 'shipping_detail_first_name': u'\u502a\u6770', 'shipping_detail_street': u'\u6d4b\u8bd5', u'additional_instructions': u'', 'card_type': u'', 'step': 2, 'same_billing_shipping': True, u'prefer_time': u'\u7acb\u5373\u9001\u9910', 'shipping_detail_phone': u'11211', 'billing_detail_email': u'whatever here', 'billing_detail_phone': u'11211', 'billing_detail_first_name': u'\u502a\u6770'} cart is:544 So, no something like 'total' in order object, and cart is id. Maybe I can get price to query database according to the cart's id, but is there any easy way to get the total price? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] How to get order final total price in views function?
Hi guys, In one of my views function, I wanna get final total price of the order. I tried to get from request.session['order']['total'] or request.session['cart']['something'] but all failed. I print order and cart getting this sample: order is: {'card_name': u'', u'delivery_type': u'', 'remember': True, 'pay_type': u'\u5fae\u4fe1\u652f\u4ed8', 'billing_detail_street': u'\u6d4b\u8bd5', 'shipping_detail_first_name': u'\u502a\u6770', 'shipping_detail_street': u'\u6d4b\u8bd5', u'additional_instructions': u'', 'card_type': u'', 'step': 2, 'same_billing_shipping': True, u'prefer_time': u'\u7acb\u5373\u9001\u9910', 'shipping_detail_phone': u'11211', 'billing_detail_email': u'whatever here', 'billing_detail_phone': u'11211', 'billing_detail_first_name': u'\u502a\u6770'} cart is:544 So, no something like 'total' in order object, and cart is id. Maybe I can get price to query database according to the cart's id, but is there any easy way to get the total price? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: How to get order final total price in views function?
Hi, I am trying to get this guy jus in a regular view. My scenario is: Within checkout confirmation page, when click on 'next' to complete the order, raises a ajax request to a regular view to do something,and in this view function(only request available) I need ordr total. But, currently in the confirmation page, order is not setup or saved, so no order object available now. BTW, you mentioned, combine request.session[shipping_total] and request.cart.total_price(), then, what about tax and discount, these two guys cover the latter two valuation? Currently, I use the following snippet to get the total price(changed the source code, so it's not a good idea...), don't know if it's exactly correct but haven't hit any issue yet: Model Order: def get_tmp_total(self, request): added by wni. for weixin pay, on confirm page, need to get total for weixin order creation. #self.key = request.session.session_key #self.user_id = request.user.id for field in self.session_fields: if field in request.session: setattr(self, field, request.session[field]) total = request.cart.total_price() if self.shipping_total is not None: total += Decimal(str(self.shipping_total)) if self.discount_total is not None: total -= Decimal(self.discount_total) if self.tax_total is not None: total += Decimal(self.tax_total) return total In view function: tmp_order = form.save(commit=False) request.session['wni_wxpay_total'] = tmp_order.get_tmp_total(request) Wesey Hi, Where are you trying to get this value? Is it a step handler like SHOP_HANDLER_PAYMENT or SHOP_HANDLER_ORDER? Or a regular view? If you have an order object then it should be available in order.total, given that you are “far enought” in the checkout process so it has been computed. If you just have a request, try request.session[shipping_total] combined with request.cart.total_price(). Le mercredi 27 mai 2015 13:49:51 UTC+2, Wesley a écrit : Sorry missing one that: I am trying to get the price from checkout confirmation page, I mean, when click Next on the page. Hi guys, In one of my views function, I wanna get final total price of the order. I tried to get from request.session['order']['total'] or request.session['cart']['something'] but all failed. I print order and cart getting this sample: order is: {'card_name': u'', u'delivery_type': u'', 'remember': True, 'pay_type': u'\u5fae\u4fe1\u652f\u4ed8', 'billing_detail_street': u'\u6d4b\u8bd5', 'shipping_detail_first_name': u'\u502a\u6770', 'shipping_detail_street': u'\u6d4b\u8bd5', u'additional_instructions': u'', 'card_type': u'', 'step': 2, 'same_billing_shipping': True, u'prefer_time': u'\u7acb\u5373\u9001\u9910', 'shipping_detail_phone': u'11211', 'billing_detail_email': u'whatever here', 'billing_detail_phone': u'11211', 'billing_detail_first_name': u'\u502a\u6770'} cart is:544 So, no something like 'total' in order object, and cart is id. Maybe I can get price to query database according to the cart's id, but is there any easy way to get the total price? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: How to get order final total price in views function?
Hi Stephen, Thanks for your reply. I haven't realized the _order_totals tag before. Will have a look :-) Wesley You're kind of mimicking the _order_totals function which gets used in template tags: https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/templatetags/shop_tags.py#L34 You could probably do something like: from cartridge.shop.templatetags.shop_tags import _order_totals order_vars = _order_totals({request: request}) print order_vars[order_total] On Wed, May 27, 2015 at 6:01 PM, Wesley nis...@gmail.com javascript: wrote: Hi, I am trying to get this guy jus in a regular view. My scenario is: Within checkout confirmation page, when click on 'next' to complete the order, raises a ajax request to a regular view to do something,and in this view function(only request available) I need ordr total. But, currently in the confirmation page, order is not setup or saved, so no order object available now. BTW, you mentioned, combine request.session[shipping_total] and request.cart.total_price(), then, what about tax and discount, these two guys cover the latter two valuation? Currently, I use the following snippet to get the total price(changed the source code, so it's not a good idea...), don't know if it's exactly correct but haven't hit any issue yet: Model Order: def get_tmp_total(self, request): added by wni. for weixin pay, on confirm page, need to get total for weixin order creation. #self.key = request.session.session_key #self.user_id = request.user.id for field in self.session_fields: if field in request.session: setattr(self, field, request.session[field]) total = request.cart.total_price() if self.shipping_total is not None: total += Decimal(str(self.shipping_total)) if self.discount_total is not None: total -= Decimal(self.discount_total) if self.tax_total is not None: total += Decimal(self.tax_total) return total In view function: tmp_order = form.save(commit=False) request.session['wni_wxpay_total'] = tmp_order.get_tmp_total(request) Wesey Hi, Where are you trying to get this value? Is it a step handler like SHOP_HANDLER_PAYMENT or SHOP_HANDLER_ORDER? Or a regular view? If you have an order object then it should be available in order.total, given that you are “far enought” in the checkout process so it has been computed. If you just have a request, try request.session[shipping_total] combined with request.cart.total_price(). Le mercredi 27 mai 2015 13:49:51 UTC+2, Wesley a écrit : Sorry missing one that: I am trying to get the price from checkout confirmation page, I mean, when click Next on the page. Hi guys, In one of my views function, I wanna get final total price of the order. I tried to get from request.session['order']['total'] or request.session['cart']['something'] but all failed. I print order and cart getting this sample: order is: {'card_name': u'', u'delivery_type': u'', 'remember': True, 'pay_type': u'\u5fae\u4fe1\u652f\u4ed8', 'billing_detail_street': u'\u6d4b\u8bd5', 'shipping_detail_first_name': u'\u502a\u6770', 'shipping_detail_street': u'\u6d4b\u8bd5', u'additional_instructions': u'', 'card_type': u'', 'step': 2, 'same_billing_shipping': True, u'prefer_time': u'\u7acb\u5373\u9001\u9910', 'shipping_detail_phone': u'11211', 'billing_detail_email': u'whatever here', 'billing_detail_phone': u'11211', 'billing_detail_first_name': u'\u502a\u6770'} cart is:544 So, no something like 'total' in order object, and cart is id. Maybe I can get price to query database according to the cart's id, but is there any easy way to get the total price? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Nothing displayed on page when CheckoutError raised during checkout
Hi guys, I hit a situation today when I have a try to customize shop_handler_payment. My customized payment handler do nothing but just raise cartridge.shop.checkout.CheckoutError exception. But, one confirmation page, when I click next button, nothing displayed on page indicating that this is error during checkout process, page just refresh and stay in confirmation page again. Is this just as designed? Or any special configurations for this behavior? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Cartridge: New field to OrderForm with multiwidge, value is always None in comfirmation.html
Hi guys, I hit a problem when customize OrderForm. I wanna add an option for user choosing to pickup the package, 1.we send the package to office 2.they come to retrieve If 2 is chosen, we display our sites for their choice again. So, I wanna use multiwidget to do this. Below is code snippet: 0. add model field using EXTRA_MODEL_FIELDS ( cartridge.shop.models.Order.delivery_type, 'CharField',#DateTimeField, {default:u'efoodin',max_length:60}, ), 1.widget and field customize class WniChoiceWidget(forms.MultiWidget): def decompress(self,value): if value: #hard code here just for test return [u'buyer',u'rj'] return ['buyer',u'xz'] class WniComplexChoiceField(forms.MultiValueField): def __init__(self, wnichoices, max_length=80, *args, **kwargs): sets the two fields as not required but will enforce that (at least) one is set in compress fields = (forms.ChoiceField(widget=forms.RadioSelect,choices=(('efoodin',u'efoodin delivery'),('buyer',u'self retrieve')),required=False), forms.ChoiceField(choices=wnichoices,required=False)) self.widget = WniChoiceWidget(widgets=[f.widget for f in fields]) super(WniComplexChoiceField,self).__init__(required=False,fields=fields,*args,**kwargs) def compress(self,data_list): return the choicefield value if selected or charfield value (if both empty, will throw exception if not data_list: raise ValidationError('Need to select choice or enter text for this field') #print data_list return data_list[0] if data_list[0].startswith('efoodin') else data_list[1] 2. Within OrderForm, add this guy delivery_type=WniComplexChoiceField(wnichoices=settings.CENTER_POTS['Tx']) 3. And, here is snippet in comformation.html {% for field in form %}{% ifequal field.name delivery_type %}brlabeldelivery_type:/labelnbsp;nbsp;{{ field.value }}{% endifequal %}{{ field }}{% endfor %} And, problem is: 1. to billing_shipping page, everything filled, and then, click next to comfirmation page. 2. problem goes here, delivery_type is None... 3. on the current wrong comfirmation page, click to edit shopping cart 4. return to checkout 5. Interesting, delivery_type is back and with correct value. So, what's going on with this? Is something related to formset? I see OrderForm is a formset. Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Cartridge payment
Hi guys, I have a question about payment. Currently, I see that, during payment process, user only enter card number/name .etc that are required on the page. So, is it easy to interact with some other payment system, e.g. directly with back system or something like Paypal .etc Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] How to hide product unavailable for purchase on the web page?
Hi Danny, I just realized this, but thanks to you all the same. Sorry for the noise. Thanks. Wesley On 5/02/2015 4:27 PM, Wesley wrote: Hi guys, I have a question that,how to hide product with unavailable for purchase on the page? I see that, it's showing on the page, but only says no in stock when click into the detail product page. So, how to directly make it hidden from product list on the page? I tried to select draft or even make it out-of-date, but get the same behavior. Draft is the way to go - only admin users will see it then. Log out of your account (or view your site in a different browser) and you'll notice that the product isn't listed. Seeya. Danny. -- Email: mol...@gmail.com javascript: -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] How to hide product unavailable for purchase on the web page?
Hi guys, I have a question that,how to hide product with unavailable for purchase on the page? I see that, it's showing on the page, but only says no in stock when click into the detail product page. So, how to directly make it hidden from product list on the page? I tried to select draft or even make it out-of-date, but get the same behavior. Any suggestion? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Cartrige custom shipping by country and product category
Hi Josh, Thanks for your reply. Got that and I will try later on, Wesley You should be able to do that in the billship handler. You can see the default here, https://bitbucket.org/stephenmcd/cartridge/src/57a56a41baf1b70789567a1d06b79a473e719a22/cartridge/shop/checkout.py?at=default#cl-26 The important part is that it points out that you can access request.cart So in your handler you would want to do something like: for item in request.cart: # if this is the max price so far store it # else continue # set the shipping to the max price On Tue, Feb 3, 2015 at 1:43 AM, Wesley nis...@gmail.com javascript: wrote: Hi , I have one question. Assume you've finished this feature. So, when one order comes, containing multiple products, so, how to set the final shipping value? Filter all items and set to the most expensive one? Thanks. Wesley Hey everyone, After browsing on the forum, I successfully setup a custom billship_hander depending on the country from the order_form SHOP_HANDLER_BILLING_SHIPPING = myapp.checkout.custom_billship_handler def custom_billship_handler(request, order_form): if order_form is not None: if not request.session.get(free_shipping): settings.use_editable() if order_form.cleaned_data[shipping_detail_country] == Canada: set_shipping(request, CanadaPost Regular, 5.00) elif order_form.cleaned_data[shipping_detail_country] == US: set_shipping(request, CanadaPost US Regular, 7.90) else: set_shipping(request, _(Flat rate shipping), settings. SHOP_DEFAULT_SHIPPING_VALUE) But now, is there a way to filter my shipping by location + category, or product type as defined in my child_categories ? I've been trying with the cart and order instance, but it doesn't work: #cart = Cart.objects.from_request(request) #cart_test = request.cart.has_items() #order = Order.objects.from_request(request) Any tips is appreciated! Thanks -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Cartridge. Change price by quantity (discount)
Hi , I am facing the same issue. Any final solution yet? Thanks. Wesley It's just a discussion post. I will extend Cartridge to make one feature. Change product price item by change quantity of this product. Something like this, for example: +--+-++ | Quantity | Total Price | Price per item | +--+-++ |1 | $100| $100 | |2 | $196| $98| |3 | $282| $94| |4 | $360| $90| |5 | $425| $85| +--+-++ I haven't more experience of extending Cartridge and want to get some advice about it. I take a look at models and can't decide which model i should extend. Priced with extended Priced.price logic (with extended Discount and Sale model implemented price by table like above) or something another? I have one's doubts about simple implementation of this way, because estimate some implicit relations of Cartridge models. If anybody have ideas or advices please reply. And thanks in advance for it :) -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Set discount according to given rules
Hi guys, I wanna consult with you about setting discount by given rules. For example, for specified products, unit price is 10, if you buy two, we set total to 18 instead of 20, and for quantity 3, set total to 25, .etc So, could you guys give me a direction to do this? My first thought is to filter items in an order and do according evaluation one by one, but I am afraid this would lead to performance issue. And suggestions? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Control product visibility by Time instead of DateTime
Hi Josh, Thanks for your reply. I think DiscountCodeManager's active() method can only control visible of DiscountCode model, right? Currently, I wanna control behavior of Product and Category. Lucky that what you said gives me a good direction to dig into the code. So, I see that Category/Product inherit from Displayable Model where are publish_date and expiry_date come from. And, Category/Product's objects are both related to PublishedManager which has a published() method. So, I think: 1. inject one Time field to Displayable model 2. custom published() method to check the new added Time field. I don't know If this is correct but I will have a try later. Thanks. Wesley Hey Wesley, what I would do is use field injection to add the time fields to Product and then monkey patch active method of the DiscountManager ( https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/managers.py#L212) to also check the current time against the newly injected time fields. On Sun, Nov 30, 2014 at 1:08 AM, Wesley nis...@gmail.com javascript: wrote: Hi guys, I have a question regarding Product's valid_from and valid_to field. Currently, I see we can control product's visibility by setting its valid_from and valid_to field. I see they are DateTime filed, i.e. I have to set both date and time part, and, product shows all the time through the given datetime period. However, currently, I have a requirement that set the visibility by Time, instead of DateTime, I mean, show the product through a specified time period every day, for example, display the product 08:00 - 16:00 every day. Is there anyway to achieve this without changing Mezzanine/Cartridge source code? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Control product visibility by Time instead of DateTime
Hi guys, I have a question regarding Product's valid_from and valid_to field. Currently, I see we can control product's visibility by setting its valid_from and valid_to field. I see they are DateTime filed, i.e. I have to set both date and time part, and, product shows all the time through the given datetime period. However, currently, I have a requirement that set the visibility by Time, instead of DateTime, I mean, show the product through a specified time period every day, for example, display the product 08:00 - 16:00 every day. Is there anyway to achieve this without changing Mezzanine/Cartridge source code? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Cutomize update cart behavior
Hi guys, I have a question related to customizing update cart feature. Currently, on the cart page, it displays all items, one update cart button and check out button. And, if I wanna change quantity of some item or delete one item, I have to press update cart button. Currently, what I want is: 1. remove update cart button 2. real-time update the cart items, for example, if I wanna delete one item, the item disappears after i check delete box,and if I change item quantity, it should take effect when I directly press checkout button. So, do you have some suggestions to achieve this in any easy way? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Use EXTRA_MODEL_FIELDS to add ManyToManyField
Hi guys, I hit a problem when add ManyToManyField via EXTRA_MODEL_FIELDS. I wanna add relation between DiscountCode and User Model like this: from django.contrib.auth.models import User EXTRA_MODEL_FIELDS = ( ( cartridge.shop.models.DiscountCode.rel_users, ManyToManyField, (User,), {blank: True, null: True,'verbose_name':valid users,'related_name':'discountcodes'}, ), ) I got this: D:\workspace43\weichunpython manage.py runserver Traceback (most recent call last): File manage.py, line 11, in module from settings import PROJECT_ROOT, PROJECT_DIRNAME File D:\workspace43\weichun\settings.py, line 362, in module from local_settings import * File D:\workspace43\weichun\local_settings.py, line 53, in module from django.contrib.auth.models import User File D:\Python27\lib\site-packages\django\contrib\auth\models.py, line 8, in module from django.db import models File D:\Python27\lib\site-packages\django\db\__init__.py, line 11, in module if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES: File D:\Python27\lib\site-packages\django\conf\__init__.py, line 52, in __getattr__ self._setup(name) File D:\Python27\lib\site-packages\django\conf\__init__.py, line 45, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.confi gure() before accessing settings. So how to fix this? Does EXTRA_MODEL_FIELDS support adding ManyToManyField? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Easy way to extends Form fields?
Hi Josh, Actually, I wanna add a captcha validator on the sign in form, that is mezzanine.accounts.forms.LoginForm. I use django-simple-captcha plugin, so I need a add a field to the LoginForm, but I don't wanna change mezzanine code. So, I see EXTRA_MODEL_FIELDS is easily used to add fileds to existing Model, what about for existing Form? I see LoginForm is not inherited from ModelForm, otherwise, I can add field to the Model. Thanks. Wesley Hey Wesley, not that I'm aware of. What are you trying to do? On Sun, Oct 26, 2014 at 11:08 PM, Wesley nis...@gmail.com javascript: wrote: Hi all, I see there is a settings option named EXTRA_MODEL_FIELDS to add field to one Model. Is there one used for Form instead of Model? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Captcha validator error with Cartridge checkout steps
Seems django simple captcha has problem with form wizard which is used for OrderForm, right? Here is issue link: https://github.com/mbi/django-simple-captcha/issues/6 So, anyone has suggestion to fix this? or better idea to make captcha when checking out? Thanks. Wesley 在 2014年10月21日星期二UTC+8下午8时32分25秒,Wesley写道: Hi all, I hit a problem when setup site upon Cartridge. Currently I wanna generate captcha during checkout steps. So,after a while's google work, I find https://github.com/mjtorn/mezzanine-captcha. Follow the installation, I setup the test env, and, add captcha field to OrderForm like wni_captcha = captcha.fields.CaptchaField() Then, run the server, everything is OK and captcha image displays correctly. However, when I enter the right characters, the form always raises captcha validator error:-( Anyone hit before? Or any better way to make captcha? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Captcha validator error with Cartridge checkout steps
Hi all, I hit a problem when setup site upon Cartridge. Currently I wanna generate captcha during checkout steps. So,after a while's google work, I find https://github.com/mjtorn/mezzanine-captcha. Follow the installation, I setup the test env, and, add captcha field to OrderForm like wni_captcha = captcha.fields.CaptchaField() Then, run the server, everything is OK and captcha image displays correctly. However, when I enter the right characters, the form always raises captcha validator error:-( Anyone hit before? Or any better way to make captcha? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Does Cartridge has customer center?
Hi Stephen, Thanks for your reply., I got the place. Wesley 在 2014年10月13日星期一UTC+8上午3时29分48秒,Stephen McDonald写道: Mezzanine has public user accounts with profiles via the mezzanine.accounts app: http://mezzanine.jupo.org/docs/user-accounts.html Cartridge extends it with the ability to view your past orders. On Mon, Oct 13, 2014 at 1:03 AM, Wesley nis...@gmail.com javascript: wrote: Hi guys, I setup a shop based on Mezzanine and Cartridge. Is there any existing page like customer center, I mean, here customer who is buying anything from the shop can maintain his/her our profile, for example, change password, email address, and also can see his/her own order history. I see I can develop such interface, just wanna if there is existing one integrated to Mezzanine/Cartridge. Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Does Cartridge has customer center?
Hi guys, I setup a shop based on Mezzanine and Cartridge. Is there any existing page like customer center, I mean, here customer who is buying anything from the shop can maintain his/her our profile, for example, change password, email address, and also can see his/her own order history. I see I can develop such interface, just wanna if there is existing one integrated to Mezzanine/Cartridge. Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Display differently according to user agent
Hi guys, I have a question about displaying pages according to user agent. Currently I wanna display menus only when requests from PC browser, i.e. when receive request from cell phone browser,hide the page menus. 1. I set the following in settings.py DEVICE_USER_AGENTS = ( (mobile, (Android, BlackBerry, iPhone)), (desktop, (Windows, Macintosh, Linux)), ) DEVICE_DEFAULT = desktop 2. I add mytheme(my own app used to customize mezzanine)/templates/mobile/base.html, and write some simple words in base.html. Then, run server again, access from PC chrome, it's OK as usual. But access from my nexus chrome, pages are some as previous. This is user agent I print: * PC chrome is Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 * Nexus phone chrome is Mozilla/5.0 (Linux; Android 4.4.4; Nexus 4 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.99 Mobile Safari/537.36 So, seems mezzanine didn't prefix template path with mobile, is there anything else I should configure or do? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Display differently according to user agent
Hi Stephen, Do you mean remove the whole DEVICE_USER_AGENTS? Then that will act just as usual, how to trigger action as I wanted? Thanks. Wesley On Sun, Sep 28, 2014 at 7:48 PM, Wesley nis...@gmail.com javascript: wrote: Hi guys, I have a question about displaying pages according to user agent. Currently I wanna display menus only when requests from PC browser, i.e. when receive request from cell phone browser,hide the page menus. 1. I set the following in settings.py DEVICE_USER_AGENTS = ( (mobile, (Android, BlackBerry, iPhone)), (desktop, (Windows, Macintosh, Linux)), ) DEVICE_DEFAULT = desktop 2. I add mytheme(my own app used to customize mezzanine)/templates/mobile/base.html, and write some simple words in base.html. Then, run server again, access from PC chrome, it's OK as usual. But access from my nexus chrome, pages are some as previous. This is user agent I print: * PC chrome is Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 * Nexus phone chrome is Mozilla/5.0 (Linux; Android 4.4.4; Nexus 4 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.99 Mobile Safari/537.36 So, seems mezzanine didn't prefix template path with mobile, is there anything else I should configure or do? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. Your phone's user agent also says it's Linux which might cause the behaviour. Try removing those settings you defined, the default for DEVICE_USER_AGENTS already contains a much more comprehensive list of mobile user agents, and doesn't define any for the desktop, since it's the default already. -- Stephen McDonald http://jupo.org -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Display differently according to user agent
Hi Kenneth, Thanks for your suggestion. I will look at the link you gave for details. BTW, why I wanna customize is I got some special requirements from customer. Anyway, I will follow your suggestion that don't break those existing behavior in Mezzanine unless I am sure it's an improvement. Thanks again. Wesley Hi Wesley, What Stephen is saying is that the default settings.DEVICE_USER_AGENTS provides a better mapping than the one you hacked together. Take a look at https://github.com/stephenmcd/mezzanine/blob/e2b0aa6d6fbf699f3e1c68a4a522f5abaf40bbb6/mezzanine/core/defaults.py#L116-L136 to see how Mezzanine behaves out-of-the-box. Putting your own tuple-of-tuples in there is begging for breakage. Looking back at the history of your posts to this list, I notice lots of attempts by you to go your own way. While you may get to your destination, you are spending a lot of energy fighting the sane defaults and well-tested functionality of Mezzanine. It appears, to this reader, that you think your cases are special and require lots of customizing. Twenty years in this business has taught me that there are very few special cases and almost all of those should be put on the back burner and re-considered when time allows. Take some time to internalize the Zen of Python http://legacy.python.org/dev/peps/pep-0020/. Resist the temptation to make changes until you can prove that the change will be an improvement. hth, ken On Sun, Sep 28, 2014 at 6:40 AM, Wesley nis...@gmail.com javascript: wrote: Hi Stephen, Do you mean remove the whole DEVICE_USER_AGENTS? Then that will act just as usual, how to trigger action as I wanted? Thanks. Wesley On Sun, Sep 28, 2014 at 7:48 PM, Wesley nis...@gmail.com wrote: Hi guys, I have a question about displaying pages according to user agent. Currently I wanna display menus only when requests from PC browser, i.e. when receive request from cell phone browser,hide the page menus. 1. I set the following in settings.py DEVICE_USER_AGENTS = ( (mobile, (Android, BlackBerry, iPhone)), (desktop, (Windows, Macintosh, Linux)), ) DEVICE_DEFAULT = desktop 2. I add mytheme(my own app used to customize mezzanine)/templates/mobile/base.html, and write some simple words in base.html. Then, run server again, access from PC chrome, it's OK as usual. But access from my nexus chrome, pages are some as previous. This is user agent I print: * PC chrome is Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 * Nexus phone chrome is Mozilla/5.0 (Linux; Android 4.4.4; Nexus 4 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.99 Mobile Safari/537.36 So, seems mezzanine didn't prefix template path with mobile, is there anything else I should configure or do? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. Your phone's user agent also says it's Linux which might cause the behaviour. Try removing those settings you defined, the default for DEVICE_USER_AGENTS already contains a much more comprehensive list of mobile user agents, and doesn't define any for the desktop, since it's the default already. -- Stephen McDonald http://jupo.org -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Customize product category theme
Hi all, Thanks for your reply. I will use html/css/js to do this. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Extend Cartridge to be a shop platform
Thanks for your response. I will dig into it when coding for that functionality. Thanks. Wesley 在 2014年9月22日星期一UTC+8下午7时35分43秒,Kenneth Bolton写道: I have done exactly what you are looking for using stock Mezzanine/Cartridge. Do not over-think the problem. Use Mezzanine's multi-tenancy and Django's groups and you have what you need. ken On Sun, Sep 21, 2014 at 11:40 PM, Wesley nis...@gmail.com javascript: wrote: Hi Josh, Thanks for your reply. I look at the multi-tenancy part. I think it's not what I wanted. multi-tenancy is used for serving multiple sites within one project instance. And key point is upon host matching. And, this suits to different hostnames, for example, two hostnames, example1.com and example2.com, User1 access example1.com and user2 access example2.com This is OK when accessing different sites. My requirement is quite different users login the same site(domain name), so, this is different from the above scenario, I think I need to design different organizations with their admin can login to add their products and their own related staff. I don't know if anyone has developed this or any existing apps there. Thanks. Wesley Hey Wesley, I think you can do that just using Mezzanine's built in multi site handling. Here are the docs on that, https://mezzanine.jupo.org/ docs/multi-tenancy.html On Thu, Sep 18, 2014 at 10:27 PM, Wesley nis...@gmail.com wrote: Hi guys, These days I am trying to use Cartridge, and it's indeed a very good project. Today one flash comes to be that is it easy to extend Cartridge to be a shop platform? I mean, currently, a Mezzanine site with Cartridge installed, work as a single shop, e.g. login with admin user, add product .etc. So, assume we setup a new website, there are two Companies, A and B, now A can login the site and add their products, in the meantime, B should also login and add B's products and cannot view A's products. So, is it easy to do this or any existing apps? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Extend Cartridge to be a shop platform
Thanks for your response. I will dig into it when coding for that functionality. Thanks. Wesley 在 2014年9月22日星期一UTC+8下午7时35分43秒,Kenneth Bolton写道: I have done exactly what you are looking for using stock Mezzanine/Cartridge. Do not over-think the problem. Use Mezzanine's multi-tenancy and Django's groups and you have what you need. ken On Sun, Sep 21, 2014 at 11:40 PM, Wesley nis...@gmail.com javascript: wrote: Hi Josh, Thanks for your reply. I look at the multi-tenancy part. I think it's not what I wanted. multi-tenancy is used for serving multiple sites within one project instance. And key point is upon host matching. And, this suits to different hostnames, for example, two hostnames, example1.com and example2.com, User1 access example1.com and user2 access example2.com This is OK when accessing different sites. My requirement is quite different users login the same site(domain name), so, this is different from the above scenario, I think I need to design different organizations with their admin can login to add their products and their own related staff. I don't know if anyone has developed this or any existing apps there. Thanks. Wesley Hey Wesley, I think you can do that just using Mezzanine's built in multi site handling. Here are the docs on that, https://mezzanine.jupo.org/ docs/multi-tenancy.html On Thu, Sep 18, 2014 at 10:27 PM, Wesley nis...@gmail.com wrote: Hi guys, These days I am trying to use Cartridge, and it's indeed a very good project. Today one flash comes to be that is it easy to extend Cartridge to be a shop platform? I mean, currently, a Mezzanine site with Cartridge installed, work as a single shop, e.g. login with admin user, add product .etc. So, assume we setup a new website, there are two Companies, A and B, now A can login the site and add their products, in the meantime, B should also login and add B's products and cannot view A's products. So, is it easy to do this or any existing apps? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Extend Cartridge to be a shop platform
Hi Josh, Thanks for your reply. I look at the multi-tenancy part. I think it's not what I wanted. multi-tenancy is used for serving multiple sites within one project instance. And key point is upon host matching. And, this suits to different hostnames, for example, two hostnames, example1.com and example2.com, User1 access example1.com and user2 access example2.com This is OK when accessing different sites. My requirement is quite different users login the same site(domain name), so, this is different from the above scenario, I think I need to design different organizations with their admin can login to add their products and their own related staff. I don't know if anyone has developed this or any existing apps there. Thanks. Wesley Hey Wesley, I think you can do that just using Mezzanine's built in multi site handling. Here are the docs on that, https://mezzanine.jupo.org/docs/multi-tenancy.html On Thu, Sep 18, 2014 at 10:27 PM, Wesley nis...@gmail.com javascript: wrote: Hi guys, These days I am trying to use Cartridge, and it's indeed a very good project. Today one flash comes to be that is it easy to extend Cartridge to be a shop platform? I mean, currently, a Mezzanine site with Cartridge installed, work as a single shop, e.g. login with admin user, add product .etc. So, assume we setup a new website, there are two Companies, A and B, now A can login the site and add their products, in the meantime, B should also login and add B's products and cannot view A's products. So, is it easy to do this or any existing apps? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Cartridge support import/export products from
Hi, Thanks. Comes out I should use something like python manage.py product_db --export/import csvfile. I know loaddata, but usually I use this guy to copy env, i.e. dumpdata from another setup and loaddata upon a new setup. Also, I can directly dump database and load the dump file then. Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Mezzanine mobile site
Hi Josh, Sorry for the late response. So, I just have a site upon Mezzanine, and create some new templates extending mezzanine's page.html .etc I am not using Bootstrap explicitly. So, when I resize my browser window to a size similar to a cell phone, I see there is sometimes a scroll bar at the screen bottom. I see there is an app named mezzanine.mobile, is this guy related to making mezzanine mobile site? Thanks. Wesley 在 2014年7月1日星期二UTC+8下午9时43分44秒,Josh Cartmell写道: Hey Wesley, is the existing site Mezzanine? Was it build using Bootstrap? If the answers to those two questions are yes I would recommend just using the responsive features of Bootstrap to just have one site that looks good on multiple platforms. On Tue, Jul 1, 2014 at 9:29 AM, Ni Wesley nis...@gmail.com javascript: wrote: Hi all, I have a question about the way to generate mobile site from existing desktop web site. Is there any easy way for mezzanine to do this? If has,could you please give a short guide for it? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: LC_MONETARY is required?
Sorry, I find answer from https://groups.google.com/forum/#!topic/mezzanine-users/ZlXkZCftEKg. 在 2014年8月26日星期二UTC+8下午8时10分52秒,Wesley写道: Hi guys, I hit a problem today. I move my project to one VPS located at LA. When running, it keeps logging ImproperlyConfigured: Invalid currency locale specified for SHOP_CURRENCY_LOCALE: ''. You'll need to set the locale for your system, or configure the SHOP_CURRENCY_LOCALE setting in your settings module.. Looking at cartridge source: def set_locale(): Sets the locale for currency formatting. currency_locale = str(settings.SHOP_CURRENCY_LOCALE) try: if setlocale(LC_MONETARY, currency_locale) == C: # C locale doesn't contain a suitable value for frac_digits. raise except: msg = _(Invalid currency locale specified for SHOP_CURRENCY_LOCALE: '%s'. You'll need to set the locale for your system, or configure the SHOP_CURRENCY_LOCALE setting in your settings module.) raise ImproperlyConfigured(msg % currency_locale) There is no SHOP_CURRENCY_LOCALE in my settings.py, but It's OK when my code runs upon WIN7 desktop. My VPS is centos 6.5, so, how this happened? What should I do to fix? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] how to remove billing details for checkout first step
Hi guys, I got one question here regarding checkout process. I see there is one option SHOP_PAYMENT_STEP_ENABLED that I can remove payment step by setting this guy to False. Then, I wanna disable billing details for the first step, i.e. only display shipping details, additional instructions. I search the docs and didn't find a option settings to archieve this. I there is one, could you please tell me here? So, I copied cartridge code and do some modification. For example: 1.billing_shipping.html change some block to here: !--fieldset legend{% trans Billing Details %}/legend {% fields_for form.billing_detail_fields %} /fieldset-- fieldset legend{% trans Delivery Details %}/legend !-- {% fields_for form.same_billing_shipping_field %} -- div id=shipping_fields{% fields_for form.shipping_detail_fields %}shit/div {% fields_for form.additional_instructions_field %} {% fields_for form.remember_field %} /fieldset re-run server, no Billing Details any more, however, there is also no any other field, saying, shipping detailed fields,additional instruction field .etc 2.then, change OrderForm class: class Meta: model = Order fields = ([f.name for f in Order._meta.fields if #f.name.startswith(billing_detail) or f.name.startswith(shipping_detail)] + [additional_instructions, discount_code]) you see I comment the line related to billing detail. unfortunately, the same issue as above... So, what should I do here? any easy way? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] how to remove billing details for checkout first step
Hi guys, I got one question here regarding checkout process. I see there is one option SHOP_PAYMENT_STEP_ENABLED that I can remove payment step by setting this guy to False. Then, I wanna disable billing details for the first step, i.e. only display shipping details, additional instructions. I search the docs and didn't find a option settings to archieve this. I there is one, could you please tell me here? So, I copied cartridge code and do some modification. For example: 1.billing_shipping.html change some block to here: !--fieldset legend{% trans Billing Details %}/legend {% fields_for form.billing_detail_fields %} /fieldset-- fieldset legend{% trans Delivery Details %}/legend !-- {% fields_for form.same_billing_shipping_field %} -- div id=shipping_fields{% fields_for form.shipping_detail_fields %}shit/div {% fields_for form.additional_instructions_field %} {% fields_for form.remember_field %} /fieldset re-run server, no Billing Details any more, however, there is also no any other field, saying, shipping detailed fields,additional instruction field .etc 2.then, change OrderForm class: class Meta: model = Order fields = ([f.name for f in Order._meta.fields if #f.name.startswith(billing_detail) or f.name.startswith(shipping_detail)] + [additional_instructions, discount_code]) you see I comment the line related to billing detail. unfortunately, the same issue as above... So, what should I do here? any easy way? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] how to remove billing details for checkout first step
Hi Josh, I think you misunderstand. I wanna remove billing fields, not shipping fields, for my situation here, shipping fields with additional instruction field is enough. And I just have a try to remove the div you mentioned, then, It keeps posting errors when press next button although I cannot find where is wrong I filled in. 在 2014年8月25日星期一UTC+8下午10时34分11秒,Josh Cartmell写道: Hey Wesley, try removing this div id=shipping_fields from the shipping fields. That class is hidden by default and there is some logic that shows it under certain circumstances. My understanding is that you want it always visible. On Mon, Aug 25, 2014 at 7:31 AM, Wesley nis...@gmail.com javascript: wrote: Hi guys, I got one question here regarding checkout process. I see there is one option SHOP_PAYMENT_STEP_ENABLED that I can remove payment step by setting this guy to False. Then, I wanna disable billing details for the first step, i.e. only display shipping details, additional instructions. I search the docs and didn't find a option settings to archieve this. I there is one, could you please tell me here? So, I copied cartridge code and do some modification. For example: 1.billing_shipping.html change some block to here: !--fieldset legend{% trans Billing Details %}/legend {% fields_for form.billing_detail_fields %} /fieldset-- fieldset legend{% trans Delivery Details %}/legend !-- {% fields_for form.same_billing_shipping_field %} -- div id=shipping_fields{% fields_for form.shipping_detail_fields %}shit/div {% fields_for form.additional_instructions_field %} {% fields_for form.remember_field %} /fieldset re-run server, no Billing Details any more, however, there is also no any other field, saying, shipping detailed fields,additional instruction field .etc 2.then, change OrderForm class: class Meta: model = Order fields = ([f.name for f in Order._meta.fields if #f.name.startswith(billing_detail) or f.name.startswith(shipping_detail)] + [additional_instructions, discount_code]) you see I comment the line related to billing detail. unfortunately, the same issue as above... So, what should I do here? any easy way? Thanks. Wesley -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] How to add cartridge to existing Mezzanine project
Hi Josh, Here is output for running migrate with fake option: Running migrations for shop: - Migrating forwards to 0025_auto__add_field_order_site. shop:0001_initial (faked) shop:0002_auto__add_field_category_price_max__add_field_category_sale__add_field (faked) shop:0003_auto (faked) shop:0004_auto__del_field_product__keywords__add_field_product_site__add_field_p (faked) shop:0005_auto__add_field_product_rating_count__add_field_product_rating_average (faked) shop:0006_auto__chg_field_product_content__chg_field_category_content (faked) shop:0007_auto__add_field_productimage__order (faked) shop:0008_auto__add_field_order_transaction_id (faked) shop:0009_auto__add_field_product_gen_description (faked) shop:0010_auto__chg_field_product_title__chg_field_product_slug (faked) shop:0011_auto__add_uses_remaining (faked) shop:0012_allow_100_percent_discount (faked) shop:0012_auto__chg_field_cart_last_updated (faked) shop:0013_auto__chg_field_productvariation_sku__add_field_product_num_in_stock (faked) shop:0014_stock_data (faked) shop:0015_add_field_product_sku (faked) shop:0016_add_field_product__meta_title (faked) shop:0017_auto__add_field_category_featured_image (faked) shop:0018_auto__add_field_product_in_sitemap (faked) shop:0019_auto__add_field_order_tax_type__add_field_order_tax_total (faked) shop:0020_auto__add_field_product_rating_sum (faked) shop:0021_auto__chg_field_cartitem_url (faked) shop:0022_auto__chg_field_cartitem_description__chg_field_orderitem_description (faked) shop:0023_auto__add_field_product_created__add_field_product_updated (faked) shop:0024_auto__chg_field_product_rating__chg_field_product_keywords (faked) shop:0025_auto__add_field_order_site (faked) so, what's the fake here means? only for check migration .py files? BTW, I find something interesting today. I mentioned I drop migrations and directly use syncdb in my previous mail and you say that should work. But, I check code and find one db field of Product, i.e. rating_average, I cannot find this guy in models.py but only in those migration scripts. Does this mean I have to do migration operation? Why this field not coded directly in models definition? Thanks. Wesl 在 2014年8月22日星期五UTC+8下午10时16分10秒,Josh Cartmell写道: Hey Wesley, that should work, but if you ever upgrade to a newer version of Cartridge and need to run migrations you will run into issues. What happens if you run: python manage.py migrate cartridge --fake On Fri, Aug 22, 2014 at 1:53 AM, Wesley nis...@gmail.com javascript: wrote: Now, because I add cartridge to existing project. So, I drop the Cartridge's migrations folder. Then, instead of migrate, i just use python manage.py syncdb Seems it's OK. Is what I do correct? 在 2014年8月22日星期五UTC+8上午9时58分19秒,Stephen McDonald写道: Can you find that migration file and try adding this line to the very top of it, and let us know if that resolves it? from __future__ import unicode_literals On Thu, Aug 21, 2014 at 11:36 PM, Wesley nis...@gmail.com wrote: Thanks for your answer. So, I diffing settings and urls.py, and add those lost lines compared to Cartridge's. Then, run python manage.py migrate(I see there is migrations folder under cartridge), and got error here: Running migrations for mytheme: - Nothing to migrate. - Loading initial data for mytheme. Installed 0 object(s) from 0 fixture(s) Running migrations for mezzanine_blocks: - Nothing to migrate. - Loading initial data for mezzanine_blocks. Installed 0 object(s) from 0 fixture(s) Running migrations for shop: - Migrating forwards to 0025_auto__add_field_order_site. shop:0001_initial TypeError: type() argument 1 must be string, not unicode So, what's wrong here? shouldn't I migrate here? versions here: mezzanine.__version__ '3.1.9' import cartridge cartridge.__version__ '0.9.5' Thanks. 在 2014年8月21日星期四UTC+8下午6时44分00秒,Stephen McDonald写道: Have a look in the cartridge/project_template directory - settings.py and urls.py will contain everything needed. On Thu, Aug 21, 2014 at 7:15 PM, Wesley nis...@gmail.com wrote: Hi guys, I have a question regarding adding cartridge to existing Mezzanine project. I have a site based on Mezzanine now, and wanna add new functionality to support shopping cart. I a little new to Mezzanine, so, how to add cartridge easily? Then, I can edit product info within admin and see products list from website. Thanks a lot. Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you
Re: [mezzanine-users] How to add cartridge to existing Mezzanine project
Somebody know this issue? 在 2014年8月21日星期四UTC+8下午9时36分59秒,Wesley写道: Thanks for your answer. So, I diffing settings and urls.py, and add those lost lines compared to Cartridge's. Then, run python manage.py migrate(I see there is migrations folder under cartridge), and got error here: Running migrations for mytheme: - Nothing to migrate. - Loading initial data for mytheme. Installed 0 object(s) from 0 fixture(s) Running migrations for mezzanine_blocks: - Nothing to migrate. - Loading initial data for mezzanine_blocks. Installed 0 object(s) from 0 fixture(s) Running migrations for shop: - Migrating forwards to 0025_auto__add_field_order_site. shop:0001_initial TypeError: type() argument 1 must be string, not unicode So, what's wrong here? shouldn't I migrate here? versions here: mezzanine.__version__ '3.1.9' import cartridge cartridge.__version__ '0.9.5' Thanks. 在 2014年8月21日星期四UTC+8下午6时44分00秒,Stephen McDonald写道: Have a look in the cartridge/project_template directory - settings.py and urls.py will contain everything needed. On Thu, Aug 21, 2014 at 7:15 PM, Wesley nis...@gmail.com wrote: Hi guys, I have a question regarding adding cartridge to existing Mezzanine project. I have a site based on Mezzanine now, and wanna add new functionality to support shopping cart. I a little new to Mezzanine, so, how to add cartridge easily? Then, I can edit product info within admin and see products list from website. Thanks a lot. Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] How to add cartridge to existing Mezzanine project
Add that line to the top of 0025_auto__add_field_order_site. But with the same error ... 在 2014年8月22日星期五UTC+8上午9时58分19秒,Stephen McDonald写道: Can you find that migration file and try adding this line to the very top of it, and let us know if that resolves it? from __future__ import unicode_literals On Thu, Aug 21, 2014 at 11:36 PM, Wesley nis...@gmail.com javascript: wrote: Thanks for your answer. So, I diffing settings and urls.py, and add those lost lines compared to Cartridge's. Then, run python manage.py migrate(I see there is migrations folder under cartridge), and got error here: Running migrations for mytheme: - Nothing to migrate. - Loading initial data for mytheme. Installed 0 object(s) from 0 fixture(s) Running migrations for mezzanine_blocks: - Nothing to migrate. - Loading initial data for mezzanine_blocks. Installed 0 object(s) from 0 fixture(s) Running migrations for shop: - Migrating forwards to 0025_auto__add_field_order_site. shop:0001_initial TypeError: type() argument 1 must be string, not unicode So, what's wrong here? shouldn't I migrate here? versions here: mezzanine.__version__ '3.1.9' import cartridge cartridge.__version__ '0.9.5' Thanks. 在 2014年8月21日星期四UTC+8下午6时44分00秒,Stephen McDonald写道: Have a look in the cartridge/project_template directory - settings.py and urls.py will contain everything needed. On Thu, Aug 21, 2014 at 7:15 PM, Wesley nis...@gmail.com wrote: Hi guys, I have a question regarding adding cartridge to existing Mezzanine project. I have a site based on Mezzanine now, and wanna add new functionality to support shopping cart. I a little new to Mezzanine, so, how to add cartridge easily? Then, I can edit product info within admin and see products list from website. Thanks a lot. Wesley -- 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 mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Mezzanine mobile site
Hi all, I have a question about the way to generate mobile site from existing desktop web site. Is there any easy way for mezzanine to do this? If has,could you please give a short guide for it? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Form page submit handler?
Hi Danny, Got that, thanks. Seems @processor_for is mezzanine specific , not for django itself. Wesley 在 2014年5月22日星期四UTC+8下午12时21分19秒,Danny S写道: On 22/05/2014 1:48 PM, Wesley wrote: Hi guys, I got a question regarding form page, that, what's the view function to handle form submit within the Form page? I wanna customize the view function but didn't find the right place. https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/forms/page_processors.py function form_processor seems to handle form submission emailing. Thanks. Wesley HTH. HAND. Seeya. Danny. -- Email: mol...@gmail.com javascript: -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Consult one design
Guys, I am trying to customize homepage these days. I have succeeded to make homepage editable in admin. Here just wanna consult one design case. Firstly, show u guys the homepage structure: https://lh4.googleusercontent.com/-vKo_-blDkS0/U3MTNbsv12I/AFk/QDQfNtzT05U/s1600/QQ%E5%9B%BE%E7%89%8720140514145244.jpg So, just see the ColumnX part, now , I wanna these columns editable during the admin homepage editing, that is, columns number and each column content, so, I think the ColumnX part should be a page, eh? How to desigh this? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Consult one design
Hi Luc, Just check out the package and involved to my project as App. Set it to installed_app and in one of my template, I use {% flatblock My Awesome Block %}. But no context displayed neither in site page nor in admin... Here is src generated by {% flatblock My Awesome Block %} div class=flatblock block-my-awesome-block form style=display:none; class=editable-form method=post action=/edit/ id=1b97c8ef-57b6-4c08-864a-44fe01a42b2f input type=hidden name=csrfmiddlewaretoken value=wvCUOpF4swQFlakrtOOJlAQjyOlZ1DdH p label for=content-1b97c8ef-57b6-4c08-864a-44fe01a42b2fContent/labelbrtextarea class= charfield cols=40 id=content-1b97c8ef-57b6-4c08-864a-44fe01a42b2f name=content rows=10/textarea /p p style=display:none; label for=app-1b97c8ef-57b6-4c08-864a-44fe01a42b2fApp/labelbrinput class= charfield id=app-1b97c8ef-57b6-4c08-864a-44fe01a42b2f name=app type=hidden value=mezzanine_blocks /p p style=display:none; label for=model-1b97c8ef-57b6-4c08-864a-44fe01a42b2fModel/labelbrinput class= charfield id=model-1b97c8ef-57b6-4c08-864a-44fe01a42b2f name=model type=hidden value=block /p p style=display:none; label for=id-1b97c8ef-57b6-4c08-864a-44fe01a42b2fId/labelbrinput class= charfield id=id-1b97c8ef-57b6-4c08-864a-44fe01a42b2f name=id type=hidden value=1 /p p style=display:none; label for=fields-1b97c8ef-57b6-4c08-864a-44fe01a42b2fFields/labelbrinput class= charfield id=fields-1b97c8ef-57b6-4c08-864a-44fe01a42b2f name=fields type=hidden value=content /p input type=submit value=Save class=btn btn-primary btn-lg input type=button value=Cancel class=btn btn-default btn-lg /form div class=editable-original div class=content/div /div a style=visibility: hidden; top: 545px; left: -32px; class=editable-link href=# rel=#1b97c8ef-57b6-4c08-864a-44fe01a42b2fEdit/a div style=visibility: hidden; width: 1140px; height: 0px; top: 545px; left: 15px; class=editable-highlight/div /div 在 2014年5月14日星期三UTC+8下午3时12分45秒,Luc Milland写道: Hi Wesley, you could use something like https://github.com/renyi/mezzanine-blocks for that use. Luc Le mardi 13 mai 2014 à 23:58 -0700, Wesley a écrit : Guys, I am trying to customize homepage these days. I have succeeded to make homepage editable in admin. Here just wanna consult one design case. Firstly, show u guys the homepage structure: https://lh4.googleusercontent.com/-vKo_-blDkS0/U3MTNbsv12I/AFk/QDQfNtzT05U/s1600/QQ%E5%9B%BE%E7%89%8720140514145244.jpg So, just see the ColumnX part, now , I wanna these columns editable during the admin homepage editing, that is, columns number and each column content, so, I think the ColumnX part should be a page, eh? How to desigh this? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Redirect homepage template to customized html instead of pages/index.html
Hi all, I am learning to customize homepage theme according to http://bitofpixels.com/blog/mezzatheming-part-2-the-homepage/ Here I hit a question that, homepage always use pages/index.html, actually, I have a homepage.html extends pages/index.html. So, how to change the template name for the new added homepage(subclass Page just as that artical said). Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] How to refer filefield src in template
Hi guys, I hit a proble when referring filefield in template. Here is model: class Slide(Orderable): ''' A slide in a slider connected to a HomePage ''' homepage = models.ForeignKey(HomePage, related_name=slides) image = FileField(verbose_name=_(Image), upload_to=upload_to(mytheme.Slide.image, slider), format=Image, max_length=255, null=True, blank=True) Here is template snippet: {% for slide in page.homepage.slides.all %} div class=item !-- img class=img-responsive img-full src={{ slide.get_image_url }} alt= -- img class=img-responsive img-full src={{ MEDIA_URL }}{% thumbnail slide.image 1920 690 %} alt= /div {% endfor %} It cannot find the src image, why? how to fix? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Mezzanine tree and right-panel display block blank box
Hi guys, I hit a problem here. When I unchecked - Left-hand tree - Footer from all pages, hit a problem seeing the following pic: https://lh3.googleusercontent.com/-l96kXh-GKlQ/U3B6cj9UQ7I/AFU/EUjRoN8seYk/s1600/mezzanine_block_tree_bug.jpg So, how to fix this? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Free mezzanine themes
Hi guys, I am a little new to Mezzanine but I find it really powerful:-) Here I have a question that are there any free mezzanine themes? Just googled a while, seems we need to pay most of them? Anyone know free ones? Just wanna a try cool theme customize. Thx. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Tool for drawing mezzanine model graph
Hi all, I am looking at mezzanine docs these days and today I find a page regarding model graph. Here is the graph link: http://mezzanine.jupo.org/docs/_images/graph.png So, anybody know which tool is used to generate this graph, python specific tool? Thanks. Wesley -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.