[web2py] How to UPGRADE py4web hosted at https://www.pythonanywhere.com/ ?

2020-05-04 Thread Luc Chase
I have a working version with _documentation?version=0.1.20200210.2 I want to understand how to upgrade. I've tried entering python3 -m pip install --upgrade py4web from /home/myinstall/ but after a series of successful inI get many errors and there is no sign that anything got upgraded...

[web2py] Where does one submit py4web documentation corrections?

2020-02-10 Thread Luc Chase
e.g. Chapter 2 return "hello, now is %s" % datetime.*datime*.now() should be return "hello, now is %s" % datetime.datetime.now() -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: What are the usual steps for designing a web2py application?

2015-01-26 Thread Luc Chase
Your question refers to after the basic requirements are known? I'd interested to hear from @Massimo and others about the scope for using Web2py as an analysis design tool via rapid functional-prototyping tool ( including instead of wireframes ) leading to final production version of the

[web2py] Re: Please help me to design my database structure

2013-09-10 Thread Luc Chase
You want to copy all the steps... then mark each as it is done? Or are you wanting to create each done project_step record only after it is done? On Tuesday, 10 September 2013 00:02:40 UTC+1, Andreas Wienes wrote: Thanks for your advice! I corrected the small error and created the new

[web2py] Re: Master-detail CRUD

2013-09-10 Thread Luc Chase
Thank you ... just what I'm looking for. @massimo - would be great if this could be out-of-the-box functionality of the wizard. On Tuesday, 10 September 2013 08:28:36 UTC+1, 黄祥 wrote: perhaps this slices can give you an idea :

[web2py] Re: Master-detail CRUD

2013-09-10 Thread Luc Chase
Thanks again Stifan, this one-to-many structure is needed in many situations. Surprising it isn't mentioned more often. On Tuesday, 10 September 2013 11:46:24 UTC+1, 黄祥 wrote: btw there is written in the book :

[web2py] Master-detail CRUD

2013-09-09 Thread Luc Chase
Given two joined tables, I can see how things work for generating a CRUD form to manage each one. But are there any examples of code available that show how to generate a view that allows both to be edited and saved at the same time? e.g. Invoice header with Invoice-lines and one save button.

[web2py] Re: Please help me to design my database structure

2013-09-09 Thread Luc Chase
You have thought of the correct solution ( I would call it project_steps ) . On Monday, 9 September 2013 17:12:04 UTC+1, Andreas Wienes wrote: Hello, I've three models called project, project_type and steps. A project belongs to a certain project_type and depending on what kind of

[web2py] Re: WEB2PY iOS install APP

2013-08-25 Thread Luc Chase
here's one ... https://itunes.apple.com/gb/app/python-2.7-for-ios/id485729872?mt=8 On Sunday, 25 August 2013 23:04:22 UTC+1, Christian Foster Howes wrote: to run a web2py server on iOS that would require a python interpreter on iOS, and i don't know of one that exists. cfh On Saturday,

[web2py] Re: DAL best opinions

2013-04-14 Thread Luc Chase
Are you sure they REALLY have to be in two separate tables and not just one (optionally with a recursive join to support parent-child relation) ? -- Luc. On Sunday, 14 April 2013 03:38:51 UTC+1, lucas wrote: ok, i need some opinions on how to do this best and how to implement the best

[web2py] Re: web2py 2.4.2 is OUT

2013-04-07 Thread Luc Chase
+ and - definitely don't work on (2, 4, 6, 'stable', datetime.datetime(2013, 4, 6, 17, 37, 38)) -- Luc. On Sunday, 10 March 2013 14:31:04 UTC, Massimo Di Pierro wrote: This should now be fixed. Can you check? On Tuesday, 5 March 2013 17:21:03 UTC-6, Ralo Tannahill wrote: +1 for web2py!!

[web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread Luc Chase
Hi, just to clarify please... is this to show the model using a graphical model? Or is it for extending the DAL to support Graph databasehttp://en.wikipedia.org/wiki/Graph_databasemodels ? -- Luc. On Saturday, 15 December 2012 14:49:48 UTC, Jose wrote: Hi I modified the admin and welcome,

[web2py] Re: web3py?

2012-12-02 Thread Luc Chase
One or two high-profile projects would would go a long way towards this. On Thursday, 29 November 2012 01:14:52 UTC, Daniele wrote: I really believe web2py will indeed become the rails for python as someone mentioned. Actually, I believe it's much better, easier to use and comprehend, and

Re: [web2py] Re: Self-joins not working.

2012-12-02 Thread Luc Chase
It works fine if I remove 'format=' db.t_project.f_parent_project.requires = IS_EMPTY_OR(IS_IN_DB(db,' t_project.id',db.t_project._format)) -- Luc. On Saturday, 1 December 2012 07:57:16 UTC, Luc Chase wrote: db.define_table('t_project', Field

Re: [web2py] Re: Self-joins not working.

2012-12-01 Thread Luc Chase
...@gmail.com wrote: The format argument goes in the define_table() call -- is that where you have it? Anthony On Friday, November 30, 2012 1:58:09 AM UTC-5, Luc Chase wrote: Thanks for the suggestion. I had tried something similar but got an error and even with this I have an error referencing

Re: [web2py] Re: Self-joins not working.

2012-11-30 Thread Luc Chase
)) On Friday, 30 November 2012 13:50:34 UTC, Anthony wrote: The format argument goes in the define_table() call -- is that where you have it? Anthony On Friday, November 30, 2012 1:58:09 AM UTC-5, Luc Chase wrote: Thanks for the suggestion. I had tried something similar but got an error

Re: [web2py] Re: Self-joins not working.

2012-11-29 Thread Luc Chase
, Jim S wrote: I'm seeing this as well. -Jim On Tuesday, November 27, 2012 12:09:18 PM UTC-6, Luc Chase wrote: If the reference is to a different table, the CRUD form renders the field as a list box allowing the user to select the record from the foreign table. But as a self-join

Re: [web2py] Re: Self-joins not working.

2012-11-27 Thread Luc Chase
the record to generate an error when viewed ( but not when edited). On 27 November 2012 14:23, Massimo Di Pierro massimo.dipie...@gmail.comwrote: In which way this is not working correctly? On Monday, 26 November 2012 12:45:22 UTC-6, Luc Chase wrote: The documentation at http://web2py.com

[web2py] Self-joins not working.

2012-11-26 Thread Luc Chase
The documentation at http://web2py.com/books/default/chapter/29/06?search=reference#Self-Reference-and-aliases says that this should be possible. However my models code in db_wizard.py which I've partially edited just for this requirement does not generate the correct CRUD form ( a lookup

Re: [web2py] Re: gitpython module error

2012-11-11 Thread Luc Chase
it since it has no binary dependencies. On Friday, 9 November 2012 01:19:23 UTC-6, Luc Chase wrote: When trying to install a package from github I get an error saying that I need to have the gitpython module. But when I execute the following it seems it is already there... sudo pip install

Re: [web2py] Re: gitpython module error

2012-11-11 Thread Luc Chase
versions of python or multiple environments, check out http://www.virtualenv.org/en/latest/ On Friday, November 9, 2012 2:19:23 AM UTC-5, Luc Chase wrote: When trying to install a package from github I get an error saying that I need to have the gitpython module. But when I execute

[web2py] Re: Circular references

2012-11-08 Thread Luc Chase
Any way to achieve this when using the wizard? Tried... parent_project reference project But it returns circular reference error. On Saturday, 13 November 2010 23:21:11 UTC, Francisco G. T. Ribeiro wrote: Thank you, sorry, I should know this... On Nov 13, 10:50 pm, villas

[web2py] gitpython module error

2012-11-08 Thread Luc Chase
When trying to install a package from github I get an error saying that I need to have the gitpython module. But when I execute the following it seems it is already there... sudo pip install gitpython Password: Requirement already satisfied (use --upgrade to upgrade): gitpython in

[web2py] Re: web2py.app runs live from Dropbox - and backups on dropbox

2012-08-17 Thread Luc Chase
lol, cool. Incidently, Dropbox is also a Python app. On Wednesday, 15 August 2012 16:57:24 UTC+1, Rob_McC wrote: *Just for information... * I backup my web2py files (.app) on dropbox free account https://www.dropbox.com/ This works well for me as a clould solution, quick, easy and

[web2py] Re: web2py 2.0 almost done

2012-08-09 Thread Luc Chase
Should it not, as a matter of principle, try to maintain mutual accuracy of data? Or at least give the option do so. So, if the same data is updated where-ever, the system should aim for a cascade update, or the next best thing to that. -- Luc. On Wednesday, 8 August 2012 22:17:17 UTC+1,

[web2py] Re: How do larger teams develop with Web2py?

2012-08-09 Thread Luc Chase
that the architecture of web2py is likely to make it more difficult to separate the concerns of the various team members. -- Luc On Wednesday, 8 August 2012 21:39:20 UTC+1, Luc Chase wrote: What particular constraints and advantages does using web2py tend to bring for larger project development teams

[web2py] How do larger teams develop with Web2py?

2012-08-08 Thread Luc Chase
What particular constraints and advantages does using web2py tend to bring for larger project development teams as opposed to those working solo or in very small teams? I assume for example these roles benefit from rapid feedback and ability to adjust requirements more easily? - Project

[web2py] Re: web2py 2.0 almost done

2012-08-07 Thread Luc Chase
Where is the Ver. 2.0 system? Is it at https://github.com/web2py/web2py/ ? On Tuesday, 7 August 2012 05:33:48 UTC+1, Massimo Di Pierro wrote: Web2py 2.0 is almost done. Please try the nightly build. Let us know if it breaks anything. massimo --

Re: [web2py] Re: Is Vars Bad for SEO?

2012-07-30 Thread Luc Chase
In the case of Google neither of those is at any particular advantage over the other, except the shorter one would be stronger for the search term 'Video'. So long as it includes the target search-term for that page, the simpler the URL the better and the shorter the better. e.g. in both

[web2py] HOWTO: getting web2py to run on Android mobile devices

2012-07-22 Thread Luc Chase
Hi, Just out of curiosity (before seeing your pst) I tried to run web2py on my Galaxy Note. I extracted the web2py source to the SL4A scripts folder. Run the SL4A application then click on the web2py.py script. Although it complains of a missing Tk library and problems with cache files, it

[web2py] Re: how to deploy web2py application on my purchased domain server

2012-07-19 Thread Luc Chase
might this help? http://stackoverflow.com/questions/817809/how-to-use-google-app-engine-with-my-own-domain-not-subdomain On Thursday, 19 July 2012 10:27:37 UTC+1, Roma Asnani wrote: Hello Everyone, I am learning python and web2py as well. I had developed an application on web2py

[web2py] Re: Web Development Introduction Based On Web2py

2012-07-06 Thread Luc Chase
Marco, What does 'very low level' subject matter mean in this context? Is that to mean 'very detailed'? -- Luc. On Tuesday, 20 December 2011 18:33:21 UTC, ma...@rockiger.com wrote: I published the first 3 chapters of my web development tutorial at http://killer-web-development.com It's

Re: [web2py] Re: Web Development Introduction Based On Web2py

2012-07-06 Thread Luc Chase
OK so you mean from beginner level. Thanks. I as soon as the sites is accessible again I will try to give you good feedback. On Jul 6, 2012 11:18 AM, Luc Chase l...@lucchase.com wrote: Marco, What does 'very low level' subject matter mean in this context? Is that to mean 'very detailed

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-06-07 Thread Luc Chase
I would say a CMS becomes a wiki when it allows links to pages which don't yet exist ( it dynamically creates it when the link is created). On Jun 7, 2012 8:07 PM, Andrew awillima...@gmail.com wrote: Yes, me too. Can anyone point me to the documentation referenced on the movu.ca home page? I

[web2py] Re: A Web2py CMS like Joomla ?

2012-05-25 Thread Luc Chase
I'd really be keen on a clone of the php based CMS, eZ Publishhttp://ez.no/ . It has very a good internal architecture. -- Luc. On Friday, 25 May 2012 04:54:54 UTC+1, Andrew wrote: There have been numerous posts on a web2py based cms, and I know there are many solutions out there, at

[web2py] Re: Shipping Address, Billing Address - Model Design

2012-05-15 Thread Luc Chase
You haven't actually stated your business rule, nor have you mentioned any need to preserve a history of addresses, but the correct structure from a db design point of view is likely to be that the table storing the owner of the addresses has a one-to-many relation with the address table. i.e.