To use API of other applications in my application.
On Saturday, October 3, 2015 at 10:21:56 PM UTC+5:30, Kiran Subbaraman
wrote:
>
> Can you provide more details - which API are you talking about?
> Are you thinking of creating APIs for your web2py application - see this
> for some ideas:
> h
Looks like that is coming from here,
https://github.com/web2py/pydal/blob/master/pydal/adapters/base.py#L497,
which indicates a file is being found. Are you sure there's nothing there?
If it is there, is it an empty file? Can you unpickle it yourself?
I've read that you can also get this error
On Friday, October 9, 2015 at 7:13:59 AM UTC-4, PAVAN DHAVALESWARAPU wrote:
>
> To use API of other applications in my application.
>
In that case, there's nothing special about web2py -- you can access
external APIs the same way you would from any Python module or code. Just
follow the document
Hi friends, this group is making a great job supporting web2py users. I
don't use to ask many questions because it's easy to find them already
solved.
I would like to use Sphinx to document an application developed with web2py
2.12.1. I mean using docstrings in controllers and models. As web2py
My company has to have an outside firm Pen test all Web-Service
applications. So I am spinning up two internal services and both are going
to be tested around November before they go into Prod from Non-Prod. I'm
starting talks with the InfoSec team to see if I can share the findings of
the te
I'm revisiting this again.
Think it should be possible with a javascript onclick action, but how can I
do this from within my A( helper ?
My problem with using web2py I think, is that I'm a python programmer who's
trying to write apps that run on web pages, but I know very little
html/javascri
My app is under version control at Github. It will be deployed on Google
App Engine.
There's a chance that web2py could be updated and render some of my app's
behavior unpredictable, or, more likely, GAE could screw something up and
break web2py.
I think the obvious choice, then, is to have a s
Changing
if current.request.ajax:
raise HTTP(401, self.messages.ajax_failed_authentication)
to
if current.request.ajax and current.request.cid:
raise HTTP(401, self.messages.ajax_failed_authentication)
in gluon/tools/Auth class/requires function (line 3749 in release 2.12.03)
seems to sol
web2py tags releases so you don't really need your own github repo you can
just tell people to clone a given web2py tag.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Repo
I broke my web2py installation. I was cleaning out what I thought were
unused files because I don't use welcome app. The problem is that when I
click the database button from this page:
http://127.0.0.1:8000/admin/design/myapp
I'm getting redirected to URL('default', 'index')
What did I br
Can you elaborate, please?
On Friday, October 9, 2015 at 11:25:17 AM UTC-6, Leonel Câmara wrote:
>
> web2py tags releases so you don't really need your own github repo you can
> just tell people to clone a given web2py tag.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documenta
Me too. I have to be honest, the reason I'm using my own web2py repo is
because I don't understand the WARNING: DO NOT DOWNLOAD RELEASES FROM THIS
GITHUB PAGE at https://github.com/web2py/web2py/releases thing.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://
>
>
>>
Thanks a bunch for that. No way would I have figured that out on my own.
Thanks again,
Ed
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You re
I always download it from github and checkout the tag (version) I want.
This way:
```
$ git clone https://github.com/web2py/web2py.git
$ git cd web2py
$ git checkout -b v2.12.3 R-2.12.3
```
--
Vinicius Assef
On 9 October 2015 at 16:53, Tom Campbell wrote:
> Me too. I have to be honest, the
You can get them from github as long as you remember to use the --recursive
flag when you're doing the cloning otherwise you won't get PyDAL which
lives in its own repo right now.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sourc
Deleting welcome shouldn't cause problems for your existing apps, as it
should use the appadmin in myapp's controllers folder.
That said, the admin uses the welcome application as a template for when
you ask it to create a new application so that breaks.
--
Resources:
- http://web2py.com
- htt
We should make this easier to configure, but here are a few more options
that don't require forking a framework file:
- The calendar/time widget is only activated for inputs with classes
"date", "datetime", or "time", so, you can just use a custom widget that
excludes those classes. Th
Thank you, Leonel and Vincinius. So it seems that the canonical way to do
this would be as follows?
# Create a git repo of web2y and pydal on your local machine
$ git clone --recursive https://github.com/web2py/web2py.git
# Inside the web2py directory...
$ cd web2py
# ...check out version
Hi Leonel,
Thanks very much for your reply.
I tried to use the code in your post but it doesn't seem to work.
I installed a new app and I placed the code in the folder, as per your
post, but the url is still the same:
http://www.mydomain.com/init/default/about
On Friday, September 25, 2015 at 5
What is the best way to implement a sitemap for a Web2py site? Is there a
Web2py code to generate the sitemap or I should use a third party sitemap
generator? If so, should I place the XML file in the static folder?
I'd appreciate some advise on this.
Thanks very much.
Cheers,
Joe
--
Resources
Shouldn't we always return 403 is ajax?
On Friday, 9 October 2015 12:22:52 UTC-5, DenesL wrote:
>
> Changing
> if current.request.ajax:
> raise HTTP(401, self.messages.ajax_failed_authentication)
>
> to
> if current.request.ajax and current.request.cid:
> raise HTTP(401, self.messages.ajax
Hi everyone,
I have a question about the scheduler and communicating between the
scheduler process and my web app. In another post here, Niphlod suggested
using the database or the file system to communicate between the scheduler
and my app--for example, to communicate some content to display i
22 matches
Mail list logo