[mezzanine-users] Adding a collection of Images to a custom model in Mezzanine

2014-05-20 Thread Shaunak Sinha
Hi Everyone, I am new to Mezzanine and am not sure how to go about doing this. We have created a custom model called '*activity*' which contains different fields. This allows the admin to create activities by adding relevant information. We need to be able to upload a collection of images as p

[mezzanine-users] Re: Amazon s3 storage backed, upload image to blog from admin HTTP 500 on demo site.

2014-05-20 Thread Brad Bode
There is one mistake I made in my code. The HTTP included in the static URL will mostly cause no problems. However, if you are behind SSL then you may have issues. Instead of this: STATIC_URL = 'http://s3.amazonaws.com/%s/static/' % AWS_STORAGE_BUCKET_NAME Use this: STATIC_URL = '//s3.amazonaw

[mezzanine-users] Re: Amazon s3 storage backed, upload image to blog from admin HTTP 500 on demo site.

2014-05-20 Thread Brad Bode
I feel for you... Getting Django + Mezzanine working on Amazon with S3 is a pain in the ass. Truthfully. I do have it working though after a lot of learning. Where do you plan to store your thumbnails? On S3? If you want Thumbnails to work on S3 there is some trickery that you need to do. As

[mezzanine-users] tinymce JS files on Amazone S3 CDN requires AWS_QUERYSTRING_AUTH = False?

2014-05-20 Thread John Briere
Hi all - I ran into a weird situation using a very basic S3 setup - this is without even trying to use the filebrowser with S3 which I know can be an issue. The basic problem is that when ever I go to an admin page that uses the tinymce JS files to render a rich text editor, I was getting a lot of

[mezzanine-users] Re: HomePage with contact form

2014-05-20 Thread bob hosk
But how would that deal with the actual business processing of the form? -- 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...@googlegro

[mezzanine-users] Re: Amazon s3 storage backed, upload image to blog from admin HTTP 500 on demo site.

2014-05-20 Thread bob hosk
My settings.py is here , and I think everything else is just the default mezzanine project install. local_settings.py is here -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" grou

[mezzanine-users] Amazon s3 storage backed, upload image to blog from admin HTTP 500 on demo site.

2014-05-20 Thread bob hosk
Hi I'm using the demo mezzanine with a settings.py with STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage' DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage' STATIC_URL = 'https://' + AWS_STORAGE_BUCKET_NAME + '.s3.amazonaws.com/' MEDIA_URL = 'https://'

[mezzanine-users] Re: HomePage with contact form

2014-05-20 Thread bob hosk
Hi many thanks for all the different approaches here. In the end I did return {'contact_form': form} in my page processor, then {% fields_for contact_form %} in the template and all worked. It seems that the name 'form' must be passed to template by something else that was overriding it. On Su

[mezzanine-users] Re: HomePage with contact form

2014-05-20 Thread bob hosk
Hi many thanks for all the different approaches here. In the end I did return {'contact_form': form} in my page processor, then {% fields_for contact_form %} in the template and all worked. It seems that the name 'form' must be passed to template by something else that was overriding it. -- Y

Re: [mezzanine-users] Mezzanine under url prefix

2014-05-20 Thread Scott Diehl
No problem, I appreciate all your help. This is a weird one...because basically I am unable to add/edit pages when I have the prefix enabled. I've followed the directions outlined in urls.py - and everything else seems to be working as expected. Scott On Tuesday, May 20, 2014 6:47:10 AM UTC-7

Re: [mezzanine-users] Mezzanine under url prefix

2014-05-20 Thread Josh Cartmell
Hey Scott, sorry but I honestly have no idea. I've never run Mezzanine under a different prefix. I have moved the admin to a prefix before which is why I knew that one. I would just dig into the Mezzanine URL's and see if it looks like something is off with the admin keywords submit. On Mon, M

Re: [mezzanine-users] upgrading from 1.4.6 to 3.1.6 south disappears

2014-05-20 Thread Penny Leach
On Tuesday, May 13, 2014 6:55:44 AM UTC+2, Stephen McDonald wrote: > Nice work tracking that down. > > The error you're getting looks like a missing library (called future, that > link you found is misleading) - how have you installed the latest Mezzanine > version? It should automatically inst

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-20 Thread Mathias Ettinger
I’m not sure what you’re implying about toggling the translation fields. If it is about shrinking every translation field into a single one with tabs for each language, go ahead. I know that django-modeltranslation is supposed to allow that but I never had it working. If it is about adding tran

[mezzanine-users] Re: HomePage with contact form

2014-05-20 Thread Mathias Ettinger
Isn’t it even simpler to just {% extends "page/form.html" %} in index.html ? Le mardi 20 mai 2014 09:24:44 UTC+2, aleksiy a écrit : > > Hello! > > I created small contact form on Home page by may be wrong, but quite > simple way - without programming at all > 1) Create regular mezzanine form in

[mezzanine-users] Re: HomePage with contact form

2014-05-20 Thread aleksiy
Hello! I created small contact form on Home page by may be wrong, but quite simple way - without programming at all 1) Create regular mezzanine form in admin with URL "contact-form", 2) Open form on site and look for fields names, 3) Hardcode form fields in index.html template using generated fie