Hi,
Is there is any update on the usage of reserved keywords in the table
definition. In this thread
https://groups.google.com/forum/?fromgroups=#!newtopic/web2py/web2py/hCsxVaDLfT4
Massimo
says "we need to change it in dal.py."
I need to create a table in mysql db as:
db.define_tab
If you find a solution to your problem let me know. I have a similar
problem. The process usually is [create server] -> [generate wsdl] ->
[create client from wsdl]. I would like to see an example ot [create server
from wsdl].
On Tuesday, 18 June 2013 01:55:40 UTC-5, Barry Bridges wrote:
>
> Hi
Yes I use MySQL on PythonAnywhere and so far it is working well. Can you
describe your problem in more detail?
--
---
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
I will just come back and add how i solved this, in case anyone else would
ever want to know.
external_db = DAL(
'postgres://connection_string',
pool_size=20,
after_connection=lambda self: self.execute('set search_path to
my_schema, public; set statement_timeout to 5000;'),
migra
hi Massimo,
What would be the implications of removing the gql modulefrom Web2py?
On 12 April 2013 16:17, Massimo Di Pierro wrote:
> I proposed in web2py 2.5 we remove the gql module.
>
>
> On Friday, 12 April 2013 05:21:10 UTC-5, Carl wrote:
>>
>> Removing the line "from gluon.contrib.gql im
Thanks Antony!
2013/6/14 Anthony
> The URL host name is part of request.client, which is used as the prefix
> for the session ID -- so switching from localhost to 127.0.0.1 causes a new
> session ID (and therefore session file) to be created.
>
> Anthony
>
>
> On Friday, June 14, 2013 4:26:21 A
None except that some very old web2py GAE applications may be doing "import
gql". It is there only for backward compatibility.
On Tuesday, 18 June 2013 03:21:00 UTC-5, Carl wrote:
>
> hi Massimo,
>
> What would be the implications of removing the gql modulefrom Web2py?
>
>
>
>
> On 12 April 2013
bootstrap form builder
http://minikomi.github.io/Bootstrap-Form-Builder/
2013/4/17 黄祥
> +1
>
> --
>
> ---
> 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 w
even better
http://www.divshot.com/
2013/6/18 António Ramos
> bootstrap form builder
>
> http://minikomi.github.io/Bootstrap-Form-Builder/
>
>
> 2013/4/17 黄祥
>
>> +1
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To u
Hi, I'm exploring web2py from GIT together with a chrome browser.
When I open the admin, I get the presentation in the german language,
because this is configured as one of the languages in Chromium (the
non-google-branded version of Google Chrome). That's ok so far.
Unfortunately, umlaut chara
Hey
I started web2py by specifying the "applications" folder using --folder
flag:
> python web2py.py --folder /path/to/applications/
This started fine. But when I created a new application from the appadmin,
the contents of the application were totally empty. Is this expected
behavior? I am ru
Thanks already decided
Ovidio Marinho Falcao Neto
ITJP.NET.BR
ovidio...@gmail.com
83 8826 9088 - Oi
83 9336 3782 - Claro
Brasil
2013/6/18 Dane Wright
> Yes I use MySQL on PythonAnywhere and so
if you need both with the internal webserver you need to pass the
--interfaces option ip1:port1;ip2:port2:key2:cert2:ca_cert2
something like 127.0.0.1:80;127.0.0.1:443:server.key:server.crt
should work.
Il giorno lunedì 17 giugno 2013 22:37:45 UTC+2, viniciusban ha scritto:
>
> I'd like to
you missed specifying the type. Right now that field is a "text" one with a
requires on it. Change that to
Field('date_of_birth', 'date')
to get the datepicker automatically.
Il giorno lunedì 17 giugno 2013 23:49:05 UTC+2, t...@caregointl.com ha
scritto:
>
> I am a bit confused on what I may b
there is no LESS file for the web2py_bootstrap.css file.
Il giorno martedì 18 giugno 2013 00:45:24 UTC+2, Ian W. Scott ha scritto:
>
> Thanks Ales, but web2py_bootstrap.css (and maybe web2py.css) overrides
> some of those stock Bootstrap settings. I want to override some of those
> overrides (!)
another things that needs to be included in tests. If we don't have a
strict requirement next code changes can interoperate with those kind of
assumptions.
@all: tests for web2py are now executed automatically by Travis. If you
need a particular feature to be consistent among releases, please a
There's nothing in the actual code that uses escaping. we tried but it was
reverted soon.
It's on the roadmap but it's not done yet, as it is a rather hard point.
On the implementation process, we may provide a "sql_name" attribute for
both fields and tables that will output the escaped sequenc
reverted. :-(
On Tuesday, 18 June 2013 04:08:29 UTC-5, Holger Schurig wrote:
>
> Hi, I'm exploring web2py from GIT together with a chrome browser.
>
> When I open the admin, I get the presentation in the german language,
> because this is configured as one of the languages in Chromium (the
> no
Hi,
i would like to use mongoDB directly without DAL.
I added this to the bottom of my model/0.py
# connect to mongoDB
connection = pymongo.MongoClient('localhost', 27017)
# attach to test database
mongo = connection.asset
- this gives me an error
name 'pymongo' is not defined
if i add
impor
Very nice, thanks. Is there a way to use the bootstrap datetimepicker from
here as well?
On Tuesday, June 18, 2013 6:37:33 AM UTC-4, Niphlod wrote:
>
> you missed specifying the type. Right now that field is a "text" one with
> a requires on it. Change that to
> Field('date_of_birth', 'date')
>
Thanks, Niphlod. It worked. :-)
On Tue, Jun 18, 2013 at 7:36 AM, Niphlod wrote:
> if you need both with the internal webserver you need to pass the
> --interfaces option ip1:port1;ip2:port2:key2:cert2:ca_cert2
> something like 127.0.0.1:80;127.0.0.1:443:server.key:server.crt
>
> should work.
Do you have it installed? What Python version? Can you import from normal
Python shell? Which web2py version?
On Tuesday, 18 June 2013 06:47:02 UTC-5, Domagoj Kovač wrote:
>
> Hi,
>
> i would like to use mongoDB directly without DAL.
>
> I added this to the bottom of my model/0.py
>
> # connect t
Yes it is installed. Python version 2.7. I can import from normal Python
shell. Web2py version 2.4.5.
--
---
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 web2
I tried with space does not work
with _ works, for example "cent_os"
--
---
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.
Thanks for the replies and sorry for the delay in answering, but I received
no updates by mail (and had set it to). WelI, I noticed that in the
instantpress project page (
https://bitbucket.org/mulonemartin/instantpress/wiki/faq) it's stated that
it won't work in GAE, because of the datastore no
Hi Massimo,
I came across this. It might be what we're after.
http://stackoverflow.com/questions/7796440/are-there-any-working-examples-of-zolera-soap-infrastructure-zsi
On Tuesday, 18 June 2013 08:33:20 UTC+1, Massimo Di Pierro wrote:
>
> If you find a solution to your problem let me know. I have
Are you using the web2py from source?
On Tuesday, 18 June 2013 07:09:33 UTC-5, Domagoj Kovač wrote:
>
> Yes it is installed. Python version 2.7. I can import from normal Python
> shell. Web2py version 2.4.5.
--
---
You received this message because you are subscribed to the Google Groups
"we
Carl,
i have been working through my web2py upgrade to 2.5.1 + GAE SDK 1.8.1
upgrade and am not seeing any problems with DAL or GQL. i did have to
change some cache.ram.flush_all() to cache.ram.clear() to work with the
latest web2py, and am making adjustments to work with the updated
custom_
I re-installed python, it works now. Looks like i did not configure
everything properly. Massimo thanks for fast reply's.
--
---
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, se
I did see two problems addressed in a commit today.
gql imports drivers from dal.py but drivers was renamed DRIVERS. If people did
not notice this it means they are not importing gql. This is great. It means
this backward compatibility file can be removed. So I just did.
The second issue is tha
1. browserid.org changed into login.persona.org, both URLs and issues. The
old URL continues to work, but it might be better to use the new ones
anyway.
2. the plugin did redirecto to http://google.com (Huh?!?!) even when
"on_login_failure" was set
3. if on_login_failure wasn't set, it redirec
Your field need to be of type date in order to the datepicker widget to
trigger. You may also set a widget on your field if your field is not of
type widget. I suspect that you only store de the mouth and day and not a
date...
Richard
On Mon, Jun 17, 2013 at 9:22 PM, wrote:
> I am following so
I've just updated to 2.5.1 and I found this problem:
Inside my site have a google map and I need to add an array with several
marker;
in my controller I have a simple query with a cycle
def mappa:
markers=[]
for row in db().select(db.produttori.ALL):
markers.append([row.id, row.lat
Well, I didn't know I needed to restart Apache.
Now I get a different error. I did the nltk download in python, but do I
need to do something in web2py?
Resource 'corpora/wordnet' not found. Please use the NLTK
Downloader to obtain the resource: >>> nltk.download().
Searched in:
- '/v
thanks C
perhaps I can also change my web2py code to get the app running. M has been
making changes in trunk to remove the gql.py. this might address my issue
too. I tried trunk but got a bunch of unresolved imports from Eclipse.
On 18 June 2013 14:20, Christian Foster Howes wrote:
> Carl,
>
>
I guess you will have to build your own widget and pass the bootstrap
class... You are talking about this :
http://tarruda.github.io/bootstrap-datetimepicker/
?
On Tue, Jun 18, 2013 at 7:51 AM, wrote:
> Very nice, thanks. Is there a way to use the bootstrap datetimepicker from
> here as well?
It worked when I was using IE. I am having problems with Firefox 17.0.5.
I am using web2py version 2.4.6-stable. Are there issues using it with
Firefox?
On Monday, June 17, 2013 10:26:18 PM UTC-7, Massimo Di Pierro wrote:
> There should be no difference on whether you use Windows or Linux. P
I have one page where I want to show 3 forms. I have a main table with 2
tables that are related to it.
So in my models file I have:
db.define_table(
'dependents',
Field('dep_id',db.patient),
Field('first_name'),
Field('middle_name'),
Field('last_name'),
Field('relations
Yes that is what I am talking about. I think I can use the js files to call
it in my html possibly?
On Tuesday, June 18, 2013 11:24:37 AM UTC-4, Richard wrote:
>
> I guess you will have to build your own widget and pass the bootstrap
> class... You are talking about this :
> http://tarruda.gith
If you aren't using google app engine, then that should be okay. However if
you are, you shouldn't convert it to an INT because you'll get errors.
On Tuesday, June 18, 2013 7:11:14 AM UTC-7, palomar wrote:
>
> I've just updated to 2.5.1 and I found this problem:
> Inside my site have a google m
I think you will need to write a custom widget, something like this :
def app_date_widget(field, value, placeholder='-MM-DD'):
return DIV(INPUT(_name=field.name,
_id="%s_%s" % (field._tablename, field.name),
_class='%s %s' % (field.type, 'input-small'), #
I think you have 1 form for 3 tables...
You should package a dummy app with the code above to help us helping
you...
As far as I understand you got the id only because you didn't set requires
in your model. Read the book about validators and search for "requires" in
the book.
Richard
On Tue, J
Yes I was just reading and understood that the reason for my fields not
showing up was because the fields in many of the tables have the same
names. Changing that resolved that issue.
It's actually a great book too, just wished I could read faster.
Thanks.
On Tue, Jun 18, 2013 at 1:04 PM, Richa
Uploading to trunk! Thanks you Holger.
On Tuesday, 18 June 2013 08:46:42 UTC-5, Holger Schurig wrote:
>
> 1. browserid.org changed into login.persona.org, both URLs and issues.
> The old URL continues to work, but it might be better to use the new ones
> anyway.
>
> 2. the plugin did redirecto t
Which IE version?
On Tuesday, 18 June 2013 10:57:56 UTC-5, ewon...@gmail.com wrote:
>
> It worked when I was using IE. I am having problems with Firefox 17.0.5.
> I am using web2py version 2.4.6-stable. Are there issues using it with
> Firefox?
>
> On Monday, June 17, 2013 10:26:18 PM UTC-7,
Hi all:
I've read the deployment recipes but I'm missing something... I've made a
simple application with the plugin wiki. Then, I configure some pages and
menus, working in my localhost. How should I proceed in order to deploy it
to GAE while preserving all the data already set in the local da
I don't believe you can use SQLFORM in that way, you'll have to create
your own form - maybe try SQLFORM.factory. Better still, try
SQLFORM.smartgrid which could allow you a very flexible way to manage all
three tables.
On Tuesday, 18 June 2013 16:40:40 UTC+1, t...@caregointl.com wrote:
>
>
IE8
On Tuesday, June 18, 2013 10:11:07 AM UTC-7, Massimo Di Pierro wrote:
> Which IE version?
>
> On Tuesday, 18 June 2013 10:57:56 UTC-5, ewon...@gmail.com wrote:
>>
>> It worked when I was using IE. I am having problems with Firefox
>> 17.0.5. I am using web2py version 2.4.6-stable. Are th
Yes I am using smartgrid elsewhere, very nice. I did do the 3 forms but
used the factory to do it. Works nicely so far.
On Tue, Jun 18, 2013 at 1:24 PM, villas wrote:
> I don't believe you can use SQLFORM in that way, you'll have to create
> your own form - maybe try SQLFORM.factory. Better s
I'm building a cascading dropdown lists. I use web2py ajax function to do
it. My code:
select 1 (parent):
{{=OPTION('-- Choose department --', _value="")}}
{{for d in departments:}}
{{=OPTION(d.name, _value=d.id)}}
{{pass}}
select 2 (child):
{{if request.vars.departm
One more thing - I've seen people have issues with this time and again on
this list. You aren't the first person to think of doing this. Look for a
good recipe on web2pyslices which does what you want. There are quite a few.
http://www.web2pyslices.com/slice/show/1467/cascading-drop-down-lists-w
as a general rule of thumb I think it can happen a lot that features
working in firefox/chrome DON'T work in IE, but not the other way around.
Did you do a ctrl+R to make sure you reloaded the page and all the static
assets ?
On Tuesday, June 18, 2013 7:25:06 PM UTC+2, ewon...@gmail.com wrote:
Well, you're doing it wrong.
I mean, the way you are calling the ajax function...
ajax('rank', ['department'], 'seafarer_experience_rank');
What that does is calls 'rank' with the argument 'department' and replace
the contents of the element whose ID is 'seafarer_experience_rank' with the
res
Do you still have the Windows system? Can you install FF there and see if
you still have the problems? I develop on Windows with FF and don't see
too many issues.
-Jim
On Tuesday, June 18, 2013 1:37:24 PM UTC-5, Niphlod wrote:
>
> as a general rule of thumb I think it can happen a lot that fe
thanks for the answers! :D
I'll try to follow your advice and see where it leads me ;)
--
---
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...@g
Hello,
I'm trying to return some data via JSON to my view. The problem i'm having
is that when i do a left outer join, the JSON has two nested sets of data.
I'm trying to use SlickGrid which doesn't support complex fields like
Set1.Field1 , Set2.Field1, etc...
Is there a way to return a sing
> Is there a way to return a single set of JSON data from my controller when
> joining tables?
>
This can solve the problem, although it might result in slower requests:
newrows = []
for row in rows:
d = {}
d.update(**row.event.as_dict())
d.update(**row.eventType.as_dict())
ne
Massimo I discovered the problem, the server is behind a reserve proxy and
this latter wasn't properly configured, namely requests to the external
port 443 were directed to the local 80.
Sorry for the troubles!
Paolo
2013/6/17 Massimo Di Pierro
> I think the port is set by your script: 9001 a
Found the problem and it's a complete newbie mistake. Somewhere along the
way I had deleted the
{{extend 'layout.html'}}
from the view. What I really needed was the ajax (which is included in
layout.html) , i.e.
{{include 'web2py_ajax.html'}}
Sorry, I did not realize this since I am new to
Thanks!
El miércoles, 12 de junio de 2013 23:32:08 UTC+2, Niphlod escribió:
>
> from the book*
>
> Google NoSQL (Datastore)** does not allow joins, left joins, aggregates,
> expression, OR involving more than one table, the ‘like’ operator searches
> in "text" fields.
> *
> tl;dr : no reference
I created a Python-based course called Real Python for the Web that begins
with the basics (database management, server-side and client-side
programming), then moves into Flask and on to web2py. You create a number
of applications and go over basic conventions/best practices.
If you want, you c
i wouldn't copy data personally, i consider localhost a test environment,
and GAE proper production and i just make my production data there.
if you do want to copy data look at the GAE bulk loader:
https://developers.google.com/appengine/docs/python/tools/uploadingdata
--
---
You received
I can say Real Python is really good!
Massimo
On Tuesday, 18 June 2013 17:17:47 UTC-5, Michael Herman wrote:
>
> I created a Python-based course called Real Python for the Web that begins
> with the basics (database management, server-side and client-side
> programming), then moves into Flask a
63 matches
Mail list logo