Re: [mezzanine-users] Subclass model of form page

2014-03-27 Thread Luc Milland
Hello, do you mean subclassing this model : http://mezzanine.jupo.org/docs/packages.html#module-mezzanine.forms ? If so, you can't subclass it directly, see http://mezzanine.jupo.org/docs/content-architecture.html#creating-custom-content-types : «NOTE When creating custom content types, you must

[mezzanine-users] dumpdata filebrowser files

2014-03-27 Thread Cajoline
Hello, I'm at the stage of deployment my site on my server and I did a dumpdata then loadata for my different applications (pages, forms, etc..), I have a little problem how to migrate data contained files in the filebrowser? Thank you -- You received this message because you are

Re: [mezzanine-users] dumpdata filebrowser files

2014-03-27 Thread Stephen McDonald
They're stored on the filesystem only, not in the database. Default directory is project/static/media/uploads Use SCP, FTP etc. On Thu, Mar 27, 2014 at 7:43 PM, Cajoline cont...@circonflex.net wrote: Hello, I'm at the stage of deployment my site on my server and I did a dumpdata then

Re: [mezzanine-users] dumpdata filebrowser files

2014-03-27 Thread Cajoline
Yes, I've seen, thank you ! I have not had time to remove this post Big thx for this excelent CMS Le jeudi 27 mars 2014 09:59:33 UTC+1, Stephen McDonald a écrit : They're stored on the filesystem only, not in the database. Default directory is project/static/media/uploads Use SCP, FTP

[mezzanine-users] Re: pg_restore error

2014-03-27 Thread Neum Schmickrath
What are the pg_ commands you are using? These are the commands I use to dump and then restore and I've never had a problem. pg_dump -U USERNAME -F t -f NAMEOF.backup DATABASE-NAME pg_restore -d DATABASE-NAME -O -U USERNAME NAMEOF.backup On Monday, March 24, 2014 2:28:41 AM UTC-6, Federico

[mezzanine-users] 3D Secure payment step

2014-03-27 Thread Nick Read
Hi, I'm using Cartridge as the eCommerce platform for our new website and we're using SagePay for online payments. Part of the requirement for SagePay is the ability to allow users to authorise their payments via 3D Secure. The idea is that a payment is sent to (in this case) SagePay, they

Re: [mezzanine-users] Re: pg_restore error

2014-03-27 Thread Federico Bruni
I've resolved following the suggestion of Ken in this thread: using the commands present in fabfile.py, that is: pg_dump -Fc DATABASE FILE pg_restore -c -d DATABASE FILE Though I can't remember exactly what I used before.. probably I didn't use the -c option in pg_restore: -c, --clean

[mezzanine-users] Is this what Mezzanine looks like with no static files?

2014-03-27 Thread Kyle Pennell
I'm trying to work out the Gunicorn and Mezzanine tutorials at Digital Ocean. I'm getting further and further. I'm guessing my problem now is that my static files aren't loading. Is the image below indeed what it looks like when you have something awry with Nginx and Gunicorn? Not trying to

Re: [mezzanine-users] Is this what Mezzanine looks like with no static files?

2014-03-27 Thread Stephen McDonald
Yes that's how it'd look. Make sure you've correctly configured nginx, and run Django's collectstatic commend - you'll need to do the latter each time you deploy. Note that this is all handled for you automatically from setup to ongoing deploys if you use the bundled fabric script.

[mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Kyle Pennell
Triple checked my settings and can't find why my static files aren't loading. Nginx and Gunicorn are installed and working. Symbolic Link between sites-available and sites-enabled is made ── sites-available │ ├── mezzanine_app │ └── myproject ├── sites-enabled │ ├── ahalearning -

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Stephen McDonald
On Fri, Mar 28, 2014 at 8:46 AM, Kyle Pennell kpenn...@gmail.com wrote: Triple checked my settings and can't find why my static files aren't loading. Nginx and Gunicorn are installed and working. Symbolic Link between sites-available and sites-enabled is made ── sites-available │ ├──

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Kyle Pennell
Ah! Will try pulling that out. Thanks for the help, Stephen. On Thu, Mar 27, 2014 at 5:28 PM, Stephen McDonald st...@jupo.org wrote: On Fri, Mar 28, 2014 at 8:46 AM, Kyle Pennell kpenn...@gmail.com wrote: Triple checked my settings and can't find why my static files aren't loading.

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Matthew Summers
Remove the trailing slash on your location alias directive. On Thu, Mar 27, 2014 at 6:32 PM, Kyle Pennell kpenn...@gmail.com wrote: Ah! Will try pulling that out. Thanks for the help, Stephen. On Thu, Mar 27, 2014 at 5:28 PM, Stephen McDonald st...@jupo.org wrote: On Fri, Mar 28, 2014