Thanks for link, I'll check it out.
And yeah it's totally risky, but it's more to prove a point that
automated deployment works with a small app rather than full-sized
deployment.
On Mon, Apr 2, 2012 at 1:02 AM, pbreit wrote:
> That seems risky to automatically pull in changes but I guess it cou
Nice work Manuele,
I'll keep an eye on that project.
On Sun, Apr 1, 2012 at 4:48 PM, Manuele Pesenti
wrote:
> Il 01/04/2012 18:25, Anthony ha scritto:
>
>> You should replace the Sourceforge link on the web2pyslices post with the
>> above link.
>
> already added it in a comment... what's the pro
Cool. Thanks for the confirm. It's bombing for me right now, but it's
very likely due to the changes I made so that it would skip most types
since it's mongoDB.
On Fri, Mar 30, 2012 at 4:00 PM, Anthony wrote:
>> Where should I run this scrip from? Does it matter?
>
> Just from the command line. I
Anthony,
Where should I run this scrip from? Does it matter?
On Thu, Mar 29, 2012 at 1:18 PM, Anthony wrote:
> Check out this
> script: http://code.google.com/p/web2py/source/browse/scripts/extract_pgsql_models.py.
> You may need to adapt it slightly for your particular database.
>
> Anthony
>
Good point, Anthony. I forgot they are evaluated in order. So you can
declare them explicitly before the generic pattern and achieve the
same result. For bonus points, OP, you should make it RESTful like I
did with mine and then heavily leverage the default layout :) Mine's
currently up at the supe
Nice. Actually I think tweaking the one Anthony provided will be
easier since this DB is a mongoDB instance, and all fields have the
same type (and no relationships to speak of).
On Thu, Mar 29, 2012 at 1:26 PM, pbreit wrote:
> Also one for MySQL:
> http://code.google.com/p/web2py/source/browse/s
Let me check it out. Looks promising.
On Thu, Mar 29, 2012 at 1:18 PM, Anthony wrote:
> Check out this
> script: http://code.google.com/p/web2py/source/browse/scripts/extract_pgsql_models.py.
> You may need to adapt it slightly for your particular database.
>
> Anthony
>
>
> On Thursday, March 29
t;>
>> http://domain.com/AppName/model1/{model1_id}/model2/{model2_id}/model3/{model3_id}
>> should be routed to the default function of cont3
>>
>> ... and so forth.
>>
>> We already did a proof-of-concept with couple other frameworks, and
>> wou
at 1:09 PM, Jonathan Lundell wrote:
> On Mar 20, 2012, at 10:00 AM, Ruben Orduz wrote:
>> Not sure why so defensive. All I'm suggesting is that there is
>> precedent in simpler routing schemes: consider django's (or Rails'),
>> for instance. In django you have a
Not sure why so defensive. All I'm suggesting is that there is
precedent in simpler routing schemes: consider django's (or Rails'),
for instance. In django you have a urls.py at the root, and then
optionally one in your app folder. You have to explicitly tell the
root urls.py which urls to use for
Perhaps I'm misreading your answers, but now I'm more confused. I'll
keep bumping my head till I figure out a way or else use apache's
mod_rewrite which is a heck lot more straight forward.
I would suggest the following behavior though:
routes_in and routes out in the _base_ routes.py should be c
On Mar 20, 2012, at 8:09 AM, Ruben Orduz wrote:
>>
>> I'm definitely confused with this routing scheme.
>>
>> There's the base routes.py (which is usually ignored due to file
>> name). Inside this file there are 3 examples (routes_app, routes_in
>> and rou
I'm definitely confused with this routing scheme.
There's the base routes.py (which is usually ignored due to file
name). Inside this file there are 3 examples (routes_app, routes_in
and routes_out). So, assuming you change the name of the file
routes.py and restart your server, it will use routes
Another thing that needs to be pointed out (at least this is the case
in Windows) that modifications to this file require a full web2py
server shutdown/restart. If you use the tk UI to "stop" server and
then "start" server, it will not pick up changes in the file --
perhaps this is obvious to some,
Anthony, yes to your first question. And i know it's not picking it up
because I mangled it on purpose and it kept working with no errors. As soon
as I can VPN to work, I'll post its contents. Thx.
On Friday, March 16, 2012, Anthony wrote:
> To be clear, you have a file called "routes.py" in yo
> What does that mean exactly? You can have multiple RESTful controllers, and
> they can call functions defined elsewhere if necessary.
Just taking the sample code in the docs as an example You have the
patterns, the magic sauce in parse_as_rest(), then the db object
passes the results to the par
Thanks again, Anthony, I was just wondering if there was a system so
that not to pollute the list with duplicate typos that have already
been reported.
On Tue, Mar 13, 2012 at 4:13 PM, Anthony wrote:
> Right here is good. Unfortunately, the new online book is not easily
> editable at the moment
17 matches
Mail list logo