Re: [mezzanine-users] Re: Images in .pdf Invoice

2016-06-28 Thread Eduardo Rivas
I've also used wkhtmltopdf but with the Django bindings. It's available on Pypi as django-wkhtmltopdf (that's off the top of my head, you should check) and provides a class based view and PDF response type. -- You received this message because you are subscribed to the Google Groups "Mezzanine

[mezzanine-users] Re: Images in .pdf Invoice

2016-06-28 Thread Sam Kingston
I'm not sure if this will help you or not, but I developed a replacement library for xhtml2pdf (though not a drop-in): https://github.com/sjkingo/pywkhtmltopdf On Friday, 24 June 2016 20:13:05 UTC+10, Joseph Mohan wrote: > > Any other things i'm missing with regards to getting an image into the

Re: [mezzanine-users] ngnix configurations overwritten

2016-06-28 Thread Akhlaq Rao
Ok, great explanation. I have a very clear view now how things are working on Fabric side. I really appreciated your help. Thanks alot! On Tue, Jun 28, 2016 at 4:19 PM, Eduardo Rivas wrote: > Sure, I hope this clears it up: > > The idea is that the SSL cert should

Re: [mezzanine-users] Mezzanine Workflow

2016-06-28 Thread AQ
Is there any update of approval workflow ? On Monday, August 25, 2014 at 8:04:50 PM UTC+5, Mark Phillips wrote: > > Thanks for your input. > > Mark > > > On Sun, Aug 24, 2014 at 6:22 PM, Stephen McDonald > wrote: > >> You might also be interested in this discussion from two

Re: [mezzanine-users] ngnix configurations overwritten

2016-06-28 Thread Akhlaq Rao
Yes, exactly I see it as the length of env.domains determines the value of ssl_disable. Could you please help me to understand how to produce ssl_disable = false by the following statement. I am trying to set SSL so which ever way it produces true. env.ssl_disabled = "#" if len(env.domains) > 1

Re: [mezzanine-users] ngnix configurations overwritten

2016-06-28 Thread Eduardo Rivas
It should be inside the deploy/ folder in your project root. -- 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.

Re: [mezzanine-users] ngnix configurations overwritten

2016-06-28 Thread Akhlaq Rao
Hi Rivas, I am directly modifying the file on server, I have no clue how do I use the template because I can't find it in my project. Any idea where do I find the template for nginx? Thanks. On Tue, Jun 28, 2016 at 3:24 PM, Eduardo Rivas wrote: > Are you applying your

Re: [mezzanine-users] ngnix configurations overwritten

2016-06-28 Thread Eduardo Rivas
Are you applying your changes to the nginx template in your repo? The idea with Fabric is that you edit all configuration files in the included templates instead of doing it directly on the server. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users"

[mezzanine-users] ngnix configurations overwritten

2016-06-28 Thread Akhlaq Rao
Everytime I deploy my project to DigitalOcean through Fabric, it over writes my (app).conf settings. I enabled SSL through settings then after deployment I see the SSL is all commented out. What could be wrong? Thanks. -- You received this message because you are subscribed to the Google

Re: [mezzanine-users] Images in .pdf Invoice

2016-06-28 Thread Ken Bolton
Outside the scope of Mezzanine/Cartridge, I am getting amazing results using athenapdf to convert HTML to PDF. I manage a sprawling Python application that had a homebrew and long-in-the-tooth webkit integration in c++ and Python to generate PDF. I replaced

Re: [mezzanine-users] Images in .pdf Invoice

2016-06-28 Thread Joseph Mohan
Thanks for your help. I've spent the last 2 days pulling xhtml2pdf apart and still cannot get this to work. It seems to just not recognize any src attribute on an img tag, even tried brute forcing it but xhtml2pdf also seems to now be abandoned and