Re: [mezzanine-users] Make HOST_THEMES templates work as expected

2014-10-02 Thread Mohammad Tayseer
Great. I will work on the pull request during the coming week. On Wed, Oct 1, 2014 at 1:28 AM, Stephen McDonald st...@jupo.org wrote: Hi Mohammad, That looks awesome - would you like to set up a pull request to properly include this in the next release? On Tue, Sep 30, 2014 at 4:14 AM,

[mezzanine-users] Re: Mezzanine - Django-Rest-Framework

2014-10-02 Thread Renyi
Awesome that someone is actually working on this ! Thank you ! Took a quick glance at the commits, here are some suggestions, 1. Use separate API url for management/administration (Object level / Django permission) and public view (Read Only) 2. Token authentication integration with Mezzanine

[mezzanine-users] Re: Is Drum Bootstrap 3? Is it compatible with the latest version of Mezzanine?

2014-10-02 Thread Renyi
You can update all the templates to use bootstrap 3. Not that much work. Only problem I have with Drum and Mezzanine together is the editable script which clashes with pajax, which can be easily fixed. On Thursday, September 18, 2014 8:13:30 AM UTC+8, Duke Dougal wrote: I'd like to use Drum

Re: [mezzanine-users] What if the site failed to send the verification email

2014-10-02 Thread Josh Cartmell
Also, you are correct that you can't send the verification again (as far as I know) but you can manually activate users by finding them in the Users section of the admin, opening their record, checking the active box and saving. On Wed, Oct 1, 2014 at 8:22 PM, Ken Bolton kenbol...@gmail.com

Re: [mezzanine-users] Re: Adding Auto-Suggest to User Profile Page

2014-10-02 Thread Josh Cartmell
Hey Joel, there is nothing specific in Mezzanine that will help you accomplish that. What you will need to do is create a custom widget for the field (or find one somewhere that does what you want). Here is the Django documentation on widgets:

Re: [mezzanine-users] Cartrige custom shipping by country and product category

2014-10-02 Thread Josh Cartmell
Hey Mat, could you go into more detail about what you mean by location + category. I'm not sure what you are trying to do so it's hard to make a recommendation =) On Wed, Oct 1, 2014 at 12:11 PM, Mat Caissy matsi...@gmail.com wrote: Hey everyone, After browsing on the forum, I successfully

Re: [mezzanine-users] Re: Adding Auto-Suggest to User Profile Page

2014-10-02 Thread Joel Gwynn
Thanks, Josh. I think I understand. The Django documentation assumes that I'll be creating my own ModelForm class, but I'd imagine that in Mezzanine I'd want to use the existing mezzanine.accounts.ProfileForm class. So how do I tell the ProfileForm class to use my widget for my MyProfile

Re: [mezzanine-users] Re: Tried 3-4 heroku deployment tutorials but stuck on each one.

2014-10-02 Thread Kyle Pennell
I sadly couldn't figure it out and asked too many questions which understandably frustrated people. So I switched to Angular and Javascript in general (better suited for my task anyway). I highly recommend reading the docs as much as possible. On Thu, Oct 2, 2014 at 4:47 AM, Guillermo Valle

Re: [mezzanine-users] Cartrige custom shipping by country and product category

2014-10-02 Thread Mat Caissy
Hi Josh, thx for your reply! Sorry for the confusion. What (and how) I'm trying to do is to calculate the shipping by location with the shipping_detail_country (works good) from the order_form AND the product custom shipping class and fields that I injected in the product model and the admin.

Re: [mezzanine-users] Cartrige custom shipping by country and product category

2014-10-02 Thread Melvyn Sopacua
Hi Mat, On Thursday 02 October 2014 10:28:17 Mat Caissy wrote: Now the *problem*: How can I have access to the product instance and this new shipping class in my custom *checkout.py* custom_billship_handler from the cart? That way if I have a user buying a product and selecting Canada in

Re: [mezzanine-users] Re: Adding Auto-Suggest to User Profile Page

2014-10-02 Thread Josh Cartmell
I would use the ACCOUNT_PROFILE_FORM_CLASS to specify your own profile form, https://bitbucket.org/stephenmcd/mezzanine/src/ac4822d66090cef9b29e4477d9192a63431d4f28/mezzanine/accounts/defaults.py?at=default#cl-41 Inherit from the default form and you can override the widget for the m2m and

Re: [mezzanine-users] Cartrige custom shipping by country and product category

2014-10-02 Thread Josh Cartmell
I think I understand now, I've done something like this in the past skus = cart.items.values_list('sku', flat=True)variations = ProductVariation.objects.filter(sku__in=skus).select_related('product') Then for each variation you could access .product and look up the associated shipping class.

Re: [mezzanine-users] What if the site failed to send the verification email

2014-10-02 Thread Greentea Mark
yes , I can indeed manually active users. However, I may not know weather the one writes the real email. Well, I may do something to enable this function. Thank you. On Thursday, October 2, 2014 10:26:14 PM UTC+8, Josh Cartmell wrote: Also, you are correct that you can't send the