Re: [mezzanine-users] Re: how to configure the www version of the url

2018-10-19 Thread Iain Mac Donald


I don't use the included fabric files, so I'm not familiar with them.

If it works with the dev server, I wouldn't think there would be
anything amiss with Django/Mezzanine.

Are you using any additional apps?

Have you tried disabling your theme and using the default Mezzanine one?



-- 
Regards,
Iain.

-- 
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: how to configure the www version of the url

2018-10-19 Thread Iain Mac Donald


Does your site load correctly when viewed using the dev server? If it
does, then the problem is likely with your application server (Gunicorn
or whatever) or your web server (nginx or Apache). You might also want
to check you haven't got something wrong with your custom CSS.

Regards,
Iain.

-- 
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] Placeholders as Menu Items.

2018-04-09 Thread Iain Mac Donald
On Sun, 8 Apr 2018 19:21:20 -0700 (PDT)
Kusanagi Yu  wrote:

> Hello Iain, if you're still clickable on placeholder menu

Thanks. Latest version of menuplaceholder is working just fine.

-- 
Regards,
Iain.

-- 
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] Placeholders as Menu Items.

2018-04-07 Thread Iain Mac Donald
On Fri, 6 Apr 2018 20:09:57 -0700 (PDT)
Peter Murphy  wrote:

> One more question: when you said you are creating a 'top-level' menu
> item - did you mean at the same level as About and Contact? 

Yes. Although, when I created the Mezz site I did it without creating
the example pages.

> 
> If you would be so kind, would you be able to submit a bug report 

https://github.com/peterkmurphy/menuplaceholder/issues/1

-- 
Regards,
Iain.

-- 
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] Placeholders as Menu Items.

2018-04-06 Thread Iain Mac Donald

Hello Peter,

I had tried "menuplaceholder" both at the top and bottom of installed
apps, clickable in either place.

Any other ideas?

Using Mezz 4.2.3, Django 1.10 and Python 2.7.13

-- 
Regards,
Iain.

-- 
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] Placeholders as Menu Items.

2018-04-05 Thread Iain Mac Donald

Hello Peter,

Great idea. I have used Eduardo's technique a few of times, but a
dedicated solution is welcome.

I have tried Menuplaceholder in a test copy of Mezzanine, but I am
finding that the top-level "dummy" menu item is clickable. Address bar
changes to dummy location and shows an empty page.

Am I misunderstanding something?

-- 
Regards,
Iain.

-- 
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] Deployed mezzanine in production but posts aren't showing up

2018-03-10 Thread Iain Mac Donald
On Sat, 10 Mar 2018 06:40:42 -0800 (PST)
moraya...@gmail.com wrote:

> I published posts half an hour ago but aren't showing 
> up. Weird thing, if I login as admin I can see posts.

Have you published them for a future date/time?

-- 

Regards,
Iain.

-- 
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] media library giving me table with images that are original.

2017-11-16 Thread Iain Mac Donald

Ah yes, this caught me out too.

You either need to use Mezzanine from the master branch, where this
issue has been fixed, or downgrade to an earlier version of Pillow.
https://github.com/stephenmcd/mezzanine/issues/1781

Regards,
Iain.

-- 
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] mezzanine-captcha problem

2017-11-16 Thread Iain Mac Donald
On Thu, 16 Nov 2017 10:59:24 +1100
Mike Dewhirst  wrote:

> Not sure what the admin contact form might be.

The interface you use when creating a contact form from the admin
back-end.

Is it not possible to create a fresh Mezzanine install in a virtualenv
and try out the captcha there?
-- 

Regards,
Iain.

-- 
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] mezzanine-captcha problem

2017-11-15 Thread Iain Mac Donald

I'm using 0.0.5 on a site and it works for me (using the instructions
on Github). The captcha doesn't appear in the blog admin but you should
see it on the front-end. The captcha should appear, as a selectable
field, on the admin contact form.

I also have this set:
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.math_challenge'
but I don't think this is required for captcha to work.

Have you tried installing it on a fresh Mezzanine without any other
apps?

Regards,
Iain.

-- 
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] mezzanine-captcha problem

2017-11-15 Thread Iain Mac Donald

Did you remember to add:
COMMENT_FORM_CLASS = "mezzacaptcha.forms.CaptchaThreadedCommentForm"

which is needed for use in the blog?

Regards,
Iain.

-- 
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] Thumbnail generation failing silently

2017-11-03 Thread Iain Mac Donald

Hello Eduardo,

Thanks!

Don't know how I missed all these bug reports; would have saved some
head scratching.

-- 

Regards,
Iain

-- 
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] Thumbnail generation failing silently

2017-11-03 Thread Iain Mac Donald
On Fri, 3 Nov 2017 15:42:49 +
Iain Mac Donald  wrote:

> Both the dev and production machines have previous installs of
> Mezzanine which create thumbnails just fine (installed a few months
> back).

Hmmm, I went back to the version of Pillow used in these previous
installs (version 3.0.0) and everything just worked. No other system
changes. I haven't tried any other versions of Pillow between 3.0.0 and
4.3.0.

If no one else has experienced this problem it might be an oddity on my
machines. Although both are running a pretty standard Debian Stretch
install.

-- 

Regards,
Iain.

-- 
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] Thumbnail generation failing silently

2017-11-03 Thread Iain Mac Donald

Just fired-up a fresh install of Mezzanine 4.2.3 on both my dev and
production machines and I noticed thumbnails are failing. The thumbnail
directories get created but not the files.

Pillow seems to be installed correctly and I can create thumbnails from
both the Python interpreter and Django shell. 

When, for example, uploading images to the Media Library, thumbnails
fail silently (no errors in the log file or from the built-in server
when run in foreground mode).

Both the dev and production machines have previous installs of
Mezzanine which create thumbnails just fine (installed a few months
back).

I'm mystified, any suggestions?

Regards,
Iain.

Contents of virtualenv (python 2.7):

beautifulsoup4 (4.6.0)
bleach (2.1.1)
certifi (2017.7.27.1)
chardet (3.0.4)
distribute (0.6.24)
Django (1.10.8)
django-contrib-comments (1.8.0)
feedparser (5.2.1)
filebrowser-safe (0.4.7)
future (0.16.0)
grappelli-safe (0.4.7)
gunicorn (19.7.1)
html5lib (1.0b10)
idna (2.6)
Mezzanine (4.2.3)
oauthlib (2.0.6)
olefile (0.44)
Pillow (4.3.0)
pip (9.0.1)
psycopg2 (2.7.3.2)
python-dateutil (2.6.1)
pytz (2017.2)
requests (2.18.4)
requests-oauthlib (0.8.0)
setuptools (36.6.0)
six (1.11.0)
tzlocal (1.4)
urllib3 (1.22)
webencodings (0.5.1)
wheel (0.30.0)

-- 
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] example.com!

2017-08-24 Thread Iain Mac Donald
On Thu, 24 Aug 2017 15:55:27 -0700 (PDT)
Simon Bradley  wrote:

> Now when i press it, it replaces localhost with example.com!

You probably haven't configured your domain in the Sites section. You
will need to enter it as:
127.0.0.1:8000
while using the built-in server.

-- 

Regards,
Iain.

-- 
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] how to use bsbanners help ??

2017-04-26 Thread Iain Mac Donald
On Wed, 26 Apr 2017 00:12:06 -0700 (PDT)
i bigoss  wrote:

> Can anyone help with detailed template explanation or working
> example? 

The PYPI page describes the template snippets:
https://pypi.python.org/pypi/mezzanine-bsbanners

I noticed the requirements include "Django 1.6", not 1.6+. Typo or hard
dependency, dunno.

-- 

Regards,
Iain.

-- 
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] Tiny MCE customisation

2017-04-07 Thread Iain Mac Donald

You just need to add it to the TinyMCE plugins: section and you should
be good to go. For convenience, I keep a copy of tinymce_setup.js in my
theme for local modifications.

-- 

Regards,
Iain.

-- 
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] Local .css file not updating, working fine when deployed

2017-03-17 Thread Iain Mac Donald
On Fri, 17 Mar 2017 19:16:39 +
Richard Jackson  wrote:

> is there anything else that should be done there?

Nope. Just mentioning likely gotchas.

Are you using the Django server locally?
Have you tried using HTTP headers and Firebug etc.?

-- 

Regards,
Iain.

-- 
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] Local .css file not updating, working fine when deployed

2017-03-17 Thread Iain Mac Donald
On Fri, 17 Mar 2017 11:57:11 -0700 (PDT)
Richard Jackson  wrote:

> I'm having a strange issue where my local static css files aren't
> being read when I'm developing locally

collectstatic?
debug=true?

-- 

Regards,
Iain.

-- 
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] Contact Form Error

2017-02-13 Thread Iain Mac Donald
On Mon, 13 Feb 2017 10:46:53 -0800 (PST)
Richard Jackson  wrote:

> I started looking into these and will keep doing so in the next few
> days. How would SMPT server settings be configured in Django/Mez?

https://docs.djangoproject.com/en/1.10/topics/email/


. Does this sound like an SMPT issue?

The very last line of your traceback suggests a connection error (host
port timeout). SMTP not running? Authentication error?

If you haven't explicitly set the SMTP server it probably defaults to
localhost. 

-- 

Regards,
Iain.

-- 
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] Contact Form Error

2017-02-13 Thread Iain Mac Donald
On Mon, 13 Feb 2017 12:28:50 +
Richard Jackson  wrote:

> What's the best way to
> test that?

Python, system utility like mailx or you could communicate directly
using telnet:
https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

MTAs all have means of test routing too.

I guess you need to set these to something sensible:
SERVER_EMAIL
DEFAULT_FROM_EMAIL

-- 

Regards,
Iain.

-- 
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] Contact Form Error

2017-02-13 Thread Iain Mac Donald
On Mon, 13 Feb 2017 01:38:42 -0800 (PST)
Richard Jackson  wrote:

> Exception Value: [Errno 111] Connection refused

Can you access the SMTP server?

-- 

Regards,
Iain.

-- 
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] Event / calendar plugin?

2016-10-12 Thread Iain Mac Donald
On Wed, 12 Oct 2016 11:15:30 -0700 (PDT)
Julien Ricard  wrote:

> https://github.com/jpells/mezzanine-agenda

Using the above on a Mezz 4.10 site, works for me. mezzanine-agenda uses
its own content type in the same way as Blog posts do. Google maps are
nicely integrated.

-- 

Regards,
Iain.

-- 
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: UnicodeDecodeError: 'locale' codec can't decode byte 0xe2 in position 0: Invalid or incomplete multi

2016-07-31 Thread Iain Mac Donald

You don't have the sample data installed, do you?

I had an error message similar to that which I thought should have been
resolved by setting:
SHOP_CURRENCY_LOCALE = 'en_GB.utf8'

but actually there was still a problem with the encoding of the
files/filenames of the sample gallery. I deleted that gallery and
everything was fine.

-- 

Regards,
Iain.

-- 
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: Mezzanine 4.0.1, cartridge 0.10 --alternate not working. Database error with work around

2016-05-01 Thread Iain Mac Donald
On Sat, 30 Apr 2016 12:55:15 -0700 (PDT)
Keith Irwin  wrote:

> Has anyone figured this out?  On a blank cloud9 workspace, I run: 
> 
> $ sudo pip3 install -U django mezzanine cartridge
> $ sudo mezzanine-project -a cartridge sample
> $ cd sample
> $ sudo python3 manage.py createdb

I don't know diddly squat about Cloud9 but some of your errors suggest
that you may have some cruft lying around from previous install
attempts.

Just a few minutes ago I did this:

virtualenv -p /usr/bin/python3.4 venv
cd venv
source bin/activate
pip install -U cartridge
pip install Django==1.8.4 # 1.9.5 is installed initially
mezzanine-project -a cartridge mysite
cd mysite
python manage.py createdb --noinput
python manage.py runserver 127.0.0.1:8800

Works for me. I am using Debian Jessie and I installed 4.1.0 (looking
at your message you seem to have selected an older version - 4.0.1).

Try the install in a virtualenv and see how you get on.

-- 

Regards,
Iain.

-- 
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] IO Error on Upload - Firefox but not Chrome

2016-04-22 Thread Iain Mac Donald
On Fri, 22 Apr 2016 09:12:02 -0700 (PDT)
Rodrigo Gadea  wrote:

> Resurrecting this... :)

I haven't encountered this problem since writing the post that you
quoted. I have since upgraded Mezzanine to 4.1.0 and I am pretty sure I
have upgraded Firefox too.

You might also want to try out the latest dev version which has the new
js uploader:
https://groups.google.com/forum/?_escaped_fragment_=topic/mezzanine-users/8NDB9-t72BI#!topic/mezzanine-users/8NDB9-t72BI

-- 

Regards,
Iain.

-- 
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] No Metadata editing enabled in admin, no fields visible

2016-03-29 Thread Iain Mac Donald
On Tue, 29 Mar 2016 03:00:27 -0700 (PDT)
byezy  wrote:

> doesn't work. any other thoughts?

*I think* I had a similar problem a while back but I didn't make a
note. From memory the browser that had the problem had dom storage
disabled. Enabling dom storage fixed the problem.

On Firefox set:
dom.storage.enabled true

-- 

Regards,
Iain.

-- 
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] Domain exception handling

2016-03-19 Thread Iain Mac Donald
On Sat, 19 Mar 2016 07:10:02 -0700 (PDT)
wh4n  wrote:

> For instance if someone enters hello.example.com it will display 404?

You should deal with this at the web server before it gets to Django.
However, there is also the allowed hosts mechanism, see:
https://docs.djangoproject.com/en/1.8/ref/settings/#allowed-hosts

-- 

Regards,
Iain.

-- 
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] how to view data from contact form

2016-03-11 Thread Iain Mac Donald
On Thu, 10 Mar 2016 23:25:51 -0800 (PST)
winarto saputro  wrote:

> I want to know where's data go after user hit submit button.

In the database.

If you have correctly setup the form you should receive each
submission via email and a CSV file (including all current submissions)
which you can download from the admin. To view the CSV file press the
button "View entries".

-- 

Regards,
Iain.

-- 
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] Mezzanine cartdridge installation issue

2015-11-12 Thread Iain Mac Donald
On Thu, 12 Nov 2015 10:09:38 + (UTC)
Shayaan  wrote:

> $ pip install mezzanine
> $ pip install -U cartridge

Installing Mezzanine installs Mezzanine, installing Cartridge installs
Cartridge + Mezzanine. I don't know what happens when you pip install
both, maybe you just found out ;-)

-- 

Regards,
Iain.

-- 
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: TinyMCE4 - Problems on deployed site

2015-11-10 Thread Iain Mac Donald
On Wed, 11 Nov 2015 07:07:29 +1030
Danny  wrote:

> My overall solution was to make my entire site HTTPS... not elegant,
> I know, but probably better in this security conscious world :)

and don't forget ranking:
http://googlewebmastercentral.blogspot.co.uk/2014/08/https-as-ranking-signal.html

-- 

Regards,
Iain.

-- 
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] Meta tags on Home-page stopped working

2015-10-17 Thread Iain Mac Donald

No theme?

If it is working for the other pages on your site I would have thought
a typo in index.html or something else you have customised.

-- 

Regards,
Iain.

-- 
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] Meta tags on Home-page stopped working

2015-10-17 Thread Iain Mac Donald

What happens if you disable your theme?

-- 

Regards,
Iain.

-- 
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] Meta tags on Home-page stopped working

2015-10-17 Thread Iain Mac Donald

If your index page is created manually, as opposed to through the
admin, I think you will need to create the meta stuff yourself. At
least that is what I've always done.

-- 

Regards,
Iain.

-- 
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] Using links

2015-10-16 Thread Iain Mac Donald

Never used links until this morning. I wanted to have a structure like
this:

Fruit
  Apples
  Bananas
  Pears

Apples, Bananas and Pears are children of Fruit. I didn't want any
content in Fruit and instead if someone clicked on Fruit it would go to
the top child, in this example, Apples. So, I thought using a link, for
Fruit, would be the way to go.

However, when creating the children of Fruit the automatically created
URL uses the Fruit link target as the base. 
URL for Apples becomes fruit/apples/apples
URL for Bananas becomes fruit/apples/bananas
URL for Pears becomes fruit/apples/pears

Shouldn't the link Title be used as the base for the children URLs?

-- 

Regards,
Iain.

-- 
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] IO Error on Upload - Firefox but not Chrome

2015-10-07 Thread Iain Mac Donald

I suffered from this problem a while back but unfortunately I never
took notes at the time :-(

I seem to remember the problem didn't occur when I was running the
Django server on localhost but it did happen when I was running it on
another host on my LAN. When I moved to production with Gunicorn and
webserver the problem didn't occur. Though there was a similar issue
for users on slower connections doing large uploads in production. I
avoided that problem by adding --timeout=300 to Gunicorn.

I was, and still am, using a stock Firefox with only HTTP headers and
Firebug add-ons.

-- 

Regards,
Iain.

-- 
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] Introducing Mezzanine's Core Development Team

2015-05-11 Thread Iain Mac Donald

Funny, I'd always thought there was a core team ;-)

Well done folks and Steve, congrats on the new job!

-- 

Regards,
Iain.

-- 
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] SSL difficulties

2015-05-04 Thread Iain Mac Donald

I just deployed a 3.1.10 site and didn't encounter the problems you
describe with SSL and TinyMCE.

Here are the SSL related settings I used:

SSL_ENABLED = True
SSL_FORCED_PREFIXES_ONLY = False
SSL_FORCE_URL_PREFIXES = ("/admin",)
"mezzanine.core.middleware.SSLRedirectMiddleware",

Have you tried this in more than one browser?

Regards,
Iain.

-- 
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] TinyMCE and CSS classes

2015-03-13 Thread Iain Mac Donald

I wanted to add some CSS classes to the editor dropdown, e.g.
pullquotes, but on initial investigation it would seem to involve the
non-trivial creation of an TinyMCE plugin.

Is there an easier way?

Regards,
Iain.

Mezzanine 3.1.10

-- 
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] Twitter posting for blog posts

2015-03-06 Thread Iain Mac Donald

Did you install python-twitter?

Regards,
Iain.

-- 
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] problem loading gallery from admin

2014-01-17 Thread Iain Mac Donald

Josh and Steve, thanks guys. All working perfectly now.

Regards,
Iain.

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


[mezzanine-users] problem loading gallery from admin

2014-01-17 Thread Iain Mac Donald

Hello folks,

I am getting a traceback when trying to access the gallery from the
admin pages.

AttributeError at /admin/galleries/gallery/8/
'FileSystemStorage' object has no attribute 'isdir'

This is a fresh install of 3.0.5 (cartridge + mezz) on Python 2.7 in a
virtualenv on Debian.

Suggestions?

Traceback attached.

PS
Is the demo site always the latest stable version?

Regards,
Iain.

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


Request Method: GET
Request URL: http://dougal:7001/admin/galleries/gallery/8/

Django Version: 1.6.1
Python Version: 2.7.3
Installed Applications:
(u'mezzanine.boot',
 u'django.contrib.auth',
 u'django.contrib.contenttypes',
 u'django.contrib.redirects',
 u'django.contrib.sessions',
 u'django.contrib.sites',
 u'django.contrib.sitemaps',
 u'django.contrib.staticfiles',
 u'cartridge.shop',
 u'mezzanine.conf',
 u'mezzanine.core',
 u'mezzanine.generic',
 u'mezzanine.blog',
 u'mezzanine.forms',
 u'mezzanine.pages',
 u'mezzanine.galleries',
 u'mezzanine.twitter',
 u'mezzanine.accounts',
 u'filebrowser_safe',
 u'south',
 u'grappelli_safe',
 u'django.contrib.admin',
 u'django.contrib.comments')
Installed Middleware:
(u'django.contrib.sessions.middleware.SessionMiddleware',
 u'django.middleware.locale.LocaleMiddleware',
 u'django.contrib.auth.middleware.AuthenticationMiddleware',
 u'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
 u'django.middleware.common.CommonMiddleware',
 u'django.middleware.csrf.CsrfViewMiddleware',
 u'django.contrib.messages.middleware.MessageMiddleware',
 u'cartridge.shop.middleware.ShopMiddleware',
 u'mezzanine.core.request.CurrentRequestMiddleware',
 u'mezzanine.core.middleware.TemplateForDeviceMiddleware',
 u'mezzanine.core.middleware.TemplateForHostMiddleware',
 u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware',
 u'mezzanine.core.middleware.SitePermissionMiddleware',
 u'mezzanine.pages.middleware.PageMiddleware')


Template error:
In template 
/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/grappelli_safe/templates/admin/edit_inline/tabular.html,
 error at line 46
   'FileSystemStorage' object has no attribute 'isdir'
   36 : {% endspaceless %}


   37 : 


   38 :  


   39 : {% for fieldset in inline_admin_form %}


   40 : {% for line in fieldset %}


   41 : {% for field in line %}


   42 : 


   43 : {% if field.is_readonly %}


   44 : {{ field.contents }}


   45 : {% else %}


   46 :  {{ field.field }}  


   47 : {% endif %}


   48 : {{ field.field.errors.as_ul }}


   49 : 


   50 : {% endfor %}


   51 : {% endfor %}


   52 : {% endfor %}


   53 : 


   54 : 


   55 : 


   56 : {% if inline_admin_formset.formset.can_delete and 
inline_admin_form.original %}{{ inline_admin_form.deletion_field.field }}{% endif %}


Traceback:
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/core/handlers/base.py"
 in get_response
  139. response = response.render()
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/response.py"
 in render
  105. self.content = self.rendered_content
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/response.py"
 in rendered_content
  82. content = template.render(context)
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/base.py"
 in render
  140. return self._render(context)
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/base.py"
 in _render
  134. return self.nodelist.render(context)
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/base.py"
 in render
  840. bit = self.render_node(node, context)
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/debug.py"
 in render_node
  78. return node.render(context)
File 
"/home/iain/Mezzanine3/mezzanine-001/mezzanine-venv/local/lib/python2.7/site-packages/django/template/loader_tags.py"
 in render
  123. return compiled_parent._render(context)
File 
"/home/iain/M