Re: [web2py] Can we commit the codes from web2py to Git

2018-09-03 Thread vivek vijayan
Hello expert, Little confused here. ”just a suggestion better to maintain your web2py app in your repo, not the web2py itself, except you want fix some bug or add some feature in web2py, but again better to separate it" So you are suggesting to put each the web2py application in my svn repo? So

Re: [web2py] Can we commit the codes from web2py to Git

2018-09-03 Thread vivek vijayan
Hello expert, As we already have svn, can we commit the code that we changed from web2py framework to svn repo from there I can initiate a Jenkins job trigger to deploy the change to web2py server under that application path On Mon, Sep 3, 2018, 4:46 PM Tom Campbell wrote: > Yes it works fine

[web2py] Webhosts for Web2py

2013-08-28 Thread Vivek Jha
I am new in web development and I have started with web2py and have almost copleted reading the web2py book. Now few practical issues are coming up about which I don't have any experience and that is chosing the right economical webhost. I think following suits my pocket: 1. Bluehost 2.

[web2py] Process POST data from cross domain using xdr for ie

2013-02-05 Thread vivek
, Vivek -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

[web2py] request.post_vars EMPTY

2012-12-29 Thread vivek
Hi i been using angularjs to develop my front end . I am using http.post to send data to web2py. The POST tab under firebug shows a valid JSON being posted. Now in my controller I believe my request.post_vars is empty. I tried using simplejson.loads , but it throws me an error expected string

[web2py] Re: request.post_vars EMPTY

2012-12-29 Thread vivek
/form-data) you have the json directly in response.body . request.post_vars is filled only if data comes encoded. On Saturday, December 29, 2012 1:28:23 PM UTC+1, vivek wrote: Hi i been using angularjs to develop my front end . I am using http.post to send data to web2py. The POST tab under

[web2py] Re: request.post_vars EMPTY

2012-12-29 Thread vivek
Ok got it ! I just had to go through the Angular APi documentation to figure out how to assign encoding. Ty ones again --

[web2py] SQLFORM.grid + Linked page with SQLFORM.grid

2012-11-20 Thread vivek
be the correct URL in the case above. How can I correct the above error ? . Is there a way to remove the argument in the URL? which is what I think is ideal if , not is there a way to get the 2nd grid to recognize the URL that needs to be used Thanks a lot Vivek --

[web2py] SQLFORM.grid in LOAD

2012-11-20 Thread vivek
https://lh4.googleusercontent.com/-Wk4LfMakiVg/UKt_Z_gNxFI/ABc/UxjmHhF-t1A/s1600/nestedloads.jpg Hi , I have a grid as a LOAD component , everything works fine , except for delete. If i was to click on delete , and then cancel it (delete button in grid) , the URL is reloaded

Re: [web2py] SQLFORM.grid + Linked page with SQLFORM.grid

2012-11-20 Thread vivek
Hi, Nope that didnt work, the result is the same On Tuesday, November 20, 2012 6:10:25 PM UTC+4, Johann Spies wrote: On 20 November 2012 13:05, vivek vi...@digambernath.org javascript:wrote: Hi , I have a grid , with links to pages which has another grid. constraints

[web2py] SQLFORM.smartgrid and constraint

2012-11-20 Thread vivek
= lambda query: (db.quote.accmanager == auth .user_id) | (auth.user_id == 10) | (auth.user_id == 5) Thanking all Vivek --

[web2py] Re: SQLFORM.smartgrid and constraint

2012-11-20 Thread vivek
Nope that doesn't help. On Tuesday, November 20, 2012 9:46:10 PM UTC+4, Jim S wrote: Try changing: constraints = {'db.quote':q_comm} to: constraints = {'quote':q_comm} Does that help? -Jim On Tuesday, November 20, 2012 9:06:15 AM UTC-6, vivek wrote: Hi , I been using

[web2py] Re: SQLFORM.smartgrid and constraint

2012-11-20 Thread vivek
No I am wrong it works! Thank you so much! On Tuesday, November 20, 2012 10:10:03 PM UTC+4, vivek wrote: Nope that doesn't help. On Tuesday, November 20, 2012 9:46:10 PM UTC+4, Jim S wrote: Try changing: constraints = {'db.quote':q_comm} to: constraints = {'quote':q_comm} Does

[web2py] Re: smartgrid + oncreate not working

2012-11-19 Thread vivek
Hi , Did you find a workaround for this? On Thursday, March 1, 2012 9:53:50 PM UTC+4, Tito Garrido wrote: Hi Folks, I am trying to execute the function adicionar_estoque after I create a new entrada_produto entry... am I doing anything wrong? Nothing is happening even when I put a

[web2py] Jquery function not triggered for fields in LOAD component

2012-11-16 Thread vivek
. But now these functions arent being triggered. I tried placing these scripts in the qindex.load ( this is the load view in my case) but it doesnt work All help is much appreciated Thank you Vivek --

Re: [web2py] Re: SQLFORM.smartgrid oncreate,ondelete not firing

2012-11-07 Thread vivek
table just had a creation and do different actions based on that. On Monday, November 5, 2012 11:41:17 PM UTC-8, vivek wrote: Hi , So in this case how do I make sure it fires only when a new record is created for the child table in this case quotelines . Suppose if I have 2

Re: [web2py] Re: SQLFORM.smartgrid oncreate,ondelete not firing

2012-11-05 Thread vivek
Hi , So in this case how do I make sure it fires only when a new record is created for the child table in this case quotelines . Suppose if I have 2 different functions to be fired for the parent - oncreate and child - oncreate? Regards, Vivek On Monday, October 29, 2012 11:39:08

[web2py] SQLFORM.smartgrid oncreate,ondelete not firing

2012-10-28 Thread vivek
Hi, @auth.requires_login() def index(): response.view = 'Final/pricelist.html' form = SQLFORM.smartgrid(db.sourcelist,linked_tables=['itemowner'], deletable=dict(sourcelist=False,itemowner=True), editable=dict(sourcelist= False,itemowner=True),

Re: [web2py] Re: SQLFORM.smartgrid oncreate,ondelete not firing

2012-10-28 Thread Vivek Digambernath
So how would the new code be? I am a newbie a bit of direction needed! On Sun, Oct 28, 2012 at 5:39 PM, Niphlod niph...@gmail.com wrote: oncreate, ondelete, onupdate are callbacks to functions, not dicts On Sunday, October 28, 2012 12:26:39 PM UTC+1, vivek wrote: Hi

[web2py] themeing SQLFORM , SQLFORM.grid etc

2012-10-13 Thread vivek
Hi , I recently got myself a bootstrap extended frontend layout from theme forest. I want to be able to use those elements with things like SQLFORM grid in web2py. Please advice. Thanking you, Regards, Vivek --

[web2py] Session Variable lost when loading view with response.view

2012-10-09 Thread vivek
Hi everyone, In the code below , am trying to saving a variable which is received from the URL and is trying to use the same to service an ajax call via send_lead . I been failing in this , but noticed that I was to remove response.view then it works

[web2py] Re: Session Variable lost when loading view with response.view

2012-10-09 Thread vivek
=true)}} or {{=SQLFORM.grid()}}? Which web2py version? Can you try the latest trunk or nightly build? On Tuesday, 9 October 2012 07:10:04 UTC-5, vivek wrote: Hi everyone, In the code below , am trying to saving a variable which is received from

[web2py] Re: Session Variable lost when loading view with response.view

2012-10-09 Thread vivek
ok thanks I will do so. On Tuesday, October 9, 2012 7:53:50 PM UTC+4, Massimo Di Pierro wrote: I think I know the problem and this is fixed in trunk and nightly build. Please confirm it. On Tuesday, 9 October 2012 09:15:45 UTC-5, vivek wrote: Version : 2.0.9 (2012-09-13 23:51:30) stable

[web2py] Re: Help with datatable initialization with server side processing

2012-09-25 Thread vivek
Hi , Yes I have checked the web2py book , am not sure if I missed it but didnt come across the same. Btw if you mis understood am talking about the Jquery plugin datatable. Regards, Vivek On Tuesday, September 25, 2012 7:44:36 AM UTC+4, Vineet wrote: Have you gone through web2py docs

[web2py] Help with datatable initialization with server side processing

2012-09-24 Thread vivek
Hi , I am a newbie and a sample view and controller with regard to the same will help me really kick start. Else anything really helps Thanking you, Vivek --

[web2py] SPARQL,semantic web

2010-09-29 Thread b vivek
Have been reading a bit about semantic web off late and it sounds quite promising Are there plans to extend our DAL to embrace SPARQL too,( well if it is possible).

Re: [web2py] problem about session

2010-09-29 Thread b vivek
If you are on GAE, couldn't sesions be stored in the memcache.That way you would never have the trouble of clearing anything. On Wed, Sep 29, 2010 at 2:17 PM, Jason Brower encomp...@gmail.com wrote: I think there is a way to save the sessions to a database. It's in the book if I am not

[web2py] Suggestion needed!

2010-09-28 Thread b vivek
I have spent the last few weeks with web2py and found it to be really good. In the process I have also built a small application for a client with it, which is supposed to be deployed sometime next week.Now I am planning to build something bigger, larger using web2py. Would it be good dig through

Re: [web2py] Re: Suggestion needed!

2010-09-28 Thread b vivek
: Not sure I understand. The code is there. You are encouraged to look at it. I do that with my students. On Sep 28, 6:44 am, b vivek bvivek1...@gmail.com wrote: I have spent the last few weeks with web2py and found it to be really good. In the process I have also built a small application

Re: [web2py] Meeting Monkey Beta

2010-09-28 Thread b vivek
There seem to be no links ! On Wed, Sep 29, 2010 at 6:40 AM, david.waldrop david.wald...@gmail.comwrote: Over the past month I have built Meeting Monkey. It is meant as a meeting facilitation tool to aid in helping groups think, decide and act together. Please take a look and share with

[web2py] adding spaces between span in plugin_wiki_tag cloud.

2010-09-26 Thread b vivek
Hi , I am using the plugin_wiki to generate a tag cloud . The cloud actions return looks something like this:- return DIV(_class='plugin_wiki_tag_cloud',*[SPAN(A(tag.name ,_href=URL(r=request,c='default',f='taglist',args=('tag',tag.id))),_style='font-size:%sem' %

[web2py] Re: adding spaces between span in plugin_wiki_tag cloud.

2010-09-26 Thread b vivek
Solved without it.. thanks! On Sun, Sep 26, 2010 at 4:26 PM, b vivek bvivek1...@gmail.com wrote: Hi , I am using the plugin_wiki to generate a tag cloud . The cloud actions return looks something like this:- return DIV(_class='plugin_wiki_tag_cloud',*[SPAN(A(tag.name ,_href=URL(r=request,c

[web2py] decoding app engine

2010-09-25 Thread b vivek
Hii ! I just deployed an app on appspot, and I have a routes.py file which looks like this:- routes_in=(('/','/mysite/default/homepage'),) routes_out=(('/mysite/default/homepage','/'),) I have not rewritten any other paths. The site is working fine as of now but GAE's logs show an error like the

Re: [web2py] Problem with rss feed from wiki application in book

2010-09-25 Thread b vivek
Can I please have a look at your news action in the default controller On Sat, Sep 25, 2010 at 11:04 PM, Tom Atkins minkto...@gmail.com wrote: I've just copied and pasted from the online book the wiki application in chapter 3. It all works great. I've added the function for the rss

[web2py] Unable to debug this!-trying to use memcache on GAE

2010-09-25 Thread b vivek
So this is what I did:- 1. I decided to use mecache to store sessions and modified my db.py file as below:- if request.env.web2py_runtime_gae: from gluon.contrib.memdb import MEMDB from google.appengine.api.memcache import Client session.connect(request, response, db = MEMDB(Client()))

[web2py] Re: Unable to debug this!-trying to use memcache on GAE

2010-09-25 Thread b vivek
')]) return [''] env['PATH_INFO'] = env['PATH_INFO'].encode('utf8') return gluon.main.wsgibase(env, res) However I wanted to know if this dummy url is a functioanlity provided by appengine or does web2py invoke any such dummy url On Sun, Sep 26, 2010 at 12:01 AM, b vivek bvivek1

[web2py] Re: Unable to debug this!-trying to use memcache on GAE

2010-09-25 Thread b vivek
Ok seems like I got it again is it not '_ah/queue/default'.. will have to got through the documentation of appengine I believe.. Sorry again for the trouble On Sun, Sep 26, 2010 at 12:23 AM, b vivek bvivek1...@gmail.com wrote: Sorry for that but I was able to solve it. I had missed to create

[web2py] Looping through DAL Rows Object

2010-09-24 Thread b vivek
Ok this is simple I know , but I am sort of not getting it. I have a table named 'spam' and I need the latest three entries of it .. so i do the below:- def home: latestthreespams=db().select(db.spam.ALL,orderby=~db.spam.created_on,limitby=(0,3)) return dict(jingle=latestthreespams) now

Re: [web2py] Re: Looping through DAL Rows Object

2010-09-24 Thread b vivek
:43 am, b vivek bvivek1...@gmail.com wrote: Ok this is simple I know , but I am sort of not getting it. I have a table named 'spam' and I need the latest three entries of it .. so i do the below:- def home: latestthreespams=db().select(db.spam.ALL,orderby=~db.spam.created_on,limitby

Re: [web2py] does google rss work for you?

2010-09-23 Thread b vivek
No massimo, does not work from terminal, works ok from browser though..! On Thu, Sep 23, 2010 at 10:08 AM, mdipierro mdipie...@cs.depaul.edu wrote: works ok from browser but does this work for you? wget http://groups.google.com/group/web2py/feed/rss_v2_0_msgs.xml

Re: [web2py] Re: Dashboard of GAE shows few errors

2010-09-22 Thread b vivek
Thanks a lot Massimo!.. as always :-) On Wed, Sep 22, 2010 at 6:58 PM, mdipierro mdipie...@cs.depaul.edu wrote: This should now be fixed in trunk. On Sep 22, 12:20 am, b vivek bvivek1...@gmail.com wrote: I am sorry Massimo.. but I dont get you... Do you mean it is still to be worked upon

[web2py] Dashboard of GAE shows few errors

2010-09-21 Thread b vivek
looking for these drivers on GAE.And yes it is also trying to import rocket , which is also being displayed as a warning. Can I disable that too.Also could someone look at the last three errors being shown as I or info and please shed some more light on that. Thanks ! Vivek W 09

Re: [web2py] Re: Dashboard of GAE shows few errors

2010-09-21 Thread b vivek
I am sorry Massimo.. but I dont get you... Do you mean it is still to be worked upon On Wed, Sep 22, 2010 at 10:43 AM, mdipierro mdipie...@cs.depaul.edu wrote: This on the TODO like. Do not log obvious warnings if running on GAE. Massimo On Sep 22, 12:03 am, b vivek bvivek1...@gmail.com

Re: [web2py] Re: plugin_google_checkout

2010-09-18 Thread b vivek
Anything for paypal.. looks like google checkout is only for US and UK.. or any other options for setting up a store and the payment mechanism I know I might be bugging at times! On Sat, Sep 18, 2010 at 10:21 PM, mdipierro mdipie...@cs.depaul.edu wrote: yes, it was used for PyCon 2009 and

[web2py] index error -GAE

2010-09-17 Thread b vivek
Hii am trying to upload a site to GAE , after the site is uploaded , when I go to app admin and try to insert a new membership, I get this errors:- *NeedIndexError**: **The index **for **this query **is not **ready to serve**. **See the Datastore Indexes page **in **the Admin Console**. **This

[web2py] Re: index error -GAE

2010-09-17 Thread b vivek
I have attached the screenshot of the admin console in the datastore indexes. Does this mean it is still building the indexes! On Fri, Sep 17, 2010 at 12:36 PM, b vivek bvivek1...@gmail.com wrote: Hii am trying to upload a site to GAE , after the site is uploaded , when I go to app admin

[web2py] Re: index error -GAE

2010-09-17 Thread b vivek
: - name: first_name - name: last_name - kind: plugin_comments_comment properties: - name: record_id - name: tablename - name: created_on direction: desc Does that not mean that the indexes have been created already before uploading On Fri, Sep 17, 2010 at 12:42 PM, b vivek bvivek1

[web2py] Re: index error -GAE

2010-09-17 Thread b vivek
Solved!.. looks like App Engine just needed a few hours for this! On Fri, Sep 17, 2010 at 12:36 PM, b vivek bvivek1...@gmail.com wrote: Hii am trying to upload a site to GAE , after the site is uploaded , when I go to app admin and try to insert a new membership, I get this errors

Re: [web2py] Why the pattern return dict(form=form)?

2010-09-16 Thread b vivek
Thanks for that explanation Bruno! On Fri, Sep 17, 2010 at 7:11 AM, Bruno Rocha rochacbr...@gmail.com wrote: Hi Tom The views in web2py should receive an serializable object to render it properly and transform in to html or something else (it is a very simplified explanation) You could

[web2py] links to plugins ,slices etc

2010-09-16 Thread b vivek
Hii! I just came across this and found some wonderful plugins here http://web2py.com/plugins/default/comments like the comments plugin.. I wonder why is there no link from the main site http://web2py.com to these pages. It would be really helpful if these links were there on ha main page too,

Re: [web2py] Re: links to plugins ,slices etc

2010-09-16 Thread b vivek
Oh thanks Massimo! On Fri, Sep 17, 2010 at 8:58 AM, mdipierro mdipie...@cs.depaul.edu wrote: there is link from the book page. Many of the plugins are obsolete since they are incorporated in plugin_wiki (chapter 13 of the book) On Sep 16, 9:32 pm, b vivek bvivek1...@gmail.com wrote: Hii

[web2py] Redirect after login

2010-09-16 Thread b vivek
to the pagehttp://../jingle/; instead of the home page. Can someone help. Thanks Vivek

Re: [web2py] Re: web2py 1.85.1 is OUT

2010-09-15 Thread b vivek
This looks cool... Thanks Mariano and Massimo of course! On Thu, Sep 16, 2010 at 9:46 AM, Mariano Reingart reing...@gmail.comwrote: Bruno, I'm glad you liked PyFPDF, and thanks Massimo for this great framework and his openess to accept contributions :-) In short, you can convert HTML to PDF

Re: [web2py] Errors in web2py book

2010-09-12 Thread b vivek
Use this:- class MyList(object): def __init__(self, *a): self.a = list(a)#this has to be a list, was a tuple earlier def __len__(self): return len(self.a) def __getitem__(self, i): return self.a[i] def __setitem__(self, i, j): self.a[i] = j b=MyList(3,4,5) print b[1]

[web2py] Caching database selects

2010-09-11 Thread b vivek
Hi!I am trying to understand the cache functionality provided by web2py through the docs. I came across this line in the docs which talk about caching the results of a database select. Could someone be kind enough and free enough to please tell me an example of this:- Note that the result of a

[web2py] Re: Caching database selects

2010-09-11 Thread b vivek
Ok I got it!.. it is there in the examples.. thanks for the great docs On Sat, Sep 11, 2010 at 4:38 PM, b vivek bvivek1...@gmail.com wrote: Hi!I am trying to understand the cache functionality provided by web2py through the docs. I came across this line in the docs which talk about caching

Re: [web2py] Re: Reverse table look up in GAE

2010-09-10 Thread b vivek
this is gae thing. You try? with max(id) or add some datetime field and order by this field like Field('created_on', 'datetime', default=datetime.datetime.today(),writable=False,readable=False) On 9 sep, 03:06, b vivek bvivek1...@gmail.com wrote: Ok so if i have a table in my db named homepage

Re: [web2py] Re: Reverse table look up in GAE

2010-09-10 Thread b vivek
It would be great if somebody could please let me know how to find the id of the last inserted row in a table using DAL On Fri, Sep 10, 2010 at 4:09 PM, b vivek bvivek1...@gmail.com wrote: Sorry for the late reply Martin, but even if I add the datetime field in here,and order by the datetime

Re: [web2py] Re: Reverse table look up in GAE

2010-09-10 Thread b vivek
Oh Thanks I got it ... the solution suggested by Martin works perfectly instead of ordering by record id ,it should be ordered by datetime field and the tilde works fine! On Fri, Sep 10, 2010 at 4:23 PM, b vivek bvivek1...@gmail.com wrote: It would be great if somebody could please let me know

Re: [web2py] Reverse table look up in GAE

2010-09-09 Thread b vivek
Ok so if i have a table in my db named homepage as below:- -- id | data | --- 1 | vivek| -- 2 | andrew| --- Now if I want to retrieve only the last row .. i can do this homepage=db().select(db.homepage.ALL,orderby

[web2py] Reverse table look up in GAE

2010-09-08 Thread b vivek
not work on GAE. It would be really helpful, if someone could please help me with this.. Thanks Vivek

[web2py] ordering the table reverse

2010-09-07 Thread b vivek
someone please help... Thanks Vivek

[web2py] Re: ordering the table reverse

2010-09-07 Thread b vivek
Ok got it.. There is indeed a typo in the docs. The tilde has not been used in the example:- it would go like this:- for row in db().select(db.person.ALL, orderby=~db.person.name): print row.name It works now for me! Thanks Vivek On Tue, Sep 7, 2010 at 12:25 PM, b vivek bvivek1

[web2py] twitter function in the docs

2010-09-07 Thread b vivek
the entire thing. Thanks a lot Vivek

Re: [web2py] Re: Web2py on google app engine (show INVALID REQUEST)

2010-09-06 Thread b vivek
You can just go to app.yaml and under the skip files section, delete this line :- (applications/(admin|examples)/.*)| or comment it out. If you are trying out the Google SDK on localhost , you will be able to see admin section and examples section , which you were not able to see till now and

[web2py] A Reset button using either Crud or SQL FORM

2010-09-04 Thread b vivek
Hi ! The SQL Form and the Crud both are really good, but while generating forms is there any way , they generate a reset button too. Thanks Vivek

Re: [web2py] Re: A Reset button using either Crud or SQL FORM

2010-09-04 Thread b vivek
=form) Seemed a little more easier! Thanks a Lot.. and am beginning to love this community for their prompt responses and all the help! Vivek On Sun, Sep 5, 2010 at 1:48 AM, mr.freeze nat...@freezable.com wrote: Not built in (that I know of) but you can add one easily: def index(): form

Re: [web2py] Re: Hi a beginner's question

2010-09-04 Thread b vivek
Yes .. looks like there was something wrong in my code the other day.. Am using it today for something else and it works fine.. sorry for the trouble.. and yeah thanks mdipierro for replying! On Fri, Sep 3, 2010 at 10:06 PM, Matias matiassu...@gmail.com wrote: El 03/09/10 17:09, mdipierro

[web2py] web2py on Google App engine

2010-09-04 Thread b vivek
the app on GAE) Thanks Vivek

[web2py] Re: web2py on Google App engine

2010-09-04 Thread b vivek
/.*) | (applications/.*?/errors/.*)| (applications/.*?/cache/.*)| (applications/.*?/sessions/.*)| )$ I have commented out (application/(admin|examples) an now I get Admin is disabled because insecure channel Thanks Vivek On Sun, Sep 5, 2010 at 10:32 AM, b vivek bvivek1...@gmail.com wrote

[web2py] Re: web2py on Google App engine

2010-09-04 Thread b vivek
Ok I got it .. I have to use https instead of http! On Sun, Sep 5, 2010 at 10:47 AM, b vivek bvivek1...@gmail.com wrote: Please have a look at the skip_files section of my app.yaml skip_files: | ^(.*/)?( (app\.yaml)| (app\.yml)| (index\.yaml)| (index\.yml

[web2py] Hi a beginner's question

2010-09-02 Thread b vivek
Hii, I just hopped onto web2py. And it is just beautiful. I am going through the book and am stuck up at one place.There is an example there:- a = DIV /book/default/docstring/DIV(DIV /book/default/docstring/DIV( DIV /book/default/docstring/DIV('a', _id='target',_class='abc'))) d =

[web2py] bulk_insert(error in docs)

2010-09-02 Thread b vivek
* This does not work for mysql bulk insert:- db.person.bulk_insert([{'name':'Alex'}, {'name':'John'}, {'name':'Tim'}]) The argument has to be dictionaries and not a list of dictionaries Someone could correct this in the documentation.. This works:-

[web2py] Re: beginner question 2

2010-09-02 Thread b vivek
However I am able to run it through the terminal and opening the shell through python web2py.py -S admin But not through the web based shell.. Vivek! On Thu, Sep 2, 2010 at 3:21 PM, b vivek bvivek1...@gmail.com wrote: Ok, I am unable to use the shell for checking out mysql db. I have

[web2py] beginner question 2

2010-09-02 Thread b vivek
1.db=DAL('mysql://root:mypasswo...@localhost/web2') 2. print db._uri mysql://root:mypasswo...@localhost/web2 3.db.define_table('person', Field('name')) Traceback (most recent call last): File input, line 1, in module File /home/vivek/web2py/gluon/sql.py, line 1359, in define_table t

Re: [web2py] Hi a beginner's question

2010-09-02 Thread b vivek
Well for a[0][0][0] to work you would never need to use the 'elements' , the point is d=a.element('div#target') works while d=a.elements('div#target') does not , while according to the docs it should On Thu, Sep 2, 2010 at 6:20 PM, Vasile Ermicioi elff...@gmail.com wrote: you get a list of