[web2py] FYI: css3 buttons outdated in web2py

2011-05-18 Thread danto
just for your information, the last update of this 'css framework' bundled in web2py from time ago was on march 19 and adds a few things http://css3buttons.michaelhenriksen.dk/

Re: [web2py] Re: Embedding web2py

2011-05-18 Thread danto
2011/5/18 JorgeRpo : > what about license issues or conflict > license would not be a problem if you also distribute the code of web2py and/or other free licensed code

Re: [web2py] recommendations for production system?

2011-05-18 Thread Bruno Rocha
I strongly recommend Linode http://bit.ly/linodelinode I am runnning a VPS (2048) on Linode and it is amazing, simple, fast and a helpful support. You can choose a DataCenter when creating a new Node, I read that is best to choose London - UK -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno

Re: [web2py] Re: GAE for Dummies

2011-05-18 Thread Gary Bee
Thanks for your reply, I have double checked the app.yaml and the app name matches exactly that of the application in web2py I will just check that the softlinks appear correct as per the slice(again) On 18/05/11 23:09, howesc wrote: i have never seen this error myself, but it seems like perh

Re: [web2py] Blitz.io: nifty load tester with a free tier

2011-05-18 Thread Bruno Rocha
http://isitrails.com/ On Thu, May 19, 2011 at 1:34 AM, Bruno Rocha wrote: > Nice tool. > > I saw in my tests some headers with: X-Powered-By: ASP.NET - X-Powered-By: > Zend - X-Powered-By: Zope > why sont we have a header like that? X-Powered-By: web2py > > So it will be easy to create a www.i

Re: [web2py] Blitz.io: nifty load tester with a free tier

2011-05-18 Thread Bruno Rocha
Nice tool. I saw in my tests some headers with: X-Powered-By: ASP.NET - X-Powered-By: Zend - X-Powered-By: Zope why sont we have a header like that? X-Powered-By: web2py So it will be easy to create a www.isitweb2py.com service -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] On Thu,

[web2py] Blitz.io: nifty load tester with a free tier

2011-05-18 Thread pbreit
I just found this neat little load testing service that has a decent free tier: http://blitz.io/gclFk7822pd0W Disclaimer: the invite link gets me additional testing capacity. But I do think the service would be of interest to this group.

[web2py] Re: Embedding web2py

2011-05-18 Thread JorgeRpo
what about license issues or conflict

[web2py] Need an experienced dev for project

2011-05-18 Thread skwasha
I have a project I've been working on. I managed to get a working prototype going in web2py myself. But I'm not quite proficient enough to really take it to the next stage - i.e., something a lot more streamlined, professionally coded and ready to deploy. It's not too terribly complicated. I imagi

[web2py] Re: recommendations for production system?

2011-05-18 Thread niknok
It's nice to see feedback from real users of these hosts. Could you please add how much traffic you got with those plans you have? On May 18, 6:54 am, Carlos wrote: > Hi all, > > In order to prepare my web2py production system, I would really welcome all > your advice. > > I will get one node fro

Re: [web2py] Re: Install in hostgator

2011-05-18 Thread Brian M
Yep it'll work similar on hostgator - tried it out a few months back just to see if I could get it working, haven't actually deployed anything useful but it appears to run ok. I recall that an appropriate version of Python & flup were already installed on my hostgator shared box. I did my insta

[web2py] Re: vps hosting: vps.net or linode?

2011-05-18 Thread villas
I have been very happy with vps.net and although have the odd minor problem now and again, I find them very responsive. The reason I like them in particular is that they offer Europe and USA services and the former is good for us. I believe web2py.com runs on vps.net and Massimo also said he was

[web2py] Re: How to pass image into new SQLFORM

2011-05-18 Thread pbreit
I ended up bypassing the built-in functionality and instead: 1) when copying pass an image to view 2) in view, if an image field is passed, display it (the form is customized) 3) in form.accepts, if copying another record, do a record.update_record(image = ref.image) I currently don't have a way

[web2py] How to pass image into new SQLFORM

2011-05-18 Thread pbreit
I am trying to program the ability to create a new record that defaults to a copy of an existing record. The records include an image that I would also like to use but can't seem to figure out how to pass it in to the SQLFORM. For editing records, I do this which works fine: form = SQLFORM(db.it

Re: [web2py] apresentacao

2011-05-18 Thread Bruno Rocha
Seja bem-vindo ao grupo, qualquer dúvida é só falar Abraço -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] 2011/5/18 Thiago Abreu > Fala ai galera, > sou novo na lista e web2py e pretendo estudar pelo grubo > > > > -- > Um Abraço, > Thiago Abreu >

[web2py] Re: Logging of user actions

2011-05-18 Thread pbreit
Not sure exactly what you need but, yes, I think it's kind of rare. Maybe this will work for you: by default, Web2py creates an auth_event table and automatically records a bunch of actions like register, login, etc. You can add your own actions with this one-liner: auth.log_event(description='t

[web2py] Static file caching problem?

2011-05-18 Thread ron_m
Host is Ubuntu 10.04, web2py is 1.95.1 I use Firefox 3.6.17 from the Ubuntu distribution Added the Firebug plugin. Running on the rocket built in server port 8000 if I enable the Net tab of Firebug Clicking around on the application buttons all the static CSS and Javascript resources such as jQ

Re: [web2py] Re: vps hosting: vps.net or linode?

2011-05-18 Thread Vasile Ermicioi
I suggest you to try webfaction

[web2py] Re: Logging of user actions

2011-05-18 Thread Joseph.Piron
Has noone ever had this king of need ?? On May 17, 11:59 pm, "Joseph.Piron" wrote: > Hi all, > > I was wondering what would be the best way to log actions with the > username of the logger user. > I found several leads but none very conclusive. > > For example, define a filter in my model: > > im

[web2py] Re: MSSQL to CSV

2011-05-18 Thread DenesL
On May 18, 5:02 pm, Massimo Di Pierro wrote: > db.define_table('yourtable',Field(...),,migrate=True,fake_migrate=True) why not just ...,migrate=False) ? what does that combo provide?

[web2py] Re: GAE caching

2011-05-18 Thread howesc
actually i would recommend that this be removed from web2py. Ikai Lan (app engine system developer at google) says they can detect those dummy requests and punish apps that do that (was chatting with him at a conference last fall). i would instead pay the modest $9 a month for "always on". or

[web2py] apresentacao

2011-05-18 Thread Thiago Abreu
Fala ai galera, sou novo na lista e web2py e pretendo estudar pelo grubo -- Um Abraço, Thiago Abreu

[web2py] Re: GAE for Dummies

2011-05-18 Thread howesc
i have never seen this error myself, but it seems like perhaps a type in your app.yaml file?

[web2py] Re: vps hosting: vps.net or linode?

2011-05-18 Thread pbreit
Invariably, everyone seems to have a problem with their hosting provider at some point. Heck, even Amazon went down for over a day recently! I don't have experience hosting on Linode but I can say that their knowledge base is by far the best which I think speaks very well for them. And from what

[web2py] Re: MSSQL to CSV

2011-05-18 Thread mart
ok, got it! thanks again :) On May 18, 5:02 pm, Massimo Di Pierro wrote: > ERRATA: > > > > > > > > > db=DAL('mssql://...') > > db.define_table('yourtable',Field(...),,migrate=True,fake_migrate=True) > > print str(db(db.yourtable).select()) # outputs the CSV

[web2py] vps hosting: vps.net or linode?

2011-05-18 Thread Carlos
Hi, What do you recommend for vps hosting?. I was pretty sure going with vps.net, but there have been several bad experiences out there that make me nervous. For reference: http://thepcspy.com/read/why-i-cant-recommend-vpsnet/ I am now undecided: which is better vps?, vps.net or linode?. h

[web2py] Re: Web2py Feature or terminology?

2011-05-18 Thread Anthony
There's also the change log: http://www.web2py.com/examples/default/changelog On Wednesday, May 18, 2011 4:44:57 PM UTC-4, Massimo Di Pierro wrote: > Perhaps this helps: > http://code.google.com/p/web2py/source/list > > we do not have a features page other than the main index page. > > On M

[web2py] Re: Changing columns for TEXTAREA

2011-05-18 Thread JayShaffstall
On May 18, 12:43 pm, Ross Peoples wrote: > Have you checked the base.css file for textarea references? Yes, there is a reference to the width of a textarea in base.css. However, removing that reference or changing the width there doesn't change how wide the textarea appears. But I'd just recalle

[web2py] Re: Post Data Obfuscation

2011-05-18 Thread Richard G
I agree with majority of sentiments above. I would like to point out that I disagree with the statement: "On another note, the only way obfuscate the data, would be to have an encryption implementation in JavaScript, and a matching version in Python to transmit the data over the wire. In this ca

[web2py] Re: MSSQL to CSV

2011-05-18 Thread Massimo Di Pierro
ERRATA: > db=DAL('mssql://...') > db.define_table('yourtable',Field(...),,migrate=True,fake_migrate=True) > print str(db(db.yourtable).select()) # outputs the CSV

[web2py] Re: MSSQL to CSV

2011-05-18 Thread mart
ok, that's sounds like a good idea (btw - dal is worth gold!) Thanks for the help Massimo! :) On May 18, 4:43 pm, Massimo Di Pierro wrote: > If you know the mssql table structure, you can create a quick web2py > model: > > db=DAL('mssql://...') > db.define_table('yourtable',Field(...),) > pr

[web2py] Re: Web2py Feature or terminology?

2011-05-18 Thread Massimo Di Pierro
Perhaps this helps: http://code.google.com/p/web2py/source/list we do not have a features page other than the main index page. On May 18, 3:36 pm, greenpoise wrote: > Hi there. Is there an official features page? I am looking for a > feature that was added to web2py a few months ago (did not boo

[web2py] Re: MSSQL to CSV

2011-05-18 Thread Massimo Di Pierro
If you know the mssql table structure, you can create a quick web2py model: db=DAL('mssql://...') db.define_table('yourtable',Field(...),) print str(db(db.yourtable).select()) # outputs the CSV On May 18, 3:32 pm, mart wrote: > Hi, > > there's this MSSQL server running remotely, and I would

[web2py] Web2py Feature or terminology?

2011-05-18 Thread greenpoise
Hi there. Is there an official features page? I am looking for a feature that was added to web2py a few months ago (did not bookmark it!!!) but anyways, it was a feature that was common in ruby and was added to web2py. The example presented was of listing prices from other websites (I think it was

[web2py] MSSQL to CSV

2011-05-18 Thread mart
Hi, there's this MSSQL server running remotely, and I would like to access it with DAL. So I'm thinking, i should export to CSV then import using dal.py in something local (like SQLite). Here's the problem... I don't know how to dump the MSSQL tables to CSV :( This is a 2005 MS SQL install. Would

[web2py] Re: Embedding web2py

2011-05-18 Thread GoldenTiger
File web2py.exe created by py2exe is a simple example of an embedded web2py. On 18 mayo, 19:24, j2kvideo wrote: > Hi All, > > I was wondering if it would be possible to embed web2py within a C++ > application.  I have embedded python before in C/C++ applications to > run a script etc so I am ass

[web2py] Re: Post Data Obfuscation

2011-05-18 Thread Ross Peoples
I would also have to say that SSL is an industry standard, even by government and payment card processing standards. I have to keep a Ubuntu web server up to the latest PCI (payment card industry) tests since we process credit cards internally. The test runs quarterly and emails me a report of

Re: [web2py] Re: New Exception in Trunk.

2011-05-18 Thread David J.
Ross;Massimo; sometimes the most obvious solution is the best; I just updated again and restarted; seems to be ok; Not sure what the trouble was; seems like something was modified since last time I updated from trunk. AOK; Thanks for your help. David On 5/18/11 3:26 PM, Ross Peoples wrote

Re: [web2py] Re: New Exception in Trunk.

2011-05-18 Thread Ross Peoples
Did you subclass the Auth class or something? And more importantly, did you restart your web2py server after updating from trunk?

[web2py] GAE for Dummies

2011-05-18 Thread bee
Hello All, I have been trying to run the GAE appserver as descried in the book and in this slice: http://web2pyslices.com/main/slices/take_slice/126#end For some reason I cant get it to run.I am using Ubuntu 11.04 and have installed Python2.5. Here is the error I get: :/webdev/google_appengine$ p

Re: [web2py] Re: Error in SQLTABLE in pymysql

2011-05-18 Thread Vasile Ermicioi
I also use dal (outside web2py) with pymysql and have no problems, 100 000+ of products are updated daily with new data from ebay so I am interested to know if pymysql is buggy or not, and when this bug can appear

Re: [web2py] Embedding web2py

2011-05-18 Thread Jason Brower
That would have to depend at what level you need to do that integration. For example, starting web2py from your application is very easy, you can just run the script to start the server. When I have to integrate with something, I like to actually just create a communication layer between them.

Re: [web2py] Re: New Exception in Trunk.

2011-05-18 Thread David J.
Seems to complain about auth.define_tables() I have other table but I commented out. On 5/18/11 11:45 AM, Massimo Di Pierro wrote: what's in your db.py? On May 18, 9:50 am, "David J." wrote: More Info... S'Traceback (most recent call last):\n File "/apps/www/web2py.trunk/gluon/restricted

[web2py] Embedding web2py

2011-05-18 Thread j2kvideo
Hi All, I was wondering if it would be possible to embed web2py within a C++ application. I have embedded python before in C/C++ applications to run a script etc so I am assuming that there maybe a way to embed web2py in another C++ process. Thanks in advance, Andy

[web2py] Re: Using the web2py template system to create new file.

2011-05-18 Thread Christopher Steel
OK, I will answer my own question first... In your controller: import os def index(): context=dict(first_name='Bob is',last_name='your uncle') template = test_template_path = os.path.join(current_app,'static','template_test') test_content = response.render(templat

[web2py] Re: Post Data Obfuscation

2011-05-18 Thread mattgorecki
If we were on Reddit, I'd upvote this. I think anything more than SSL would just set you up for more problems in the future. On May 18, 11:19 am, pbreit wrote: > Https would be required but also sufficient. I've done lots of government > credit card processing and never heard of the need for f

[web2py] Re: Post Data Obfuscation

2011-05-18 Thread pbreit
Https would be required but also sufficient. I've done lots of government credit card processing and never heard of the need for further obfuscation.

[web2py] Re: Changing columns for TEXTAREA

2011-05-18 Thread Ross Peoples
Have you checked the base.css file for textarea references?

[web2py] Re: Post Data Obfuscation

2011-05-18 Thread luckysmack
Im proccessing credit card transactions where clients will be government entities (in the US). So I want to make it as secure as possible. Also, they talked about doing this over https as well as there are programs out there to get past the ssl. On May 18, 8:30 am, pbreit wrote: > Seems unnecessa

[web2py] Re: recommendations for production system?

2011-05-18 Thread glimmung
Hi Ross, Thanks for the links. I have seen mixed reports, certainly in the more distant past, but as I said my experience since Hardy (8.04) has been very good. On May 18, 5:03 pm, Ross Peoples wrote: > My own personal experience it with it a couple years was terrible. It > destroyed several sys

[web2py] Re: Export result set to PDF file

2011-05-18 Thread Anthony
I haven't tried it, bu there's a 'generic.pdf' view template. Looks like it takes the HTML inside the 'content' div of a rendered HTML template and converts it to markmin and then to PDF. So, maybe try: def export_PDF(): results=db().select() return dict(results=results) Then define

[web2py] Re: Help about the restful api

2011-05-18 Thread Tiago Moutinho
Hi, i answer it the other post. But my problem is in the client.

[web2py] Changing columns for TEXTAREA

2011-05-18 Thread Jay Shaffstall
I thought this might have gotten lost in the philosophical discussions about line breaks, so figured I'd post it as a separate thread: Using the advice given in a previous post, I'm doing this to try to change the rows and columns for a TEXTAREA: form=SQLFORM(db.contest,record=contest,sub

[web2py] Re: recommendations for production system?

2011-05-18 Thread Ross Peoples
This is the original source: https://help.ubuntu.com/community/WebMin and here's a bug report about it: https://answers.edge.launchpad.net/ubuntu/+question/2873 These two are a bit old now, so I don't know if things have changed, but merely mentioning the word webmin in the Ubuntu forums a cou

[web2py] Re: HELP IN DELETE AND PUSH METHODS USING RESTFUL API

2011-05-18 Thread Tiago Moutinho
I created this controller named api, as seen in you video. @request.restful() def place(): def GET(id): place = db.place(id) return place.as_dict() if place else None def POST(name, description): return db.place.validate_and_insert(name = name, description = descri

[web2py] Re: recommendations for production system?

2011-05-18 Thread villas
Hi Carlos >> I will follow your advice about picking a strong password and >> changing the default 22 port - would this be enough?. Well, is there ever enough security? All I can say is that it has been good enough for my modest security requirements. Oh, I think I also limited the ssh access t

[web2py] Re: recommendations for production system?

2011-05-18 Thread pbreit
Sounds like you are going in the right direction. That Nginx setup scripts looks OK at a glance. If you are already using version control, I would suggest avoiding editing files directly on your server. Instead, edit locally, push to Bitbucket and then pull from your server. It sounds tedious b

[web2py] Re: Error in SQLTABLE in pymysql

2011-05-18 Thread Massimo Di Pierro
import mysqldb from dal import MySQLAdapter MySQLAdapter.driver = mysqldb On May 18, 7:51 am, SergeyPo wrote: > Vasile, > > I am using Python 2.5 on Windows XP, > MySQL mysql  Ver 14.14 Distrib 5.1.32, for Win32 (ia32) > InnoDB engine, UTF-8 encoding > > I have large database with lots of data, h

[web2py] Re: New Exception in Trunk.

2011-05-18 Thread Massimo Di Pierro
what's in your db.py? On May 18, 9:50 am, "David J." wrote: > More Info... > > S'Traceback (most recent call last):\n  File > "/apps/www/web2py.trunk/gluon/restricted.py", line 184, in > restricted\n    exec ccode in environment\n  File > "/apps/www/web2py.trunk/applications/app/models/db.py", li

[web2py] Re: with_alias with where clause

2011-05-18 Thread Massimo Di Pierro
alias work only with left outer joins only. On May 18, 9:40 am, Rohan wrote: > web2py: Version 1.92.1 (2011-02-16 15:04:40) > > with_alias fails to work when where clause is specified. It works fine when > documented example is run > > >>> db()._select(db.person.name, Father.name, Mother.name, >

[web2py] Re: HELP IN DELETE AND PUSH METHODS USING RESTFUL API

2011-05-18 Thread Massimo Di Pierro
Please show us what you have so far On May 18, 7:33 am, Tiago Moutinho wrote: > Hi, > > I need some help about the delete and push methods using restful api. > I made POST method work using urllib2, but i can not find anything on the > web about DELETE AND PUSH > > Please help > > Thks in advance

[web2py] Export result set to PDF file

2011-05-18 Thread Neveen Adel
Hello, How can i export a result set to PDF file? e.g.: def export_PDF() results = db().select() return pdf_file Thanks in Advance

[web2py] Re: Help about the restful api

2011-05-18 Thread Massimo Di Pierro
Is the problem how to build the client or the server? On May 18, 7:02 am, Tiago Moutinho wrote: > I just make POST method work with an script, but i still have some > doubts about PUSH, and DELETE. > > def testing(): > >     import urllib >     import urllib2 >     params = { >         'name': re

[web2py] Re: little bug ldap_auth

2011-05-18 Thread Massimo Di Pierro
the fix is in trunk On May 18, 5:29 am, José Luis Redrejo wrote: > If works for me too. > (tested against servers running OpenLdap over Debian Squeeze and Debian Lenny) > Regards. > > 2011/5/17 Joseph.Piron : > > > > > > > > > Yes it works (MS2003 AD server). > > > On May 17, 3:54 pm, Massimo Di

[web2py] Re: Post Data Obfuscation

2011-05-18 Thread pbreit
Seems unnecessary. Is there a specific reason you need this level of protection?

[web2py] Re: App blog as subdomain of another app

2011-05-18 Thread pbreit
Don't for get to restart web2py between edits to your routes file.

[web2py] Re: App blog as subdomain of another app

2011-05-18 Thread pbreit
For one, that regex doesn't look right since there is no . in the front of blog.test.com Also, you should be able to do it with domains like this: domains = { "blog.domain.com" : "blog"}, More info: http://code.google.com/p/web2py/source/browse/router.example.py

[web2py] Re: Class-based controllers and prefixes in wizard

2011-05-18 Thread Dmitriy
Thanks Bruno, this is an interesting optimisation! On May 15, 9:16 pm, Bruno Rocha wrote: > in your controllers you will just need to instantiate your classes and work > with inheritance, But I need to have some basic controller class. It must expose methods as callable URLs. Do you have any id

[web2py] Re: New Exception in Trunk.

2011-05-18 Thread David J.
More Info... S'Traceback (most recent call last):\n File "/apps/www/web2py.trunk/gluon/restricted.py", line 184, in restricted\nexec ccode in environment\n File "/apps/www/web2py.trunk/applications/app/models/db.py", line 92, in \nauth.define_tables() # cre

[web2py] New Exception in Trunk.

2011-05-18 Thread David J.
I just upgraded my trunk; I get this exception S"('define_table argument is not a Field or Table: .first_name',)" Any ideas?

[web2py] App blog as subdomain of another app

2011-05-18 Thread Tiago Moutinho
Hello, How can I change this http://www.test.com/blog to this blog.test.com ?? I know that ia have to change in routes.py but i do not know how. i tried this in routes.py: (r'.*blog.test.com*', r'http://www.test.com/blog'), but it still does not work. Many thaks in advance.

[web2py] Re: recommendations for production system?

2011-05-18 Thread Carlos
Hi, Thank you all for your comments and recommendations. Based on your feedback, I'm leaning towards using Nginx (instead of Apache) for all static and dynamic content. One question: is the following script up-to-date with everything I need to setup web2py with nginx?: http://web2py.googl

[web2py] with_alias with where clause

2011-05-18 Thread Rohan
web2py: Version 1.92.1 (2011-02-16 15:04:40) with_alias fails to work when where clause is specified. It works fine when documented example is run >>> db()._select(db.person.name, Father.name, Mother.name, left=(Father.on(Father.id==db.person.father_id), Mother.on(Mother.id==db.person.mother_

[web2py] Re: recommendations for production system?

2011-05-18 Thread glimmung
Hi Ross, On May 18, 11:59 am, Ross Peoples wrote: > On a quick side note, you are not supposed to use Webmin with Ubuntu. It is > mentioned in several places that it breaks Debian-based systems. Ubutnu has > been pushing eBox (now Zentyal) which is more for setting up a small > business infrastru

[web2py] Re: Error in SQLTABLE in pymysql

2011-05-18 Thread SergeyPo
Vasile, I am using Python 2.5 on Windows XP, MySQL mysql Ver 14.14 Distrib 5.1.32, for Win32 (ia32) InnoDB engine, UTF-8 encoding I have large database with lots of data, hard to reproduce here. Application works fine on web2py version 1.86.2 and works with many small errors in web2py 1.95, abou

[web2py] HELP IN DELETE AND PUSH METHODS USING RESTFUL API

2011-05-18 Thread Tiago Moutinho
Hi, I need some help about the delete and push methods using restful api. I made POST method work using urllib2, but i can not find anything on the web about DELETE AND PUSH Please help Thks in advance

[web2py] Re: Help about the restful api

2011-05-18 Thread Tiago Moutinho
I just make POST method work with an script, but i still have some doubts about PUSH, and DELETE. def testing(): import urllib import urllib2 params = { 'name': request.args(0), 'birth': request.args(1) } http_response = urllib2.urlopen('http://localhost/post/p

[web2py] Re: recommendations for production system?

2011-05-18 Thread Ross Peoples
On a quick side note, you are not supposed to use Webmin with Ubuntu. It is mentioned in several places that it breaks Debian-based systems. Ubutnu has been pushing eBox (now Zentyal) which is more for setting up a small business infrastructure than managing a web server. As is mentioned, manag

[web2py] Re: recommendations for production system?

2011-05-18 Thread villas
I use vps.net with apache and firebird DB, but when the server was under higher loads it used to easily jam and require reboot. I now do this: 1 node: Firebird DB server 2 nodes: Apache It is no longer a 'cheap' set-up, but it is the most reliable we ever had and I can effectively run as many d

Re: [web2py] Post Data Obfuscation

2011-05-18 Thread José Luis Redrejo
2011/5/18 luckysmack : > I recently listened to a podcast from a HOPE conference last year, and > the podcast talked about post data obfuscation. Where when the post > data is submitted it is obfuscated by javascript and a false copy is > passed through POST and a real copy is sent to the server. i

Re: [web2py] Re: little bug ldap_auth

2011-05-18 Thread José Luis Redrejo
If works for me too. (tested against servers running OpenLdap over Debian Squeeze and Debian Lenny) Regards. 2011/5/17 Joseph.Piron : > Yes it works (MS2003 AD server). > > On May 17, 3:54 pm, Massimo Di Pierro > wrote: >> It is possible that some system are more picky than others >> does it work

Re: [web2py] Re: New importer in trunk

2011-05-18 Thread Martín Mulone
Use it like a helper. in a module I have: (this fail because LOAD is not passed in current and loadfactory need enviroment) def renderimages(self, page=1, postid=0):curvars = {} curvars['page']=pagecurvars['postid']=postid return LOAD('plug

[web2py] Help about the restful api

2011-05-18 Thread Tiago Moutinho
Hi, I have some difficulties on using @resquest.restful(). I want to do some experiments using GET, POST, PUSH and DELETE, but i can not make it work. Only GET works for me. How can i do for example a def POST(name): ?? I did this: def POST(name): return db.blog.validate_and_insert(name =