Re: [mezzanine-users] Can´t make model searchable

2014-10-28 Thread Josh Cartmell
Hey Steve, some of the confusion might come from the docs. The last example here is almost identical to what Ernesto has done (i.e. search_fields specified on a non Displayable model): https://mezzanine.jupo.org/docs/search-engine.html#search-api Are the docs wrong in that instance, or is

[mezzanine-users] Re: Mkdir right after add new blogpost

2014-10-28 Thread David Mendez
SOLVED Thanks Again. The solution works like a charm. :) -- 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

Re: [mezzanine-users] Mkdir right after add new blogpost

2014-10-28 Thread David Mendez
This code works well in mi env. Thanks El domingo, 26 de octubre de 2014 18:05:53 UTC-3, Jardar Oehrn escribió: Here is where Django can help you out a lot. Mezzanine, being built on top of Django, have this thing called signals. Signals allows you to hook into behaviour. All models in

[mezzanine-users] Re: PyCharm Unable to Install Mezzanine

2014-10-28 Thread chuck
I also ran into an error. Below is the 'dump' from my attempt. Would know to know to get around this. Install packages failed: Error occurred when installing package Mezzanine. The following command was executed: packaging_tool.py install --build-dir

Re: [mezzanine-users] Re: PyCharm Unable to Install Mezzanine

2014-10-28 Thread Danny
On 29/10/2014 6:53 AM, chuck wrote: I also ran into an error. Below is the 'dump' from my attempt. Would know to know to get around this. Install packages failed: Error occurred when installing package Mezzanine. snip building 'PIL._imaging' extension It seems to fall over when

[mezzanine-users] M2M With Products

2014-10-28 Thread Josh B
I am trying to tie products to an event, but for some reason I am unable to create a M2M with the Products table. event_products = models.ManyToManyField(cartridge.shop.models.Product, blank=True, verbose_name=_(Products),related_name='event_products',

Re: [mezzanine-users] M2M With Products

2014-10-28 Thread Stephen McDonald
Should the first arg just be shop.Product ? On Wed, Oct 29, 2014 at 9:36 AM, Josh B josh.batche...@wearetopsecret.com wrote: I am trying to tie products to an event, but for some reason I am unable to create a M2M with the Products table. event_products =

Re: [mezzanine-users] M2M With Products

2014-10-28 Thread Josh B
Duh, thanks Stephen. Thought I tried that. On Tuesday, October 28, 2014 3:38:12 PM UTC-7, Stephen McDonald wrote: Should the first arg just be shop.Product ? On Wed, Oct 29, 2014 at 9:36 AM, Josh B josh.ba...@wearetopsecret.com javascript: wrote: I am trying to tie products to an event,

[mezzanine-users] Re: PyCharm Unable to Install Mezzanine

2014-10-28 Thread chuck
Thank you much. I was doing the install via PyCharm's Project Interpreter window which allows one to add packages via gui by clicking + which brings up an Available Packages window where you search/find, pick and install packages. Per your suggestion, I instead created a project. The

Re: [mezzanine-users] Can´t make model searchable

2014-10-28 Thread Stephen McDonald
I think that was part of the idea around previously expecting only Displayable subclasses to work - that guaranteed having a description field as well as some accessible URL for the search result to point to. As part of removing the restriction on subclassing Displayable, you'll see in that

Re: [mezzanine-users] Re: PyCharm Unable to Install Mezzanine

2014-10-28 Thread Ken Bolton
I will (predictably) second tdkown's recommendation to virtualize. Developing locally is just too burdensome. Hit me off-list if you want coaching to get you there. ken On Tue, Oct 28, 2014 at 8:40 PM, chuck cmedc...@hotmail.com wrote: Thank you much. I was doing the install via PyCharm's