Is there a way to select a set of fields and corresponding list:reference
fields in one query?
I have these three tables:
*db.define_table( 'product',Field( 'name' ),Field( 'categories',
'list:reference category' ),Field( 'vendor', 'reference vendor'
), )db.define_tabl
Hello,
the doc says that GAE does not support complex datetime query…
Could someone tell me if the following is expected to fail (where end_date
is a datetime):
db((db.auth_user.end_date.year() == end.year) &
(db.auth_user.end_date.month() == end.month) &
(db.auth_user.end_date.day()
Hi Val,
Thanks for your reply, but unable to find any about get prototype record in
the book.
Do you have an examples
Thanks
Anthony
On Saturday, 12 December 2015 06:03:26 UTC+11, Val K wrote:
>
> 1. get prototype record
> 2. overwrite field.default with corresponding prototype value
> 3
Hi Gael,
That's great! Thanks very much.
I wonder how I can then create a URL like
http://www.mydomain.com/sitemap.txt instead of
http://www.mydomain.com/init/default/sitemap.txt
On Tuesday, October 20, 2015 at 5:30:03 PM UTC+8, Gael Princivalle wrote:
>
> Hello Joe.
>
> I use the Scheduler
Hi guys,
I am faced with a problem rather big for my application. I try to explain
it:
Basically I need two different forms of records, 1st dedicated to home
users who register for this form I use the default "auth.user" register
with Extra fields "Delivery" and "address", but now I want to set
Like in case of facebook, one has to pass through a login page. If one 's
logged in he will be redirected to home page otherwise login.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/is
See
http://web2py.com/books/default/chapter/29/09/access-control#Authentication.
If you use the auth.requires_login() decorator (or any of the other Auth
decorators), users who are not logged in will be directed to login (and
then back to their originally requested page after login).
Anthony
wfastcgi is now a module on PyPi
after installing it, the scripts directory has wfastcgi.exe and an enable
executable: wfastcgi-enable.exe
There is no wfastcgi.py
However, running wfastcgi-enable.exe from an Admininistrator command prompt
makes a change to IIS configuration.
It adds a handler
More information like, birthdate, gender and others.
--
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 because you are subscribed
And what is capacity of MYSQL in web2py, as I heard capacity of sqlite is
just 5000 entries.
--
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
On Monday, 14 December 2015 13:36:05 UTC+11, Tim Richardson wrote:
>
> wfastcgi is now a module on PyPi
>
> after installing it, the scripts directory has wfastcgi.exe and an enable
> executable: wfastcgi-enable.exe
> There is no wfastcgi.py
>
> However, running wfastcgi-enable.exe from an Admi
On Sunday, December 13, 2015 at 11:14:49 PM UTC-5, RAGHIB R wrote:
>
> And what is capacity of MYSQL in web2py, as I heard capacity of sqlite is
> just 5000 entries.
>
The capacity of MySQL in web2py is the same as its capacity anywhere else.
Also, SQLite can most certainly handle well over 5000
Please read the documentation, in particular,
http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth.
On Sunday, December 13, 2015 at 11:12:00 PM UTC-5, RAGHIB R wrote:
>
> More information like, birthdate, gender and others.
>
--
Resources:
- http://web2py.com
- http://w
On Monday, 14 December 2015 13:36:05 UTC+11, Tim Richardson wrote:
>
> wfastcgi is now a module on PyPi
>
> after installing it, the scripts directory has wfastcgi.exe and an enable
> executable: wfastcgi-enable.exe
> There is no wfastcgi.py
>
> However, running wfastcgi-enable.exe from an Admi
Ok. Some tips to a future me if I have to do this again.
wfastcgi is now a module. So currently the deployment instructions in the
web2py book give a download link. It's not necessary any longer. But some
paths have changed, and the configuration process is more automated.
https://pypi.python.
Hey i was creating a custom widget for a checkbox and i wanted to keep the
value when the form doesnt validate.
This is the declaration for the input:
chk = request.post_vars[field.name] != None
if chk:
_input = INPUT(_type="checkbox", _name=field.name, _class="checkbox",
_checked=
I was trying to replace the Normal Upload button in {{form}} with a button
with nice jquery Browse/File button
I can see the view correctly, but the Submit button does not Submit the
fields to the Database.
Following is the code I am trying
>
>
> > method="post">
>
>
>
> > id="logs_db_c
Ok that's cool. Will SQLITE be good to design a social networking site or
should I go for MYSQL? What's your opinion on it?
On Monday, December 14, 2015 at 10:26:38 AM UTC+5:30, Anthony wrote:
>
> On Sunday, December 13, 2015 at 11:14:49 PM UTC-5, RAGHIB R wrote:
>>
>> And what is capacity of MYS
Please show the code you are using to generate and process the form.
On Monday, December 14, 2015 at 12:57:17 AM UTC-5, Jitun John wrote:
>
> I was trying to replace the Normal Upload button in {{form}} with a button
> with nice jquery Browse/File button
>
> data-buttonName="btn-primary"data-but
On Monday, December 14, 2015 at 1:48:48 AM UTC-5, RAGHIB R wrote:
>
> Ok that's cool. Will SQLITE be good to design a social networking site or
> should I go for MYSQL? What's your opinion on it?
>
It doesn't depend on the type of site but on the amount of traffic, so hard
to say. You could alwa
Use the "value" argument instead of _checked:
_input = INPUT(_type='checkbox', _name=field.name, _class='checkbox',
value='on' if request.post_vars[field.name] != None else '')
Anthony
On Monday, December 14, 2015 at 12:33:39 AM UTC-5, Alfonso Serra wrote:
>
> Hey i was creating a
As a response to myself,
with a date field, db((db.auth_user.end_date == end)).select() is working.
I nonetheless would appreciate to know what is the expected status of the
former query with datetime field on GAE.
-Mathieu.
On Sun, Dec 13, 2015 at 3:58 PM Mathieu Clabaut wrote:
> Hello,
>
As intuitive, 'delete' doesn't match for the keyword for deletion.
--
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 because you a
23 matches
Mail list logo