Re: [mezzanine-users] Custom Content Type and page_processor

2014-04-04 Thread José San Gil
Thank you Josh. On Thursday, April 3, 2014 12:00:48 PM UTC-4:30, Josh Cartmell wrote: Hey Jose, have a look at https://mezzanine.jupo.org/docs/content-architecture.html#displaying-custom-content-types Basically you need to do page.custompage.custom_property because the custom_property is

[mezzanine-users] Serving static files in development without runserver (with gunicorn)

2014-04-04 Thread Matthew Summers
Hello, I've seen a few threads about this in the past so I thought I would share. It's common to desire parity between dev and production environments, i.e. no change between envs. At least I generally find this to save time and energy, so towards that I generally develop Mezzanine, or any django

[mezzanine-users] Re: Changes in Model

2014-04-04 Thread Christian Hoffmann
Hi Tameen, my aproach for a new app is: the first migration if your app is named author python manage.py schemamigration author --initial python manage.py migrate author for every change later on, you need: python manage.py schemamigration author --auto python manage.py migrate author Hope

Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Kyle Pennell
Hey Josh, The file is there and it seems to be right. On Thursday, April 3, 2014 10:27:53 AM UTC-6, Josh Cartmell wrote: Hmm, I'm not sure about that one, what happens if you manually execute that command on the server? On Thu, Apr 3, 2014 at 6:34 AM, Kyle Pennell

Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Kyle Pennell
root@kpennell:/opt/myenv/mezzanine_app# fab all [107.170.215.138] Executing task 'all' --- all --- --- install --- $ cat /etc/default/locale - Fatal error: sudo() encountered an error (return code 1) while executing 'cat /etc/default/locale' Aborting. Disconnecting from

Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Kyle Pennell
fab settings seems to be right there as well: REQUIREMENTS_PATH: requirements.txt, # Path to pip requirements, relativ$ GUNICORN_PORT: 8000, # Port gunicorn will listen on LOCALE: en_US.UTF-8, # Should end with .UTF-8 LIVE_HOSTNAME: www.ahalearning.co, # Host for public

Re: [mezzanine-users] Fab Script ImportError: No module named future.builtins

2014-04-04 Thread Josh Cartmell
what if you run: sudo cat /etc/default/locale I'm at a bit of a loss, never seen that error before =/ On Fri, Apr 4, 2014 at 11:41 AM, Kyle Pennell kpenn...@gmail.com wrote: fab settings seems to be right there as well: REQUIREMENTS_PATH: requirements.txt, # Path to pip requirements,