Did anyone ever find a complete solution to this? I'm using web2py on
hostgator and after following this tutorial I can only get my app to work
if I name it init. Also, if I try to access another controller for example:
www.mysite.com/controller/ I get a 404 error. Does this have something to
d
which one is line 23? Perhaps some hidden character creeped in.
On Sunday, 22 March 2015 20:43:08 UTC-5, KPlusPlus wrote:
>
> Hello
>
> I'm having an issue while compiling a module file
>
> here is the code
>
> # -*- coding: utf-8 -*-
> #Products Table
> db.define_table=('product',
>
I have not been watching that for some time. Some of the issues there have
been addressed. For example web2py has mongodb support.
On Sunday, 22 March 2015 00:36:41 UTC-5, KPlusPlus wrote:
>
> Has anyone checked Uservoice ?
> There are abandoned ideas/requests I'm not sure if web2py-developers ar
what's L2?
I do not what you should do. Do you want to use Dropbox or Janrain? ;-)
On Sunday, 22 March 2015 00:36:25 UTC-5, Gray Kanarek wrote:
>
> The book has the following instructions for integrating Dropbox:
>
> from gluon.contrib.login_methods.dropbox_account import use_dropbox
> use_janra
On Turnkeylinux , I have set-up a MicroWeb2Py on AWS in a couple of minutes
using Turnkeylinux friendly interface.
I am trying to access the Web2Py admin interface via the Web shell as admin
with the pwd I have set up during the initial installation. It doesn't work.
So I clicked on the Hostname
Hello
I'm having an issue while compiling a module file
here is the code
# -*- coding: utf-8 -*-
#Products Table
db.define_table=('product',
Field('name',notnull=True,unique=True),
Field('prices','double'),
Filed('description','text'),
Hi Massimo,
Thanks for the explanation, now I get it :)
I am slowly -trying to- building a login where user can both login with
email + password and Facebook. For the Facebook part I "had" to create a
username field as written in the tutorial but your solution is perfect.
Thanks again!
El sába
On TurnkeyLinux I have tried to connect a Web2Py app to the MySQL instance
(which is up and running) with the following DAL statement (in db.py):
db = DAL('mysql://root:pwd2sql@web2py/dbname', fake_migrate_all=True)
I have queried the MySQL for the information:
select @@hostname;
select dat
I'm working on an app which involves analysis of numpy arrays. I intend for
the arrays to be stored in files in the user's dropbox (and the app links
to dropbox), so as not to clutter my app's storage with hundreds of
(possibly large) files. When a user selects a file, the data is read and
then
I have a small application that has been working fine till I switched
computers to a windows 8.1 system, I also downloaded the latest version of
Web2py on my local machine. The problem is that the views which use
'response.json' are not rendered at all on my machine, instead the pages
show only
Did you ever get this working? When I attempt the insert method as Anthony
mentioned I wind up with the html being displayed along with the user name.
On Friday, October 17, 2014 at 10:46:56 PM UTC-5, LoveWeb2py wrote:
>
> Thanks again, Anthony. Thank you for all of the time you dedicate.
>
> On
Hello all.
Is there a way to add extension=False to each URL of the auth menu?
It could be useful if a .load file is found by a search engine and a user
open it (I've put a test for adding the layout if it's loaded alone).
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Do
Just to clarify the original problem, when a controller action returns a
dictionary (as in your original code), web2py assumes it should then look
for an execute a view. If a dedicated view does not exist for the action,
it will default to generic.html (though this is disabled by default, except
Hi, a long time ago I was looking for some feature that allow to add an
extra button next to dropdown list elements to options for list related
to other tables, something like django admin does [0], eventually I
found this recipe in web2pyslices widget-select-or-add-option[1] and a
new version[2],
Can someone put screenshots about what they proposing. Its hard to just
visualizing things reading code.
On Sunday, March 22, 2015 at 1:32:07 PM UTC-4, Garry Smith wrote:
>
> Hi is their a way of returning an onclick funtion to a div.
>
> This is what I'm trying to return.
>
> onclick="jQuery('#
greetings,
could post the code to log into twitter, using as a server GAE
--
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 received this message becau
Hi is their a way of returning an onclick funtion to a div.
This is what I'm trying to return.
onclick="jQuery('#id').val('{{=row.id}}');ajax('{{=URL('default',
'album')}}', ['id'], 'playlist');"row.album.
I can get it to return but only as text, I need it to work as a function
This is what I
thank you so much for detail explaination about vars and unpythonic
templates.
best regards,
stifan
--
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
Hi
I have some links in a div which are created using the following:-
*Controller*
rows= sel.select(db.media.album,db.media.id, groupby=
db.media.album,orderby=db.media.album)
inks = map(lambda row:A(row.album,
callback=URL('tracks',vars=dict(id=row.id)), target='playlist'), rows)
test = UL([LI
19 matches
Mail list logo