[web2py] routes_out to put static scripts on a subdomain

2012-07-14 Thread spiffytech
I'm trying to make routes_out put all requests for static content on a static subdomain, e.g. domain.com/static/file.css -> static.domain.com/static/file.css The following is the closest I've come, but it doesn't work- it produces static./static/file.css. What am I doing wrong? routes_out = (

[web2py] Re: routes_out to put static scripts on a subdomain

2012-07-14 Thread Massimo Di Pierro
Unfortunately routes out cannot match the domain only the path. Perhaps this can be changed. Open a ticket about it. massimo On Saturday, 14 July 2012 09:13:51 UTC-5, spiffytech wrote: > > I'm trying to make routes_out put all requests for static content on a > static subdomain, e.g. domain.co

Re: [web2py] To uuid or not?

2012-07-14 Thread Alexei Vinidiktov
On Monday, May 14, 2012 7:58:57 PM UTC+7, Ross Peoples wrote: > > Some databases allow you to temporarily turn off auto-generating IDs so > that you can import a table keeping its original IDs intact. I wrote a > database abstraction layer a few years back for another project that > specifical

[web2py] Re: routes_out to put static scripts on a subdomain

2012-07-14 Thread spiffytech
Done: http://code.google.com/p/web2py/issues/detail?id=890 On Saturday, July 14, 2012 12:32:25 PM UTC-4, Massimo Di Pierro wrote: > > Unfortunately routes out cannot match the domain only the path. > Perhaps this can be changed. Open a ticket about it. > > massimo > > > > On Saturday, 14 July 201

[web2py] Re: Scheduler: help us test it while learning

2012-07-14 Thread spiffytech
All the tests passed for me. On Thursday, July 12, 2012 4:36:38 PM UTC-4, Niphlod wrote: > > Hello everybody, in the last month several changes were commited to the > scheduler, in order to improve it. > Table schemas were changed, to add some features that were missed by some > users. > On the

[web2py] KeyError on pyfpdf

2012-07-14 Thread thinkwell
Hello everyone, I'm experimenting with pyfpdf with HTML formatting, but it's not going so well. Is a bit buggy. For example, this code generates a KeyError: 'width'. {from gluon.contrib.pyfpdf import FPDF, HTMLMixin from gluon.html import * header = HEAD('html2pdf', _align='center') pets = TA

[web2py] Re: KeyError on pyfpdf

2012-07-14 Thread Alan Etkin
> > Hello everyone, > > I'm experimenting with pyfpdf with HTML formatting, but it's not going so > well. Is a bit buggy. For example, this code generates a KeyError: 'width'. > It appears to have something to do with these project issues: http://code.google.com/p/pyfpdf/issues/detail?id=8&q=wi

Re: [web2py] To uuid or not?

2012-07-14 Thread Massimo Di Pierro
Not necessarily. If you export and reimport them with the option db.import_from_csv_file(...,id_map={}) and if the db is empty when reimporting, everything works fine. If you want to be able to import data in a database already populated, you must have the UUID field. This is because web2py ca

[web2py] we need testers for new functionalities

2012-07-14 Thread Massimo Di Pierro
There is lots of new stuff in trunk. We need you to test it to make sure it does not break your apps. Here I will just mention two new features: 1) Improved MARKMIN (check out the latest examples in gluon/contrib/markmin/markmin.html) including nested lists, nested blockquotes, etc. Thanks to