[web2py] Re: monetize web2py anybody?

2010-05-24 Thread Magnitus
I do not foresee looking for serious consulting work at least for the next year or so (if I do, it will be limited time stuff to pay the bills until my main venture takes off if my savings run out). After my game is off, I'll see (it will depend on how well it does). I will certainly have accumul

Re: [web2py] Re: in trunk - scraping utils

2010-05-24 Thread Thadeus Burgess
> So why our own? Because it converts it into web2py helpers. And you don't have to deal with installing anything other than web2py. -- Thadeus On Tue, May 25, 2010 at 12:14 AM, Kevin Bowling wrote: > Hmm, I wonder if this is worth the possible maintenance cost?  It also > transcends the r

Re: [web2py] Re: Custom registration form -- password_two [CLOSED (for now)]

2010-05-24 Thread Thadeus Burgess
http://web2pyslices.com/main/default/user/register Ok here is a link working since I disabled it on my blog. This is just built into Auth class. You can do custom styling with {{form.custom.password_two.widget}} And add by hand your fieldsets and etc. Unless you are looking for more than just

[web2py] Re: in trunk - scraping utils

2010-05-24 Thread Kevin Bowling
Hmm, I wonder if this is worth the possible maintenance cost? It also transcends the role of a web framework and now you are getting into network programming. I have a currently deployed screen scraping app and found PyQuery to be more than adequate. There is also lxml directly, or Beautiful Sou

[web2py] Re: Custom registration form -- password_two [CLOSED (for now)]

2010-05-24 Thread weheh
@Thadeus: Thanks buddy. Appreciate it. As I suspected, it's got some complexity behind it and the total solution, including emailing, etc. takes a little doing. I'm going to rethink how I'm approaching this. I think the right thing to do is to leverage the underlying web2py infrastructure for doin

[web2py] in trunk - scraping utils

2010-05-24 Thread mdipierro
New in trunk. Screen scraping capabilities. Example: >>> import re >>> from gluon.html import web2pyHTMLParser >>> from urllib import urlopen >>> html=urlopen('http://nobelprize.org/nobel_prizes/physics/laureates/1921/einstein-bio.html').read() >>> tree=web2pyHTMLParser(html).tree ### NEW!! >>> e

Re: [web2py] Re: Custom registration form -- password_two

2010-05-24 Thread Thadeus Burgess
This may be a stupid question but... Why are you not using form.custom ? {{form.custom.start}} {{form.custom.email.widget}} -- Thadeus On Mon, May 24, 2010 at 11:15 PM, Thadeus Burgess wrote: > Wait... Doesn't web2py already have this built in? > > Maybe I don't understand the question...

Re: [web2py] Re: Custom registration form -- password_two

2010-05-24 Thread Thadeus Burgess
Wait... Doesn't web2py already have this built in? Maybe I don't understand the question... Using a plain vanilla `form = auth()` You get a register form... http://thadeusb.com/admin/user/register -- Thadeus On Mon, May 24, 2010 at 10:57 PM, Thadeus Burgess wrote: > Stick the following co

Re: [web2py] Re: Custom registration form -- password_two

2010-05-24 Thread Thadeus Burgess
Stick the following code in a controller import copy user_table = [copy.copy(f) for f in db.auth_user] form = SQLFORM.factory( *user_table, Field('password2', 'password', length=512, requires=db.auth_user.password.requires), ) if form.accepts(request.vars, session): if form.vars.pas

[web2py] Re: Production releases

2010-05-24 Thread mdipierro
I do not know the answer to those questions. I can only say that at least you should test the features we claim (sql injection protection, xss protection, cross site request forgery protection, and the auth mechanism). The rest really depends on the tools and time you have available. Perhaps other

[web2py] Re: Production releases

2010-05-24 Thread GoldenTiger
Great!! really I 've already planned doing it because i have personal projects that I decided doing it with web2py, instead of django. so for my part I feel better being gratefull with you by all knowledge, by now i got a good paid job by urgent webs, and web2py do it easy anf funny My friend's co

[web2py] Re: problem (?) with SQLTABLE linkto

2010-05-24 Thread infodoc
Thanks for the quick response. No need to apologize. Great job on web2py. I love its straight-forwardness. Thanks for that as well! R On May 24, 4:03 pm, mdipierro wrote: > This is done on purpose. The fact is the record may reference more > than one tables. Since there is no machanism to pa

[web2py] Re: web2py hosting - least intervention required

2010-05-24 Thread mdipierro
VPS just gives you a Virtual Private Server for $25/month (including daily, weakly and monthly backups). You can install one of the many images they provide (like Ubuntu or any of the TurnKeyLinux appliances). On Ubuntu installing and configuring a full apache/ postresql/postfix/web2py just require

[web2py] Re: python 2.4 support

2010-05-24 Thread mdipierro
from http://www.logilab.org/blogentry/22498 "I actually recommend creating a virtualenv environment without any kind of installation. Grab this file: http://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py -- and you can run it like "python virtualenv.py new-environment/" This installs Setup

[web2py] Re: web2py hosting - least intervention required

2010-05-24 Thread Yarko Tymciurak
webfaction - shared hosting - means all you need to worry about is your application. If your traffic is realtively low, this is really easy. VPS is cloud hosting, so not sure what the setup is - but you can probably expect to be root on your own linux slice. Massimo will be able to say if he had t

[web2py] Re: GAE, parents, and row objects.

2010-05-24 Thread Yarko Tymciurak
On May 24, 5:32 pm, Matt wrote: > Does web2py have a feature/request tracking system? Technically, google code has bugtracking; Practically, Massimo's always just answered questions here, and made updates from posts here. In the past, trying to do _both_ for web2py just turned out to be ex

[web2py] Re: python 2.4 support

2010-05-24 Thread Cory Coager
Is this possible without root permissions?

[web2py] Re: python 2.4 support

2010-05-24 Thread mdipierro
The only caveats are that you need hashlib and pysqlite. You can install with virtualenv. I think it goes something like this but I did not try mywself # install virtualenv easy_install virtualenv python virtualenv.py w2env # install missing modules w2env/bin/easy_install -U pysqlite hashlib # don

Re: [web2py] help with auth.requires_login()

2010-05-24 Thread Álvaro Justen
On Mon, May 24, 2010 at 20:07, Massimo Di Pierro wrote: > It would be nice to be able to pass the following arguments to > > @auth.requires_login(next=URL(...),message=T(...)) > > where next is the url to redirect to in case of no login. message is the > message to be displayed. > If somebody has

[web2py] Re: Custom registration form -- password_two

2010-05-24 Thread weheh
@mdp: It isn't obvious to me how to mix the auth code with SQLFORM.factory and accept. The problem is that auth is such a black box that I don't know where to break into the flow of it. I believe this issue has come up enough times and been such a consistent stumbling block that I suggest you or s

[web2py] python 2.4 support

2010-05-24 Thread Cory Coager
I'm looking at a web host that uses python 2.4. I'm wondering what the compatibility is with python 2.4? Is there any caveats? Should I just move on and find another host that uses python 2.5?

[web2py] Re: [off-topic] UI frameworks like: ExtJs, Pivot

2010-05-24 Thread Richard
JqueryUI/ExtJS has great widgets for individual tasks (datepicker, etc) but I find myself creating a lot of custom CSS and JavaScript for larger apps. I'm hoping one of these AJAX frameworks will be my silver bullet for the front-end, like web2py is for the backend. Would be interested to hear fee

[web2py] Re: web2py hosting - least intervention required

2010-05-24 Thread mdipierro
I use vps.net and I am very happy with it. On May 24, 7:10 pm, greenpoise wrote: > I am looking for web2py hosting. I have seen most posts of webfaction. > I just want to make sure that what I pick requires the least of my > intervention to get it going. Leads? > > THanks in Advance

[web2py] web2py hosting - least intervention required

2010-05-24 Thread greenpoise
I am looking for web2py hosting. I have seen most posts of webfaction. I just want to make sure that what I pick requires the least of my intervention to get it going. Leads? THanks in Advance

[web2py] Re: URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread GoldenTiger
Done and working on mac,windows and webaction and requires deleting t2.pyc (or cleaning from web2py)

[web2py] help with auth.requires_login()

2010-05-24 Thread Massimo Di Pierro
It would be nice to be able to pass the following arguments to @auth.requires_login(next=URL(...),message=T(...)) where next is the url to redirect to in case of no login. message is the message to be displayed. If somebody has time and wants to take a crack at it, let me know. It should be

[web2py] Re: problem (?) with SQLTABLE linkto

2010-05-24 Thread mdipierro
This is done on purpose. The fact is the record may reference more than one tables. Since there is no machanism to pass multiple URLs, the table name has to be an attribute. Sorry. On May 24, 5:03 pm, infodoc wrote: > Hello, > > web2py newbie here.  Am using SQLTABLE and linkto, and finding it ad

[web2py] Re: display a stored .jpg during a record list or update

2010-05-24 Thread mdipierro
oops... that was before I drunk my second daily espresso. On May 24, 4:03 pm, NetAdmin wrote: > There IS NO SQLHTML :-) > > I figure Massimo meant SQLFORM ... and the follow code works! > > Thanks!  Thanks!  Thanks! > > def editrec(): >   # >   #  edit record 1 >   # >   # form = SQLFORM( db.tbbo

[web2py] Re: URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread mdipierro
You have to restart web2py when you have modules, not when you edit modles/views/controllers On May 24, 5:55 pm, GoldenTiger wrote: > one more dude, have to restart wev2py in webfaction now or when i add > a new T3? > > On 25 mayo, 00:38, GoldenTiger wrote: > > > Thanks a lot Massimo! > > > Yes

[web2py] Re: URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread GoldenTiger
one more dude, have to restart wev2py in webfaction now or when i add a new T3? On 25 mayo, 00:38, GoldenTiger wrote: > Thanks a lot Massimo! > > Yes I remember you said me something like that 2 weeks ago, I was > lucky. > Really the concept of T3 could englobe alot of websites, and the > default

[web2py] Re: URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread GoldenTiger
Thanks a lot Massimo! Yes I remember you said me something like that 2 weeks ago, I was lucky. Really the concept of T3 could englobe alot of websites, and the default layout likes me, so simple and elegant Thanks again! On 24 mayo, 22:51, mdipierro wrote: > Let me add a comment this is one

[web2py] Re: GAE, parents, and row objects.

2010-05-24 Thread Matt
Does web2py have a feature/request tracking system? I'm really keen to see this added - if possible - as it's a core part of GAE. Matt On Apr 25, 10:44 am, Matt wrote: > Yes it is. > > I'm happy to raise a feature request for this. > > Matt > > On Apr 21, 6:07 am, howesc wrote: > > > ispar

[web2py] problem (?) with SQLTABLE linkto

2010-05-24 Thread infodoc
Hello, web2py newbie here. Am using SQLTABLE and linkto, and finding it adds an extra variable to the url when I click on a link it creates. Relevant files: menu.py (the following works fine as a one entry in a longer list): … [T('Profession'), False, URL(request.application,'default', 'profess

Re: [web2py] monetize web2py anybody?

2010-05-24 Thread Giuseppe Luca Scrofani
Count me in! This is a very good idea. How I can contribute in this starting phase? It is possible to make a list of the first task involved in the creation of this business? A dedicated wiki, maybe? On Mon, May 24, 2010 at 1:18 AM, mdipierro wrote: > I have some problems: > > 1) people ask me to

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread yamandu
I am with you Massimo. I am only on what can be don for this do not become a mess. As it´s so innovative it´s natural that there be many doubts but also many expectatives. I am starting a small company, I am using web2py extensively. So lets do it. (handshake goes here) On May 24, 2:54 pm, Golden

[web2py] Re: display a stored .jpg during a record list or update

2010-05-24 Thread NetAdmin
There IS NO SQLHTML :-) I figure Massimo meant SQLFORM ... and the follow code works! Thanks! Thanks! Thanks! def editrec(): # # edit record 1 # # form = SQLFORM( db.tbbooks, 1 ) form = SQLFORM(db.tbbooks,1, upload=URL(r=request,f='download') ) return dict ( form = form ) On May

[web2py] Re: display a stored .jpg during a record list or update

2010-05-24 Thread NetAdmin
Whoa! SQLHTML? I didn't even know that existed! Thanks for the tip! On May 24, 3:37 pm, mdipierro wrote: > If you are looking for a preview of the uploaded images when editing a > record you can to do > > form = SQLHTML(,upload=URL(r=request,f='download')) > > On May 24, 10:52 am, NetAdmi

[web2py] Re: URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread mdipierro
Let me add a comment this is one of the reasons for the association described here http://groups.google.com/group/web2py/browse_thread/thread/7c61c52feb140e77/091e0170016fa394#091e0170016fa394 Some tools like T3 are not supported so you are on your own (although other people and I will help an

[web2py] Re: URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread mdipierro
On top of the modules/t2.py try add import uuid On May 24, 3:41 pm, GoldenTiger wrote: > I have read the old thread titled: " t3 strange error on 1.71.0 " > and i couldnt solve it > > I was contracted to coding a website in a short time, and then I > discovered web2py > Last 2 weeks I have been

[web2py] URGENT help Needed !!! Register at T3 fails me in an urgent paid job for a website!

2010-05-24 Thread GoldenTiger
I have read the old thread titled: " t3 strange error on 1.71.0 " and i couldnt solve it I was contracted to coding a website in a short time, and then I discovered web2py Last 2 weeks I have been reading web2py info alot of hours a day, Now I am desperate!! Description or the problem: 1- I have

[web2py] Re: custom auth_user with avatar image, session cannot pickle

2010-05-24 Thread mdipierro
May be a bug. I will check. Massimo On May 24, 11:41 am, selecta wrote: > I am trying to customize auth with > > auth_table = db.define_table( auth.settings.table_user_name, >         Field('first_name', length=128, default='',requires = > IS_NOT_EMPTY(error_message=auth.messages.is_empty)), >

[web2py] Re: display a stored .jpg during a record list or update

2010-05-24 Thread mdipierro
If you are looking for a preview of the uploaded images when editing a record you can to do form = SQLHTML(,upload=URL(r=request,f='download')) On May 24, 10:52 am, NetAdmin wrote: > I'm a bit confused. > > During an edit or listing of all books, > how can I display the .jpg file that is > s

[web2py] Re: validation in forms, DAL and Database

2010-05-24 Thread mdipierro
The only problem is see is Field('auth_user_id', unique=True, default = auth.user.id), should be Field('auth_user_id', unique=True, default =auth.user_id # requires=IS_NOT_IN_DB(db,'vendedor.auth_user_id')), form can only manipuate errors from form validation, not database errors.

[web2py] Re: Custom registration form -- password_two

2010-05-24 Thread mdipierro
No becasue the object INPUT(_type='password',name='password_two',_id='password_two'), is not in the form object and therefore not processed by accept. Moreover in your code I do not see the validation logic for password too so I do not know where the error is. My advice is use a SQLFORM.facto

[web2py] Re: Ajax style calls blocking

2010-05-24 Thread mdipierro
There are two possible causes for locking. session locking. You can unlock them with session._unlock(response) sqlite locking. Nothing you can do other than not using sqlite. On May 24, 8:16 am, Candid wrote: > I might be completely wrong, but I think the problem is that web2py > locks the sess

[web2py] Re: parsehtml

2010-05-24 Thread mdipierro
Good suggestion. Now you can do >>> from gluon.html import web2pyHTMLParser >>> tree = web2pyHTMLParser('helloworld').tree >>> tree.element(_a='b') ['_c']=5 >>> str(tree) 'helloworld' works great! On May 24, 5:11 am, Iceberg wrote: > I did not try but I assume the builtin

[web2py] Re: html unescape - if anyone needs it

2010-05-24 Thread mdipierro
I liked your suggestion and I used it to make gluon.html.web2pyHTMLParser, take a look and let me know what you think. On May 23, 2:20 pm, RobertVa wrote: > I did. > > It has xmlescape function, but reverse function (unescape) is not > defined. > > On 23 maj, 20:59, Yarko Tymciurak wrote: > > >

[web2py] Re: Custom registration form -- password_two

2010-05-24 Thread b00m_chef
I tried doing that you are trying to do and I never got it to work. I just ended up copying the code from the AUTH.register() method that update the session and DB, and putting it in my controller. So I basically re-built my own AUTH.register() method, as the existing one is very limited in terms o

[web2py] Re: crud problem

2010-05-24 Thread mdipierro
You can try replace if not response.init_flash: response.init_flash='Insert tagline' with response.init_flash='Insert tagline' On May 24, 3:46 am, annet wrote: > Massimo, > > Thanks for pointing me in the right direction, I had to add the next > argument to the crud.update() function to get

[web2py] Re: before_filter / after_filter / around_filter in web2py

2010-05-24 Thread mdipierro
web2py defines response._caller = lambda f: f() this function is in charge of calling the action. You can redefine it in the controller or models def mycaller(f): # before calling action r=f() # after calling action but before calling view if isinstance(r,dict):

[web2py] Re: before_filter / after_filter / around_filter in web2py

2010-05-24 Thread Yarko Tymciurak
On May 24, 8:22 am, Tex wrote: > Hi, > > sorry for my poor english... > > I'm wondering how can I put controller code filters like rails > (before_filter / after_filter / around_filter). > > Searching into user group posts I see many responses on activerecord > callbacks (before_save / after_save

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread GoldenTiger
Of course, I discovered web2py 1 month ago , and I feel as when I discovered python, thanks to web2py I'm more excited than ever in my life, and I know this is all the framework I want. Now I'd like creating all the ideas that I was always dreaming ^^ I think some day everybody will use web2py and

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread greenpoise
Oops, dual licensing was retracted. It had dual licensing not anymore. My bad. I have been using blender for a long time and really never checked back again on that one. dan On May 24, 11:40 am, Jason Brower wrote: > I certainly didn't know about a commercial licence for Blender.  Could > you s

[web2py] Re: Problem with inserting a text in a database field

2010-05-24 Thread Berti
Thanks, but db.commit() didnt help.

[web2py] crud question on multiple form layout

2010-05-24 Thread annet
I have the following layout: .header. .1. .2. .3. .footer. I my database header, .1, .2 , .3 and footer are fields of type text and in web2py_ajax.html I enabled tinyMCE on textareas. I would like to make an

[web2py] custom auth_user with avatar image, session cannot pickle

2010-05-24 Thread selecta
I am trying to customize auth with auth_table = db.define_table( auth.settings.table_user_name, Field('first_name', length=128, default='',requires = IS_NOT_EMPTY(error_message=auth.messages.is_empty)), Field('last_name', length=128, default='',requires = IS_NOT_EMPTY(error_message

[web2py] Re: Sanitizer and strip()

2010-05-24 Thread mdipierro
I will take a patch to XML and sanitize that does this On May 24, 10:42 am, howesc wrote: > Hello, > > I have a spot on my site where i want a user to be able to input HTML > formatted text, with limitations to accepted tags.  I would also like > to use a WYSIWYG editor.  The trouble that I'm hav

[web2py] display a stored .jpg during a record list or update

2010-05-24 Thread NetAdmin
I'm a bit confused. During an edit or listing of all books, how can I display the .jpg file that is stored in the field named coverblob ? I can only see the blob field contents when using appadmin. Thanks! == db.py == db.define_table( 'tbbooks' , SQLField('

Re: [web2py] Re: monetize web2py anybody?

2010-05-24 Thread Jason Brower
I certainly didn't know about a commercial licence for Blender. Could you show me the link to that? Best Regards, Jason Brower On Mon, 2010-05-24 at 08:06 -0700, greenpoise wrote: > by the way, I was referring to the idea of: "To have a [level] > Certificate, your campany needs fill some > criter

[web2py] Sanitizer and strip()

2010-05-24 Thread howesc
Hello, I have a spot on my site where i want a user to be able to input HTML formatted text, with limitations to accepted tags. I would also like to use a WYSIWYG editor. The trouble that I'm having is that users like to write the stuff in Microsoft Word and paste it into the editor. When that

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread greenpoise
by the way, I was referring to the idea of: "To have a [level] Certificate, your campany needs fill some criterias... ". Also, have you ever seen blender.org? They have good ideas themselves. One for example is to pay certain amount ($200) if not mistaken if you use blender for commercial purposes

[web2py] before_filter / after_filter / around_filter in web2py

2010-05-24 Thread Tex
Hi, sorry for my poor english... I'm wondering how can I put controller code filters like rails (before_filter / after_filter / around_filter). Searching into user group posts I see many responses on activerecord callbacks (before_save / after_save) wrongly referred to question on before/after/a

[web2py] validation in forms, DAL and Database

2010-05-24 Thread puercoespin
In a db.py: db.define_table('vendedor', Field('auth_user_id', unique=True, default = auth.user.id), Field('direccion'), Field('provincia'), Field('coordenadas_gps'), Field('email', requires=IS_EMPTY_OR(IS_EMAIL()), de

[web2py] Re: Custom registration form -- password_two

2010-05-24 Thread weheh
OK, this is still open. Sorry for the confusion. If passwords don't agree, I don't get any error message.

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread greenpoise
I think that rather than discriminating and hence giving competitive advantage to one company over another would defy the purpose of it all! I dont know what a good admission system would be like but I am all up for a filter type rather than giving some competitive advantage to ones more than other

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread Leandro - ProfessionalIT
Massimo, Despite being a product and not a tool, the business plan of OpenERP is very interesting. I think that "Regional/Country Departments" of the Association can provide more global visibility to Web2Py. IMHO, a business plan to this association can have a "certification program" with t

[web2py] Re: Ajax style calls blocking

2010-05-24 Thread Candid
I might be completely wrong, but I think the problem is that web2py locks the session file while executing controller's actions, so two simultaneous requests within the same session are processed one by one sequentially. On May 24, 8:37 am, eddie wrote: > I have found this recent thread: > > http

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread greenpoise
Count me in. Dan On May 24, 7:39 am, Albert Abril wrote: > I am interested too. > Still learning daily a bit more. > I'm planning to do a dental clinic management, but had a lot of work to do. > > Regards. > > On Mon, May 24, 2010 at 1:31 PM, Richard wrote: > > I am interested, and glad you br

[web2py] Re: Ajax style calls blocking

2010-05-24 Thread eddie
I have found this recent thread: http://groups.google.com/group/web2py/browse_thread/thread/80941011f6407703/5047c1417c35b125#5047c1417c35b125 But I'm still not entirely sure what the net result is for multiple controller calls, via ajax or otherwise. What exactly does the -n option allow in ter

Re: [web2py] Re: monetize web2py anybody?

2010-05-24 Thread Albert Abril
I am interested too. Still learning daily a bit more. I'm planning to do a dental clinic management, but had a lot of work to do. Regards. On Mon, May 24, 2010 at 1:31 PM, Richard wrote: > I am interested, and glad you brought this up again: > http://groups.google.com/group/web2py/browse_thread

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread Richard
I am interested, and glad you brought this up again: http://groups.google.com/group/web2py/browse_thread/thread/226863714adbb7cb On May 24, 9:18 am, mdipierro wrote: > I have some problems: > > 1) people ask me to contribute to more projects that I can handle. > 2) I am good at kicking off a pr

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread blackthorne
Eventually, I intend to open my small business and I'm not that confident that I will ever get enough market by exclusively working on IT security, my area. I don't neglect the possibility of including web development not only as a way (become web is, for me, the most powerful interface) but also a

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread blackthorne
Eventually, I intend to open my small business and I'm not that confident that I will ever get enough market by exclusively working on IT security, my area. I don't neglect the possibility of including web development not only as a way (become web is, for me, the most powerful interface) but also a

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread blackthorne
On May 24, 12:18 am, mdipierro wrote: > I have some problems: > > 1) people ask me to contribute to more projects that I can handle. > 2) I am good at kicking off a project (20% of the work) but I am not > the best person to bring it to production (the other 80%) of the work. > 3) I want to delega

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread dbb
Massimo: First this is noble idea, we need a point man like you Massimo whom we describe the function and put the money we are willing to pay for the function at your disposal, you have a say whether the money is enough or not enough and clarity of the task before contacting the associate, then o

[web2py] Ajax style calls blocking

2010-05-24 Thread eddie
Hi guys, I'm looking for some help on allowing controller functions to respond to ajax calls from a view in parallel. I've got my head around the basic web2py architecture, but this is my first time trying out ajax in web2py. Here's the problem. I have a simple view that makes a number of ajax ca

[web2py] Re: parsehtml

2010-05-24 Thread Iceberg
I did not try but I assume the builtin python module HTMLParser already handle at least (1) tags like , not sure about (2) and (3). On May24, 4:32am, mdipierro wrote: > hmmm somehow I did not save comments in the file. > > This does not handle well: > > 1) tags like > 2) attributes that cont

[web2py] Re: auth.login problem - redirect on error

2010-05-24 Thread annet
Hi Arnaud, Why don't you use default/user/login and set auth.settings.login_next=URL(a='helloworld',c='admin',f='index'), in that case, when login fails there is no need to redirect. When you need a custom Invalid login message just set: auth.messages.invalid_login='your customized message' Kind

[web2py] Re: crud problem

2010-05-24 Thread annet
Massimo, Thanks for pointing me in the right direction, I had to add the next argument to the crud.update() function to get the check to delete work properly. There's one small problem to solve, when the user logs in the flash reads: Logged in. Whereas, I would like it to read 'Insert tagline' or

[web2py] auth.login problem - redirect on error

2010-05-24 Thread arnaud
Hi all, in my controller "site.py", i have this code for display a login form : def login() : return dict(form=auth.login(next=URL(a='helloworld',c='admin',f='index'))) When i try to login, if my login codes are correct, no problem. I am redirected to admin/index. But on error, I am redirect

[web2py] Re: monetize web2py anybody?

2010-05-24 Thread Adi
I'm in too. Is there any similar model working successfully? Might help us. On May 24, 10:08 am, weheh wrote: > @mdp: Consider me in. > > I agree with the toolset. I am moving from YUI to jQuery and the move > has gone well. I still use YUI to reset the grid. > > I've already worked with a chosen

[web2py] imageshow

2010-05-24 Thread mdipierro
I was trying to convert a new potential customer on reddit so I made this: http://www.reddit.com/r/Python/comments/c7f0a/best_choice_for_this_application/c0qmtfm It may be useful to some of you. The galleria.js plugin is incomplete but works. Massimo