I would like to cache every row of my database table, in order to be able
to do updates based in the key query.
This would be my table:
channel :string (Unique)
id_playing: integer
tstart: integer
duration:integer
order: integer
The querys are like
I am running apache2 under ubuntu 12.04 with mod_wsgi. I have a single WSGI
Daemon which both the *:80 and *:443 virtual servers use. I would like to
be able to debug applications but apache hangs and needs to be restarted if
I call a controller function with a breakpoint in it. It's basically t
Thanks. Here is the issue in case anyone is interested:
http://code.google.com/p/web2py/issues/detail?id=1395
On Wednesday, January 22, 2014 3:39:56 PM UTC-5, Anthony wrote:
> This is a bug, and an issue has been created. Yes, you should be able to
> make the change directly in the database.
Make a pull request!!
:)
Richard
On Thu, Jan 23, 2014 at 4:28 PM, Wei Wang wrote:
> Thanks. I didn't know the book is in Github.
>
> I forked it and edited the file, which is here: g...@github.com:
> ww9rivers/web2py-book.git
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/boo
Sorry, my bad. I failed to see some lines in db.py that negated my code
fragment.
On Thursday, 23 January 2014 17:22:07 UTC-5, Jaime Sempere wrote:
>
>
> This could be related:
> https://groups.google.com/forum/#!searchin/web2py/gmail/web2py/CU_1qWYixjI/A2IuDsRDJ_oJ
>
> (Although you said that
This could be
related:
https://groups.google.com/forum/#!searchin/web2py/gmail/web2py/CU_1qWYixjI/A2IuDsRDJ_oJ
(Although you said that email works in another app which is weird)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (S
Thanks. I didn't know the book is in Github.
I forked it and edited the file, which is here:
g...@github.com:ww9rivers/web2py-book.git
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/is
If there's no error message it may be something different. Please copy the
error trace, and tell us your web2py version number.
El jueves, 23 de enero de 2014 16:09:44 UTC+1, Bastiaan van der Veen
escribió:
>
> Still not working for me, the forgot password form behaves exactly the
> same as bef
cool, why not add this configuration into web2py book?
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 received this message bec
If you are familiar with Github, you can commit the change here :
https://github.com/mdipierro/web2py-book
:)
Richard
On Thu, Jan 23, 2014 at 1:48 PM, Wei Wang wrote:
> Hi,
>
> There is an error in this section of the Reference Manual book:
>
> http://web2py.com/books/default/chapter/29/04/t
got it, thank you so much for the reference niphlod
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 received this message becaus
What about
return DIV(TAG[''](*opts, **attr))
Il giorno giovedì 23 gennaio 2014 19:45:20 UTC+1, Annet ha scritto:
>
> I have the following custom checkboxes widget:
>
>
> def bs3checkboxeswidget(field, value, **attributes):
>
> if isinstance(value, (list, tuple)):
> values = [str(v)
Hi,
I am writing a web2py application, that pulls HTML output from another web
app (specifically, Splunk web, if anyone cares).
Here is the function that I have arrived at the moment:
import requests as http
def splunk():
kwargs = dict(verify=False)
svc = request.get_vars.get('service'
Hi,
There is an error in this section of the Reference Manual book:
http://web2py.com/books/default/chapter/29/04/the-core#response
Specifically, this:
response.stream(file, chunk_size, request=request, attachment=False,
filename=None, headers=None)
does not match the function signature in th
I have the following custom checkboxes widget:
def bs3checkboxeswidget(field, value, **attributes):
if isinstance(value, (list, tuple)):
values = [str(v) for v in value]
else:
values = [str(value)]
attr = OptionsWidget._attributes(field, {}, **attributes)
attr['_
I know that this is a dumb question, but I have a database with static data
entry ids 17 to 100. When I download the CSV, it has the x.id field and
the corresponding number. However, when I create a new database and upload
the data using the db admin, it automatically renumbers these entries.
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Gotchas
Start reading at "*MSSQL has problems with circular references in tables
that have ONDELETE CASCADE"*
On Thursday, January 23, 2014 12:18:58 PM UTC+1, 黄祥 wrote:
>
> hi tim,
>
> i'm running on windows 7 32 bi
*Thank you LightDot !*
Your answer solved the problem immediately and elegantly:
When deploying to W2P with MySQL to PythonAnywhere = PA (and as LightDot
mentioned - possibly other hosting sites as well) - the DAL db connection
definition should be (*Italic* is LightDot elegant suggestion):
*d
Had this problem deploying MySQL and the W2P recipe in the book:
"Migration problems can also be fixed for all tables at once:
db = DAL(...,fake_migrate_all=True) "
Solved it immediately !
On Thursday, January 12, 2012 12:29:29 AM UTC-5, Lewis wrote:
>
> web2py has failed when the authuser tabl
I'm using "@auth.requires_login()" to have a user register himself. I've
modified the code in db.py to:
mail=auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'drsommers4stressrel...@gmail.com'
mail.settings.login = 'drsommers4stressrelief:password'
I got th
One question -- in case the translate button is pressed, do you need to
call .validate and run the onvalidation function, or is validation
unnecessary in that case (if the latter, you can just move all the
translate logic to before validation).
Anthony
On Thursday, January 23, 2014 8:01:54 AM
Still not working for me, the forgot password form behaves exactly the same
as before, the forgot username is fully functional
Op woensdag 15 januari 2014 21:01:04 UTC+1 schreef pa...@cancamusa.net:
>
> I have the same problem, and it doesn't work remotely.
>
> Just for reference, I saw it is cor
This is good...
http://killer-web-development.com/
--
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 t
AFAIK, the server name should be mysql.server, not
username.pythonanywhere.com. The rest seems correct, including the
username$default for the db name, which might seem odd to some.
BTW, localhost is often used for a server name on various hosting
providers, meaning that you are making a local
The controller is pretty lengthy, find a stripped-down version below. Yes,
I'm using several custom buttons which submit the form via JS, there's a
Save, a Save As, and a Translate button, identified by a hidden,
JS-generated form variable.
The Translate button translates some form content int
have you already checked http://web2py.com/book ?
while a few how-to are published on web2pyslices.com
regards
Paolo
On Thursday, January 23, 2014 1:15:56 PM UTC+1, Cristiano Araujo wrote:
>
> hello world,
>
> can u give me reference about some good books for web2py development?
>
--
Resources:
After disabling the key constraints none of those errors about it have
appeared. I am grateful for the assistance and will return it anyway I
can. I will post a summary here for anyone attempting this also. Thanks a
million!
On Wednesday, January 22, 2014 12:03:26 PM UTC-6, web2pygroup wrote
hello world,
can u give me reference about some good books for web2py development?
--
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 mess
>
> We are in an opensource shy team that is very concerned about licensing.
> I see that the Web2py license is LGPL3, but does Web2py carry any other
> license implications such as GPL, GPL2 in it's parts?
>
Given that there is contributed code included with the default package, and
they ha
We are in an opensource shy team that is very concerned about licensing. I
see that the Web2py license is LGPL3, but does Web2py carry any other
license implications such as GPL, GPL2 in it's parts?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/
hi tim,
i'm running on windows 7 32 bit, with web2py 2.8.2 and sql server express
2012 32 bit with advance service. the application and database is fresh (no
data exists and for application create new and copy paste the files).
best regards,
stifan
--
Resources:
- http://web2py.com
- http://
Hi Stifan,
what version of web2py are you using? And what platform are you running it
on? Also, it may be interesting to know what version of mssql you are
using.
On Thursday, 23 January 2014 11:53:03 UTC+11, 黄祥 wrote:
>
> hello folks,
>
> is there any adjustment for table when change database
INPUT(_name='password', _type='password')
because INPUT(_password='password') is a nonsense.
On Wed, Jan 22, 2014 at 8:14 PM, Lucas Schreiber <
lucas.schreiber.pri...@gmail.com> wrote:
> Hi, i thought the form worked good, but unfortunally i was wrong.
> name = form.vars.name contains the data
33 matches
Mail list logo