I did this not on purpose, it was copy-past issue. The error I got was
quite misleading. May this could be improved bij the validation.
On Sunday, August 31, 2014 6:32:37 PM UTC+2, Niphlod wrote:
>
> hm. sorry, you got that already: you have two fields with the same name.
> What are you trying t
prevent_drift is yet on core since 2.8.2
On Monday, September 1, 2014 8:11:18 AM UTC+2, Yi Liu wrote:
>
> Hi, any updates on Cron_style scheduler?
>
> Scheduler is definitely more powerful than cron? Unfortunately, it cannot
> do what cron can do simply :( I am developing a web app that scrapes a
I did this not on purpose, it was copy-past issue. The error I got was
quite misleading. May this could be improved bij the validation.
On Saturday, August 30, 2014 9:13:09 PM UTC+2, Richard wrote:
>
> I have used an sql form for adding records with date fields.
> I added 2 date fields on a tabl
It looks like GAE has the 'Projection Query' feature to allow selecting a
subset of columns / properties:
https://developers.google.com/appengine/docs/python/datastore/projectionqueries
On Friday, August 29, 2014 11:18:00 PM UTC-5, Massimo Di Pierro wrote:
>
> This should work, can you please ope
Ok,
I did not test this but from what can see from here the line below needs to
be changed. (This line does not yet consider NDB.)
def BELONGS(self, first, second=None):
if not isinstance(second, (list, tuple, set)):
raise SyntaxError("Not supported")
if not self.use_ndb:
if isinstance(s
Thanks, Niphlod. I've gotten closer to a solution with your suggestion.
However, there's still something of an issue. I start off by storing the
path to the image field which I would like to copy, and creating a stream
for the corresponding image
image_filename_as_list = image_row.image
Just read carefully and found that in the book. Thanks!
On Monday, September 1, 2014 12:53:29 AM UTC-7, Niphlod wrote:
>
> prevent_drift is yet on core since 2.8.2
>
> On Monday, September 1, 2014 8:11:18 AM UTC+2, Yi Liu wrote:
>>
>> Hi, any updates on Cron_style scheduler?
>>
>> Scheduler is def
Seems like you need this:
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Rendering-rows-using-represent
This way you can render the fields using their represents before returning
them to the user.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
Hello all.
I've got a strange error with my menu.
If I set an URL in my menu to a page name that's have the same name as my
domain name, web2py add default to my URL.
For example:
response.menu = [
(T('Home'), False, URL('default', 'index'), []),
(T('Contacts'), False, URL('default', 'c
Humm this might be a bug because the IMAP adapter does this:
# decode quoted printable
self.db[name].to.represent = self.db[name].cc.represent = \
self.db[name].bcc.represent = self.db[name].sender.represent = \
self.db[name].subject.represent = self
are you using some url rewrite facility ?
On Monday, September 1, 2014 8:43:02 PM UTC+2, Gael Princivalle wrote:
>
> Hello all.
>
> I've got a strange error with my menu.
> If I set an URL in my menu to a page name that's have the same name as my
> domain name, web2py add default to my URL.
>
> F
No.
Il giorno lunedì 1 settembre 2014 21:13:27 UTC+2, Niphlod ha scritto:
>
> are you using some url rewrite facility ?
>
> On Monday, September 1, 2014 8:43:02 PM UTC+2, Gael Princivalle wrote:
>>
>> Hello all.
>>
>> I've got a strange error with my menu.
>> If I set an URL in my menu to a page n
That seemed like the solution. But render() returns a generator, and the
json converter doesn't work with it directly. So, I could run it thru a
for loop to materialize the rows, but that feels again like I'm beginning
to swim upstream. Plus, I'd have to do this individually for each rest URL
sure ?
URL('default', 'contacts') needs to generate
mydomain.com/appname/default/contacts then...
Every non-shortened/non-rewritten url has
host.com/app/controller/function
an URL('default', 'contacts') combines to controller='default',
function='contacts', so
host.com/appname/default/conta
BTW: for "url rewrite facility" I mean every possible incarnation of
routes.py.
--
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
Dear All.
I am try to use Geraldo Reports with web2py and i am following this howto:
http://www.geraldoreports.org/docs/tutorial-web2py.html
But i received a error with this import
>>> from reports import ReportPurchase
Traceback (most recent call last):
File "", line 1, in
ImportError: No
You are missing dependencies. Probably reportlab.
--
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 to
Many thanks for reply however this doesn't seem to be a complete fix - code
is failing on the 'in' piece of this filter function and I am not clear
how this relates to the belongs code up above.
Regards
Russ
GAE_FILTER_OPTIONS = {
'=': lambda q, t, p, v: q.filter(getattr(t,p) == v),
On Friday, 29 August 2014 14:22:56 UTC+1, Gary Cowell wrote:
>
> Hello
>
> I have the following in models:
>
> db.define_table('senders',
> Field('sender','string',length=80,label="Sender"))
>
> db.define_table('documents',
>
> Field('description','text',requires=IS_LENGTH(256,1),label="
I've created new issue:
https://code.google.com/p/web2py/issues/detail?id=1975&start=100
W dniu sobota, 30 sierpnia 2014 01:32:45 UTC+2 użytkownik Massimo Di Pierro
napisał:
>
> Please open a ticket. Which python version?
>
> On Thursday, 28 August 2014 08:19:42 UTC-5, Maciej S wrote:
>>
>> Some
I am quite new in web2py and trying to show line breaks inside checkbox
labels, but couldn't figure out how to prevent web2py from sanitizing the
tags. My example code is as follows:
in model:
x = [1, 2, 3]
y = ['Apple', 'Banana', 'Cherry']
for i in range(0, len(y)):
y[i] = y[i] + "" + str(x[i])
I have Python 2.7.5
W dniu sobota, 30 sierpnia 2014 01:32:45 UTC+2 użytkownik Massimo Di Pierro
napisał:
>
> Please open a ticket. Which python version?
>
> On Thursday, 28 August 2014 08:19:42 UTC-5, Maciej S wrote:
>>
>> Some time ago I posted question on stackoverflow, and I still don't have
Thank you Massimo. But that did not work.
I'm new to web2py so there could be something i don't understand.
Some suggestions for improvement (I use the bootstrap 3 version)
If Pluraltablename is part of the grid, then it should be within
the grid div / grid classes so I can css it away easily.
Pl
Hello,
Ok let's start with some info.
-i use cross-domain request( my project is a local application but can
interact with a database )
-https
-apache2
-ubuntu server 14.04
-sqlLite
and the controller is simple as f***
if request.env.http_origin:
response.headers['Access-Control-Allow-Ori
Thanks
เมื่อ วันอาทิตย์ที่ 31 สิงหาคม ค.ศ. 2014, 9 นาฬิกา 57 นาที 04 วินาที UTC+7,
Massimo Di Pierro เขียนว่า:
>
> Nico has helped edit and re-organize some my class lectures about web2py.
> They are now split into 30 small videos:
>
> https://vimeo.com/album/3016728
>
> Please join me in
This is a much improved revision. Lots of the changes are internal rewrites
to strengthen the security and enable porting to bootstrap 3 in the next
version. The list below does not give justice to how much work went into
this release. Much better GAE support too. I strongly encourage you to
up
Could you post the stacktrace?
--
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 to the Google Groups
sqlite locks the entire database for every read and write operation.
On Monday, September 1, 2014 11:14:28 AM UTC+2, replays...@gmail.com wrote:
>
> Hello,
>
> Ok let's start with some info.
>
> -i use cross-domain request( my project is a local application but can
> interact with a database )
>
28 matches
Mail list logo