[web2py:27300] Re: Minimal Application

2009-07-23 Thread Iceberg
Even I have been be with web2py for more than 18 months, I still feel somewhat difficult to catch up with the web2py evolution. So you are not alone, Mr. BG. :-) After all, it is good that web2py grows up fast. :-) And yes I also like the idea of providing a fancy scaffolding app and a minimal o

[web2py:27299] Re: import SQL Schemma Database into model.py

2009-07-23 Thread Hans Donner
I think this would be a perfect tool for a web2py toolkit (seperate from the main web2py). On Fri, Jul 24, 2009 at 05:38, Alexandre Andrade wrote: > Leandro, > > I announced some time ago start in a script/aplication in web2py to do that > with postgresql. But since them I have so many projects,

[web2py:27298] Re: Minimal Application

2009-07-23 Thread mdipierro
You can delete all files and start a new one from scratch. Nothing should breaks. I do not oppose the idea of a more flxible process for creating the scaffolding app. On Jul 24, 12:59 am, BG wrote: > I have not been looking at Web2Py for 8 months or so. > Picking it up again I can see lots of i

[web2py:27297] Minimal Application

2009-07-23 Thread BG
I have not been looking at Web2Py for 8 months or so. Picking it up again I can see lots of improvements done. Even though I'm impressed I have some problem with the default application. Out of the box it has: - Authentication - Nice Javascript (JQuery I assume) menus - Some generic files If

[web2py:27296] Re: eStore appliance

2009-07-23 Thread suiato
Hi Benigno and all, I found an announcement "PayPal to Become First Truly Global Payment Platform Open to Third- Party Developers" at https://www.paypal-media.com/releasedetail.cfm?ReleaseID=398758 Will the API be useful to find a better way to incorporate PayPal into the eStore applicance? --

[web2py:27295] Re: HOW2Py

2009-07-23 Thread JohnMc
Ok. Thanks. I will probably attempt an experiment this weekend with the Alex concept of a code wrapped document. With three elemental components -- * A launcher to open a given document type for viewing from ../static * A summary form read/written to a JSON file stored in ../static * Leverage th

[web2py:27294] Re: import SQL Schemma Database into model.py

2009-07-23 Thread Alexandre Andrade
Leandro, I announced some time ago start in a script/aplication in web2py to do that with postgresql. But since them I have so many projects, and could not advanced. I posted a roadmap to do that too. (search for my posts at google groups). What database you use? Mail me in private email to tal

[web2py:27293] Can't see cursor

2009-07-23 Thread rb
I think I saw something about this before but I can't find it now. Using the web-editor to modify the server models/controllers/views/ modules is great for the highlighting, but unfortunately I can't see the cursor so I just end up turning off the highlighting. I don't know if this cursor-colour

[web2py:27292] Re: import SQL Schemma Database into model.py

2009-07-23 Thread mdipierro
Theorecially yes. Practically no. The code to do it has not been written. On Jul 23, 5:49 pm, Leandro - ProfessionalIT wrote: > Hi, >   It's possible import a SQL Schemma Database into a model.py ? > >   I have a big legacy database(with many tables) and I want generate > the model class from da

[web2py:27291] Re: Error with search action of wiki app in manual

2009-07-23 Thread mdipierro
This {{=target.div}} should be {{=target_div}} could be a typo in the manual. Massimo On Jul 23, 5:01 pm, donnek wrote: > I'm working my way through the manual, and doing the wiki in chapter > 3.  Everything has worked fine (no mean feat for tutorials!), except > for one thing: the search f

[web2py:27290] Re: adding cancel button to auth form

2009-07-23 Thread mdipierro
something like this? form.append(BUTTON('click me',_onclick='document.location="%s"' % URL (f='index'))) You may want to play with form[0].append(...) form[0][0].append(...) form[0].insert(-1,) etc. depending on where you want to insert the button. On Jul 23, 4:43 pm, "Sebastian E. Ovide

[web2py:27289] Re: HOW2Py

2009-07-23 Thread mdipierro
Both! In this thread I see people doing stuff as opposed to propose ideas. Proposing ideas is important too but often they imply more work for me which would take away from web2py development. Massimo On Jul 23, 11:05 am, JohnMc wrote: > Benigno, > > Thanks for the kind words. > > Massimo, > >

[web2py:27288] Re: Problems migrating mysql database with SQL import/export

2009-07-23 Thread mdipierro
My guess is that those records where created when no "author" was logged in. Massimo On Jul 23, 9:17 am, Alex Fanjul wrote: > Well, I'm attaching the tables from MySQL which I exported... > As you can see, the "autor" doesnt match the author_id, so that was the > matter. > The problem is that

[web2py:27287] Re: Internationalisation of Dropdown options

2009-07-23 Thread mdipierro
To me it does not make sense to ask for dynamic translations of values in the database. You can translate dropdowns using IS_IN_SET since its values are constant: IN_IN_SET(('key1','key2'),(T('value1'),T('value2'))) Massimo On Jul 23, 9:00 am, Fran wrote: > In order to be able to support Inter

[web2py:27286] Re: HTML helpers

2009-07-23 Thread mdipierro
Denes, I believe this is imlemented. As you suggested. Am I missing something? On Jul 23, 8:12 am, DenesL wrote: > On Jul 23, 7:43 am, mdipierro wrote: > > > > > {{for i in range(40): > > =i > > pass}} > > > or > > > {{for i in range(40):}}{{=i}}{{pass}} > > > BUT > > > {{for i in range(40): >

[web2py:27285] import SQL Schemma Database into model.py

2009-07-23 Thread Leandro - ProfessionalIT
Hi, It's possible import a SQL Schemma Database into a model.py ? I have a big legacy database(with many tables) and I want generate the model class from database( If this possbile !). Any idea ? --~--~-~--~~~---~--~~ You received this message because you ar

[web2py:27284] Re: Global setting for domain name?

2009-07-23 Thread AchipA
That comes into the picture with the domain-related stuff. With multiple domains the domain setup IS part of the 'config' (obviously the built-in server limits you in this regard, that's what I was trying to point out). Apart from routes.py Massimo generally kept to the idea of no global configs.

[web2py:27283] Re: Before every request

2009-07-23 Thread Yarko Tymciurak
You might find these discussions enlightening: http://reinout.vanrees.org/weblog/2009/07/02/ep-metaprogramming.html http://pycon.blip.tv/file/1949345 http://www.artima.com/weblogs/viewpost.jsp?thread=240808 http://www.artima.com/weblogs/viewpost.jsp?thread=240845 On Thu, Jul 23, 2009 at 5:30 PM,

[web2py:27282] Re: Before every request

2009-07-23 Thread Delaney Burke
Much apreciated and thank you for getting back to me so quicklly. I will read up about decorators. Sent from my iPhone On 23 Jul 2009, at 21:55, Yarko Tymciurak wrote: > First, I have to admit I only know about the global.asax file from > (basically) here: http://en.wikipedia.org/wiki/Globa

[web2py:27281] Re: Global setting for domain name?

2009-07-23 Thread Yarko Tymciurak
I don't think we were talking about using the built in server here just about setting up global variables per site vs. per application. On Thu, Jul 23, 2009 at 4:46 PM, AchipA wrote: > > Most non-hobbyist sites should not use the built-in server (yes, > that's an official recommendation), an

[web2py:27280] Error with search action of wiki app in manual

2009-07-23 Thread donnek
I'm working my way through the manual, and doing the wiki in chapter 3. Everything has worked fine (no mean feat for tutorials!), except for one thing: the search function. The relevant lines in the controller are: def search(): "an AJAX wiki search page" return dict(form=FORM(INPUT(_id

[web2py:27279] Re: Global setting for domain name?

2009-07-23 Thread AchipA
Most non-hobbyist sites should not use the built-in server (yes, that's an official recommendation), and with, say, apache+mod_rewrite it doesn't matter anyway, right ? :) Enterprise does not mean one should squander resources. On a double-quad core server I happen to use at work, I use ~10 web2py

[web2py:27278] adding cancel button to auth form

2009-07-23 Thread Sebastian E. Ovide
Hi All, I need to add a Cancel botton the some auth form (change password and retrieve password). Clicking on the cancel button the form should redirect to a given URL. Do I need to create a new form in my controller ? Is there any easier way to do it ? (for example altering the form created by

[web2py:27277] Re: Before every request

2009-07-23 Thread Yarko Tymciurak
First, I have to admit I only know about the global.asax file from (basically) here: http://en.wikipedia.org/wiki/Global.asax In web2py, wne a sequest comes in with no direction (just top URI), web2py will look for an applicaiton "init", or if not found then an application "welcome". Once the d

[web2py:27276] Before every request

2009-07-23 Thread Delaney
Hi guys! i am new to web2py but so far very very impressed! I have come form asp.net background and I am trying to find a similar concept to the global.asax file in web2py. effectively i want the user to be automatically redirected to the logon screen on session start , is that possible or have i

[web2py:27275] Re: Global setting for domain name?

2009-07-23 Thread Yarko Tymciurak
That wasn't my point - I'm sure google is. My point was that this is not the general case, but rather a path for expanding traffic capacity... My point about a corp server I had w/ multiple network cards, facing in to various things (1 to db server; 2 to one app server) is that this is how you t

[web2py:27274] Re: Global setting for domain name?

2009-07-23 Thread Bottiger
Even if it is just an outward facing reverse-proxy, I highly doubt Google is hosting 2 different websites with the same server or even process. Take Django for example. http://docs.djangoproject.com/en/dev/ref/settings/#media-url There is obviously a need for global site-wide settings and a nee

[web2py:27273] Re: Mondrian aka Rietveld

2009-07-23 Thread Yarko Tymciurak
Mondrian was what Guido originally wrote for a commercial revision system; Code-review (what reitveld project is called) was re-written in Java to Gerrit (not exactly "aka") - it is was done by Sean Pearce (also does a lot of git development too) for the Android Google Phone project (gerrit works

[web2py:27272] Re: Mondrian aka Rietveld

2009-07-23 Thread Yarko Tymciurak
yes - it's tied to issue system, you can use on local hosts (there's adapters for "under" the big-table interface that someone made), and it's _supposed_ to work w/ Mercurial google code hosting; when they released mercurial (~2 months ago now) it was all still full of glitches, but if we move the

[web2py:27271] Mondrian aka Rietveld

2009-07-23 Thread Sebastian E. Ovide
Hi All, There is a tool that I have used at Google developed in Python by Guido van Rossum. It is called Mondrian aka Rietveld. It is a code review tool that makes discussion about code much simpler than using emails. Specially for developers that work in different locations. here is an example o

[web2py:27270] Re: Global setting for domain name?

2009-07-23 Thread Yarko Tymciurak
I do not see this as anything more than an edge case rather than general situation (and something to accomplish network load balancing in any case). Anyway, you are not showing anything about servers; you are only showing network connections. I have one server with 4 network cables feeding, and

[web2py:27269] Re: Global setting for domain name?

2009-07-23 Thread Bottiger
That actually supports my point. For serious websites, they have their own server, and not all off of one installation. code.l.google.com [72.14.213.100] groups.l.google.com [72.14.213.139] On Jul 23, 11:53 am, Yarko Tymciurak wrote: > for what you're talking about here, I'm not sure this is tr

[web2py:27268] Re: Is this doable : input from one client, display to another ?

2009-07-23 Thread fpp
Oh boy, this stuff is still in the Black Magic phase... documented about as well as AJAX five years ago, as in, not much nor well... I have the orbited server running on my screen, with the demos working and all, but still no clue how to integrate that with web2py so I can write code in python in

[web2py:27267] Re: Global setting for domain name?

2009-07-23 Thread Yarko Tymciurak
for what you're talking about here, I'm not sure this is true: look at launchpad or google as examples: code.google.com groups.google.com launchpad.net code.launchpad.net bugs.launchpad.net answers.launchpad.net For a web2py install, this could reaonably be individual apps (routed by whatever w

[web2py:27266] Re: Global setting for domain name?

2009-07-23 Thread Bottiger
It is unreasonable because most non-hobbyist sites only have 1 canonical domain. When I run Web2Py it only uses around 20mb of memory for each instance. On Jul 23, 2:42 am, AchipA wrote: > Unreasonable ? Why ? For example, I run several of my hobby projects > as separate web2py applications and

[web2py:27265] RESOURCES: Why Choose web2py?

2009-07-23 Thread Yarko Tymciurak
A while back, I was looking for sites to share w/ people who asked "why web2py?" I recently read through this, which others might also find as a useful resource: http://trac.sahanapy.org/wiki/FrequentlyAskedQuestions (Thanks, Fran) - Yarko --~--~-~--~~~---~--~~

[web2py:27264] Re: HOW2Py

2009-07-23 Thread JohnMc
Benigno, Thanks for the kind words. Massimo, Were you addressing Benigno or myself with an action item? Wasn't clear to at least me. Thanks. JohnMc On Jul 23, 6:46 am, mdipierro wrote: > This is what web2py needs. How do you suggest I link it form the main > web site? Peraps thete should a p

[web2py:27263] Re: Global setting for domain name?

2009-07-23 Thread AchipA
Yes, obviously, at any serious deployment you'll end up doing things at the level of an external web server. With including the web server in web2py it's a bit of a can of worms, as you theoretically could do a lot of things which are not core web2py. --~--~-~--~~~---~-

[web2py:27262] Re: How2PyII

2009-07-23 Thread JohnMc
Benigno, All very good points. Some possible mitigation -- - It doesn't encourage writing quick articles of maybe, one paragraph and a couple of lines of code. Include a built-in editor like NiceEdit? My bigger concern might be the baggage ratio in such articles. 99% of the file being the appli

[web2py:27261] Re: Global setting for domain name?

2009-07-23 Thread Yarko Tymciurak
This is perhaps a reason to argue for an application-specific routes... as for "all my apps need" one reasonable option is file links to serve the job of change one place/file, affect many... On Thu, Jul 23, 2009 at 6:53 AM, mdipierro wrote: > > For now you can easily do this with virtual

[web2py:27260] Re: allow NULL in date field in SQLFORM

2009-07-23 Thread DenisBY
thanks! it works! On 23 июл, 00:12, mdipierro wrote: > do not use > > {{=row.datefield}} > > use > > {{=db.table.datetfield.formatter(row.datefield)}} > > On Jul 22, 8:22 am, DenisBY wrote: > > > I've translated it so translation looks like: > > %Y-%m-%d=> %d.%m.%Y > > in view in input field da

[web2py:27258] Re: OpenID for Web2Py

2009-07-23 Thread Hans Donner
Don't know about the content like the name of the nick, you should be able to tell. But the fact you get shown a nick indicates everything went well. Remember, it's now only a proof of concept app, so nothing usefull is yet done besides getting your openid info On Thu, Jul 23, 2009 at 12:05, dly

[web2py:27257] Internationalisation of Dropdown options

2009-07-23 Thread Fran
In order to be able to support Internationalisation of formfield dropdown options, what do we need to do? In the manual it says: "If the string to be translated is not a constant but a variable, it will be added to the translation file at runtime to be translated later." I tried to get this work

[web2py:27256] Re: HTML helpers

2009-07-23 Thread DenesL
On Jul 23, 7:43 am, mdipierro wrote: > {{for i in range(40): > =i > pass}} > > or > > {{for i in range(40):}}{{=i}}{{pass}} > > BUT > > {{for i in range(40): > if i==0: > =0 > else: > =i > pass > pass}} > > Note no need to pass before else because would be obvious. Note that this makes it hard t

[web2py:27255] Re: legacy databases

2009-07-23 Thread mdipierro
I do not know. This may work. The "id" field does not be to be auto increment (it is not on GAE) but it needs to be integer (is that the case here?) You say you use a function to insert records. If this is a just implemented as a trigger executed on "INSERT" then fine else you will have to wait f

[web2py:27254] Re: OpenID for Web2Py on Google App Engine?

2009-07-23 Thread mdipierro
I have not looked into this in some time but one problem I remember is that OpenID requires the server to make an http request via urllib and GAE requires using fetch instead of urllib. If you only need to authenticate with google openID on GAE that dan be more easily done with gluon/contrib/log

[web2py:27253] Re: Does CRON work on GAE?

2009-07-23 Thread Fran
On Jul 23, 12:59 pm, mdipierro wrote: > > you can do: > @auth.requires(lambda: not IS_IPV4()(request.client)[1]) > > works behind a proxy if the proxy uses HTTP_X_FORWARDED_FOR but it can > > be spoofed > @auth.requires(lambda: not IS_IPV4()(request.addr)[1]) > > does not work behind a proxy and

[web2py:27252] Re: Does CRON work on GAE?

2009-07-23 Thread mdipierro
ERRATA On Jul 23, 6:56 am, mdipierro wrote: > you can do: @auth.requires(lambda: not IS_IPV4()(request.client)[1]) > works behind a proxy if the proxy uses HTTP_X_FORWARDED_FOR but it can > be spoofed @auth.requires(lambda: not IS_IPV4()(request.addr)[1]) > does not work behind a proxy and c

[web2py:27251] Re: legacy databases

2009-07-23 Thread Fran
On Jul 23, 12:47 pm, gillengam wrote: > Book pag.143 - Legacy Databases paragraph > In my database Oracle I have a table with a field called 'id' (primary > key), > but 'id' is type PREF0001, PREF0002, PREF0003, ... > I use a function to insert new record. > Is this a problem for WEB2PY? Or m

[web2py:27250] Re: Does CRON work on GAE?

2009-07-23 Thread mdipierro
you can do: @auth.requires(lambda: IS_IPV4()(request.client)[1]) works behind a proxy if the proxy uses HTTP_X_FORWARDED_FOR but it can be spoofed @auth.requires(lambda: IS_IPV4()(request.addr)[1]) does not work behind a proxy and cannot be spoofed. Massimo On Jul 23, 5:36 am, Fran wrote: >

[web2py:27249] Re: Global setting for domain name?

2009-07-23 Thread mdipierro
For now you can easily do this with virtual hosts in apache and one web2py installation. I am not convinced this belongs in web2py. Massimo On Jul 23, 4:42 am, AchipA wrote: > Unreasonable ? Why ? For example, I run several of my hobby projects > as separate web2py applications and all are on s

[web2py:27248] Re: Stumped Beyond Belief

2009-07-23 Thread mdipierro
Thank you Alexey. I will incorporate this in a couple of days. Sorry for the dalay. On Jul 23, 2:41 am, Alexey Nezhdanov wrote: > On Wednesday 22 July 2009 12:18:52 mdipierro wrote:> Some of them have been > fixed but some may still need fixes. Help will > > be appreciated. > > Ok, here it is.

[web2py:27247] legacy databases

2009-07-23 Thread gillengam
Book pag.143 - Legacy Databases paragraph In my database Oracle I have a table with a field called 'id' (primary key), but 'id' is type PREF0001, PREF0002, PREF0003, ... I use a function to insert new record. Is this a problem for WEB2PY? Or must I add auto-increment integer field? I hope no.

[web2py:27246] Re: HOW2Py

2009-07-23 Thread mdipierro
This is what web2py needs. How do you suggest I link it form the main web site? Peraps thete should a page where people can post links to articles. Massimo On Jul 23, 2:17 am, Benigno wrote: > John, > >      Very interesting article. I haven't had the need of capturing > data and structuring it

[web2py:27245] Re: Two tables that link to each other

2009-07-23 Thread mdipierro
You have a point. I will try to add those next week. On Jul 22, 7:34 pm, Jonathan Lundell wrote: > On Jul 22, 2009, at 5:03 PM, Yarko Tymciurak wrote: > > > On Wed, Jul 22, 2009 at 6:59 PM, Jonathan Lundell   > > wrote: > > On Jul 21, 2009, at 9:14 PM, Yarko Tymciurak wrote: > > >> There is a s

[web2py:27244] Re: HTML helpers

2009-07-23 Thread mdipierro
{{for i in range(40): =i pass}} or {{for i in range(40):}}{{=i}}{{pass}} BUT {{for i in range(40): if i==0: =0 else: =i pass pass}} Note no need to pass before else because would be obvious. On Jul 22, 6:47 pm, Yarko Tymciurak wrote: > On Wed, Jul 22, 2009 at 6:07 PM, Alex Fanjul wrote: >

[web2py:27243] OpenID for Web2Py on Google App Engine?

2009-07-23 Thread dlypka
I also try it on my local App Engine DEV server but no luck. I changed all 8000 to 8080 as per the App Engine Development Server, but still when I click Submit, I get the 'Invalid Request' page. Any suggestions? Thanks. On Jul 21, 7:57 pm, Bottiger wrote: > I've uploaded to my website the mini

[web2py:27242] Re: Does CRON work on GAE?

2009-07-23 Thread Fran
On Jul 23, 10:36 am, AchipA wrote: > I wished we had a sort of standardized way of having a > @local_only or @auth.ip_in(...) decorator of sorts I like it :) - perhaps reusing the IS_IPV4 validator code Not sure it would work through proxies though... > (maybe we already do?). No - just the t

[web2py:27241] Re: temporary table

2009-07-23 Thread Fran
On Jul 23, 7:12 am, Vidul Petrov wrote: > > That's why the question was asked: what do you need to do exactly? > db._execute('CREATE TEMPORARY TABLE tmp (id INT)') > # or whatever the SQL server's dialect requires This isn't what you're trying to achieve. This is a proposed way of achieving it.

[web2py:27240] Re: Where/How I can personalize the CRUD behavior and Layout ?

2009-07-23 Thread Fran
2009/7/23 Alex Fanjul : > NameError: global name 'A' is not defined > Do I have to import gluon in the module? how? > My view code is like this: > {{from helpers import pagenav as pagenav}} I didn't write the helpers module & I don't use it in the same way that post does. (I define a variant the

[web2py:27239] Re: OpenID for Web2Py

2009-07-23 Thread dlypka
Thanks so much for this work. I tried it. It correctly took me to the Open ID confirmation at http://openid-provider.appspot.com and then I clicked Yes. This is the result I got back: message : something heppened:{'url': 'http://openid-provider.appspot.com/ dlypka', 'pape': , 'sreg': [('nickna

[web2py:27238] Re: Global setting for domain name?

2009-07-23 Thread AchipA
Unreasonable ? Why ? For example, I run several of my hobby projects as separate web2py applications and all are on separate domains as they are not really related (except for being done by me :) If I put them on separate web2py instances, that would mean a tenfold memory increase requirement for

[web2py:27237] Re: Does CRON work on GAE?

2009-07-23 Thread AchipA
Yes, but the advantage of an automatic conversion on deploment would still be transparent compatibility across all platforms, which is not a bad thing to have :) Also, I wished we had a sort of standardized way of having a @local_only or @auth.ip_in(...) decorator of sorts (maybe we already do?).

[web2py:27236] Re: problem access web2py site

2009-07-23 Thread Yarko Tymciurak
Site-wide configs are like global variables - we don't like them! There has to be some compelling reason to want them. It this case, I'm not sure there is - for example, even for a file read per-request such as: 0_openID_Constants.py I would just name them, and link them into the apps that nee

[web2py:27235] Re: problem access web2py site

2009-07-23 Thread Hans Donner
That is standard web2py behaviour. Accessing admin is secured, this can only be done via localhost or over a secure connection. In your case, what did you do to have a ticket generated? On Thu, Jul 23, 2009 at 10:09, gillengam wrote: > > Ok for https, but for FAQ I get this: > > Forbidden > You

[web2py:27234] Re: Global setting for domain name?

2009-07-23 Thread Hans Donner
This is not a web2py requirement, and I think it should be kept that way. However, I see value in some kind of site wide config like this that can be used optionally. On the other hand, there are only a few cases where a complete URL is required. In the case of OpenID this is most likely to be on

[web2py:27233] Re: problem access web2py site

2009-07-23 Thread gillengam
Ok for https, but for FAQ I get this: Forbidden You don't have permission to access /admin/default/ticket/AlterEgo/ What can I do for this? On 23 Lug, 09:59, Yarko Tymciurak wrote: > On Thu, Jul 23, 2009 at 2:25 AM, gillengam wrote: > > > Excuse me, I have some problems to access web2py site.

[web2py:27232] Re: problem access web2py site

2009-07-23 Thread Hans Donner
nope, here it also works fine On Thu, Jul 23, 2009 at 09:59, Yarko Tymciurak wrote: > > > On Thu, Jul 23, 2009 at 2:25 AM, gillengam wrote: >> >> Excuse me, I have some problems to access web2py site. For example I >> get "sec_error_expired_issuer_certificate" >> >> if I visit "https:// >> mdp.c

[web2py:27231] Re: problem access web2py site

2009-07-23 Thread Yarko Tymciurak
On Thu, Jul 23, 2009 at 2:25 AM, gillengam wrote: > > Excuse me, I have some problems to access web2py site. For example I > get "sec_error_expired_issuer_certificate" > if I visit "https:// > mdp.cti.depaul.edu/wiki". You can safely ignore this for the wiki site (add an exception) > Or if I

[web2py:27230] Re: How2PyII

2009-07-23 Thread hcvst
How about using Massimo's Killer App idea http://groups.google.com/group/web2py/browse_thread/thread/995e36b68c0c7e51/11511528c0753952?lnk=gst&q=killer+app#11511528c0753952 to distribute these article.apps. A distributed howto/app repository sounds fun! HC On Jul 21, 6:28 pm, JohnMc wrote: > Ho

[web2py:27229] Re: Stumped Beyond Belief

2009-07-23 Thread Alexey Nezhdanov
On Wednesday 22 July 2009 12:18:52 mdipierro wrote: > Some of them have been fixed but some may still need fixes. Help will > be appreciated. Ok, here it is. I went over all files in gluon/ and changed all raises that were providing uhelpful (IMHO of course) tracebacks. Patch is against current tr

[web2py:27228] Re: How2PyII

2009-07-23 Thread Benigno
Just to add a few comments to this, there are a few "buts" with one t, that I see in this approach: - It doesn't encourage writing quick articles of maybe, one paragraph and a couple of lines of code. - It doesn't make it easy to comment and review by other people. - It doesn't make a quick editi

[web2py:27227] problem access web2py site

2009-07-23 Thread gillengam
Excuse me, I have some problems to access web2py site. For example I get "sec_error_expired_issuer_certificate" if I visit "https:// mdp.cti.depaul.edu/wiki". Or if I visit "http://www.web2py.com/ AlterEgo" I get "Internal error". Can you help me. I don't understand. It's only problem for me or yo

[web2py:27226] Re: HOW2Py

2009-07-23 Thread Benigno
John, Very interesting article. I haven't had the need of capturing data and structuring it from the web so far, but it is great to learn how to do it, nicelly structured and enlightening. cheers, Benigno. On 22 jul, 14:25, JohnMc wrote: > Benigno, > > The file is located here --http://76

[web2py:27225] Re: Global setting for domain name?

2009-07-23 Thread Bottiger
I think its safe to assume that one single copy of the web2py library serves a single domain. It works for Django. Serving multiple domains on a single Web2Py installation is an unreasonable configuration to support, and it should be split into 2 different Web2Py installations imo. On Jul 23, 12

[web2py:27224] Re: Global setting for domain name?

2009-07-23 Thread Hans Donner
Be carefull with this. The same instance may serve on multiple domain names It's up to the developer to make these choices and decissions. On Thu, Jul 23, 2009 at 07:20, Bottiger wrote: > > Also a setting like this should be global to all applications while > stuffing it in a model will only