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
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
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.
,
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.
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
/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
Ok got it ! I just had to go through the Angular APi documentation to
figure out how to assign encoding.
Ty ones again
--
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
--
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
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
= lambda query: (db.quote.accmanager == auth
.user_id) | (auth.user_id == 10) | (auth.user_id == 5)
Thanking all
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
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
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
. 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
--
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
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
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),
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
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
--
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
=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
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
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
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
--
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).
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
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
:
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
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
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'
%
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
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
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
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()))
')])
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
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
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
: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
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
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
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
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
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
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
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
:
- 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
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
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
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,
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
to the pagehttp://../jingle/; instead
of the home page. Can someone help.
Thanks
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
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]
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
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
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
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
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
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
not work on GAE. It would be really
helpful, if someone could please help me with this..
Thanks
Vivek
someone please help...
Thanks
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
the entire
thing.
Thanks a lot
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
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
=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
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
the app on
GAE)
Thanks
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
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
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 =
*
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:-
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
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
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
76 matches
Mail list logo