Re: [mezzanine-users] Do I redirect to home page using `home_slug`?

2017-11-22 Thread Eduardo Rivas
Can you show us what function is raising the exception? Is it home_slug, or redirect? What happens if you use: return redirect("/") ? On 2017-11-22 7:59 PM, Tom Tanner wrote: In one of my views, I have this: | frommezzanine.utils.urls importhome_slug defmyView(request): # Some code...

[mezzanine-users] Do I redirect to home page using `home_slug`?

2017-11-22 Thread Tom Tanner
In one of my views, I have this: from mezzanine.utils.urls import home_slug def myView(request): # Some code... return redirect(home_slug()) This gives me the error: `TypeError: 'str' object is not callable`. Am I supposed to use `home_slug()` to redirect to home page in this case? If

[mezzanine-users] Re: editable blog_post.publish_date doesn't accept valid date

2017-11-22 Thread Christian Wiegand
Sorry, I forgot to mention that this happens during inline-editing. Editing via admin is fine. I tried playing with the localization settings but with no success. I'm trying to find where the ajax form validation of the publish_date takes place, but up to now with no success. -- You

[mezzanine-users] [Solved] Thumbnails are gone, not showing anymore

2017-11-22 Thread Márcio Moreira
Hello, My shared hosting provider Dreamhost upgraded operating system from Ubuntu 12 LTS to Ubuntu 14 LTS. After this my site did not showed the thumbnails anymore. After a lot of searching and testing this worked, but I don't know why: pip uninstall pillow pip install pillow==3.0.0 Pillow