I have tracked this error to the line
https://github.com/jerivas/mezzanine-webf/blob/master/fabfile.py#L446
site, _ = Site.objects.get_or_create(id=settings.SITE_ID);)
I tried replacing it with
Site.objects.filter(id=settings.SITE_ID).update(domain=env.live_host);)
like this
That's actually really impressive Alex, thanks a lot for sharing it!
On Mon, May 4, 2015 at 1:32 PM, Alex Tsai caffod...@gmail.com wrote:
Hi all,
I whipped up something quick for Buffer http://buffer.com (buffer.com)
integration - it's intended as a replacement for the mezzanine.twitter
ok I have caught up now :-)
FWIW I recognised that the methods in the new mezzanine fabfile have
been changed to reflect the changes in Django 1.7
This being the key one...
def python(code, show=True):
Runs Python code in the project's virtual environment, with Django
loaded.