[mezzanine-users] do cartridge have refund function?

2014-03-11 Thread lu zou
currently want to integrate payment gateway ,do cartridge have refund 
function or I need to write new one?

-- 
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: can anyone suggest me some host which is Australia based and also mezzaninedjango friendly?

2014-03-11 Thread Philip Southwell
If you're worried about speed (as opposed to 'buying Australian') I 
recently moved to Webfaction, and chose their Singapore servers when 
signing up. It works quicker than the Australian host which I moved from!


On Monday, March 3, 2014 10:13:43 PM UTC+10:30, lu zou wrote:

 As above ,can anyone suggest me some host which is Australia based and 
 also mezzaninedjango friendly? :)


-- 
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] Why is mezzanine.core.models.Slugged.slug not having `unique` (and `db_index`) set to True?

2014-03-11 Thread lajarre


-- 
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] Using a foreign key in Model search_fields?

2014-03-11 Thread Stephen McDonald
You can now define search_fields across relations as of:

https://github.com/stephenmcd/mezzanine/commit/a25927b1e4f8aaeaf6a7b85f6cd6d59212024627


On Wed, Feb 19, 2014 at 12:06 AM, step ste...@gmail.com wrote:

 Right, that those would be helpful :)  Here they are

 http://dpaste.com/1633572/https://groups.google.com/d/topic/mezzanine-users/7mAZ1ziWsVY/unsubscribe

 http://dpaste.com/1633594/
 - S


 On Tuesday, February 18, 2014 12:11:47 AM UTC-5, Stephen McDonald wrote:

 Don't hoard your tracebacks, set them out free into the world!

 (please paste your full tracebacks somewhere)


 On Tue, Feb 18, 2014 at 2:48 PM, step ste...@gmail.com wrote:

 Hey guys, I can't figure this out.  I figured this might be something
 worth resolving on the mailing list as a reference.
 I'm trying to use a foreignkey in a Model's search_fields (search using
 a foreignkey).

 Anyone have any idea?

 *settings.py*
 -
 (
 # Dotted path to field.
 cartridge.shop.models.Product.artist,
 # Dotted path to field class.
 ForeignKey,
 # Positional args for field class.
 (app.Artist,),
 # Keyword args for field class.
 {blank: False},
 )

 *OPTION 1.*

 patches.py
 
 Product.search_fields = {'keywords_string': 10, 'title': 5, 'artist': 5}

 results in
 
 Related Field got invalid lookup: icontains


 *OPTION 2*

 patches.py
 
 Product.search_fields = {'keywords_string': 10, 'title': 5,
 'artist__title': 5}

 results in
 
 'Product' object has no attribute 'artist__title'

 --
 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/groups/opt_out.




 --
 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/groups/opt_out.




-- 
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] Cartridge: search by product SKU

2014-03-11 Thread Stephen McDonald
Here's search_fields across relations in Mezzanine:

https://github.com/stephenmcd/mezzanine/commit/a25927b1e4f8aaeaf6a7b85f6cd6d59212024627

And here's searchable variation skus in Cartridge:

https://github.com/stephenmcd/cartridge/commit/d00228a11e66313c5b06bccfde035b442b8366c4

I've no ETA for releases other than soon.


On Tue, Mar 11, 2014 at 1:46 PM, Eduardo Rivas jerivasmel...@gmail.comwrote:

 Awesome! One more reason to look forward to the next Mezzanine release :-)

 --
 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.




-- 
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] Cartridge Setup Issue

2014-03-11 Thread Stephen McDonald
Potential fix here:

https://github.com/stephenmcd/cartridge/commit/1aa5bf11dcb4e0b8955f4236a3b0c85b2f8b6f1d


On Tue, Mar 11, 2014 at 11:06 PM, Philip Southwell p...@zoothink.comwrote:

 Hi there,

 I've just started using Mezzanine and I love it (my first Mezzanine site
 here http://www.philipsouthwell.com!)

 Now I'm trying out Cartridge according to the installation 
 instructionshttp://cartridge.jupo.org/overview.html#installation.
 My problem is that I cannot view the actual site due to a TypeError -
 although I can access the admin backend. I'm relatively new to
 Python/Django web development and I may have missed something obvious. In
 case it matters I'm developing on Windows, and have exactly the same
 problem whether I install Cartridge from source or using pip. Any help
 would be much appreciated!

 Kind Regards, Phil

 The error message that I get follows:

 TypeError at /

 decoding str is not supported

 Request Method:GET Request URL:http://127.0.0.1:8000/ Django 
 Version:1.6.2Exception
 Type: TypeErrorException Value:


 decoding str is not supported

 Exception 
 Location:c:\Code\venvs\shop\lib\site-packages\cartridge-0.9.2-py3.3.egg\cartridge\shop\templatetags\shop_tags.py
 in currency, line 28 Python Executable:
 c:\Code\venvs\shop\Scripts\python.exe Python Version:3.3.3Python Path:

 ['c:\\Code',
  'c:\\Code\\shop',
  
 'c:\\Code\\venvs\\shop\\lib\\site-packages\\psycopg2-2.5.2-py3.3-win-amd64.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\cartridge-0.9.2-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\pisa-3.0.33-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\mezzanine-3.0.9-py3.3.egg',
  
 'c:\\Code\\venvs\\shop\\lib\\site-packages\\pillow-2.3.0-py3.3-win-amd64.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\future-0.9.0-py3.3.egg',
  
 'c:\\Code\\venvs\\shop\\lib\\site-packages\\requests_oauthlib-0.4.0-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\requests-2.2.1-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\bleach-1.4-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\tzlocal-1.0-py3.3.egg',
  
 'c:\\Code\\venvs\\shop\\lib\\site-packages\\filebrowser_safe-0.3.2-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\django-1.6.2-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\oauthlib-0.6.1-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\six-1.5.2-py3.3.egg',
  'c:\\Code\\venvs\\shop\\lib\\site-packages\\pytz-2013.9-py3.3.egg',
  'C:\\Python27',
  'C:\\Python27\\Scripts',
  'C:\\Python27\\Lib\\site-packages\\django\\bin',
  'C:\\windows\\system32\\python33.zip',
  'c:\\Code\\venvs\\shop\\DLLs',
  'c:\\Code\\venvs\\shop\\lib',
  'c:\\Code\\venvs\\shop\\Scripts',
  'c:\\python33\\Lib',
  'c:\\python33\\DLLs',
  'c:\\Code\\venvs\\shop',
  'c:\\Code\\venvs\\shop\\lib\\site-packages']

 Server time: Tue, 11 Mar 2014 22:25:03 +1030
 Error during template rendering

 In template
 c:\Code\venvs\shop\lib\site-packages\cartridge-0.9.2-py3.3.egg\cartridge\shop\templates\includes\user_panel.html,
 error at line *9*
 decoding str is not supported 1{% load i18n future shop_tags
 mezzanine_tags %} 2 div class=panel panel-default user-panel 3 div
 class=panel-body 4 {% spaceless %} 5 a href={% url shop_cart %} 
 6span class=glyphicon glyphicon-shopping-cart/span
 7 {% blocktrans count request.cart.total_quantity as cart_quantity %}1
 item{% plural %}{{ cart_quantity }} items{% endblocktrans %} 8 {% trans
 in cart %}: 9 {{ request.cart.total_price|currency }}/abr 10 {% if
 request.cart.total_quantity != 0 %} 11 a href={% url shop_checkout
 %} class=btn btn-primary 12 {% if request.session.order.step %}{%
 trans Return to Checkout %}{% else %}{% trans Go to Checkout %}{% endif
 %} 13 /abr 14 {% endif %} 15 {% if settings.SHOP_USE_WISHLIST %} 16a 
 href={% url shop_wishlist %} class=btn-wishlist
 17 span class=glyphicon glyphicon-star/span 18 {% blocktrans count
 request.wishlist|length as wishlist_count %}Wishlist contains 1 item{%
 plural %} Wishlist contains {{ wishlist_count }} items{% endblocktrans
 %}/a 19 {% endif %}

 --
 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.




-- 
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] Re: do cartridge have refund function?

2014-03-11 Thread Josh B
It currently doesn't have one so you would need to create it.


On Tuesday, March 11, 2014 5:31:58 AM UTC-6, lu zou wrote:

 currently want to integrate payment gateway ,do cartridge have refund 
 function or I need to write new one?


-- 
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: search by product SKU

2014-03-11 Thread Eduardo Rivas
Ok, github is back to normal. And yes, we can now search through relations! 
However, the problem I'm seeing is that now searching by name returns one 
search result per variation. For example, searching for the name of a 
product with four variations returns four identical search results. Can you 
reproduce?

-- 
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: search by product SKU

2014-03-11 Thread Sam Kingston
Steve, didn't we fix this in cartridge/#170 and mezzanine/#947 ? 

-- 
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: Cartridge: search by product SKU

2014-03-11 Thread Stephen McDonald
Thanks Ed - fixed in
https://github.com/stephenmcd/mezzanine/commit/5eed6e4d28be73f59721b959fd7b18a6ebba3550


On Wed, Mar 12, 2014 at 9:21 AM, Eduardo Rivas jerivasmel...@gmail.comwrote:

 Ok, github is back to normal. And yes, we can now search through
 relations! However, the problem I'm seeing is that now searching by name
 returns one search result per variation. For example, searching for the
 name of a product with four variations returns four identical search
 results. Can you reproduce?

 --
 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.




-- 
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] Cartridge: search by product SKU

2014-03-11 Thread Stephen McDonald
Sam - related not not the same, those previous changes were for admin
search provided by Django, the latest changes are for front-end search
provided by Mezzanine.


On Wed, Mar 12, 2014 at 9:31 AM, Sam Kingston s...@sjkwi.com.au wrote:

 Steve, didn't we fix this in cartridge/#170 and mezzanine/#947 ?

 --
 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.




-- 
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 Twitter Feed Options

2014-03-11 Thread Radomir Wojcik
Hey All, is there a way to display images in the twitter feed, the ones 
that appear in the tweet itself?

-- 
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: search by product SKU

2014-03-11 Thread Eduardo Rivas
Ha! When I saw the duplicate results I thought it would require some 
horrible queryset mess to fix it, turns out databases and Django do it out 
of the box. Thanks a lot Steve, Mezzanine is not only a great CMS but also 
an incredible learning platform.

-- 
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] Using a foreign key in Model search_fields?

2014-03-11 Thread Lucian Corduneanu
Nice :) Thank you!



-- 
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.