in sqlhtml there is a TSV exporter though...
On Wednesday, March 11, 2009 9:08:27 AM UTC-7, mdipierro wrote:
There is no configuration parameter to do so. You mat create your own
csv serializer. look into the python csv module.
On Mar 11, 10:01 am, Marco Prosperi marcoprosperi...@gmail.com
You could monkey-patch the dal 'rows' object __str__ by making it export as
a TSV.
On Wednesday, March 11, 2009 8:01:42 AM UTC-7, Marco Prosperi wrote:
hello everybody,
how can I change the following function (defined in appadmin.py
controller) so that the downloaded file has tab separated
Perhaps it would be a nice feature to add to the smartgrid - in place ajax
update / addition.
So you'd just add a smartgrid to your form, and you can click 'add' and
right in place you can add a new record to the grid / db.
On Tuesday, January 8, 2013 11:43:31 AM UTC-7, Henrique Pantarotto
Take a look at this - maybe it's similar to what you need...
http://www.web2pyslices.com/slice/show/1432/insert-and-delete-ajax-show-process
On Monday, January 7, 2013 12:02:01 AM UTC-7, Henrique Pantarotto wrote:
Hello everybody!
I'm quite new to Python and web2py, but I consumed all of
Take a look here for a somewhat similar example...
http://www.web2pyslices.com/slice/show/1387/upload-image-and-make-a-thumbnail
You'll need the PIL (python image library) installed.
On Tuesday, January 8, 2013 11:43:36 AM UTC-7, Daniele wrote:
How can i make it so that when a user uploads an
#
# db.table_name.picture.requires = RESIZE(200, 200)
#
# # to store original image in picture and create a thumbnail in
'thumbnail' field
#
# from images import THUMB
# db.table_name.thumbnail.compute = lambda row: THUMB(row.picture, 200, 200)
On Tuesday, January 8, 2013 12:03:37 PM UTC-7, Derek wrote:
Take
It seems to me that you could add a 'next' button on that page, which would
take request.args(0)+1 and formulate your HREF that way.
On Tuesday, January 8, 2013 2:43:46 PM UTC-7, D.P. wrote:
I'm using solidtable to pull a selection from a database and display that
selection (with the ability
I don't see it as an issue, but I'd consider merging those css files into
one, to reduce the amount of requests that need to be made. The fact that
they are CSS files and not hard-coded means that you aren't mixing them up,
since they are still separate.
On Monday, January 7, 2013 6:23:22 AM
You need to have the column names in the first line of the csv.
On Friday, January 4, 2013 10:30:08 AM UTC-7, JoeCodeswell wrote:
i am using Version 2.3.2 (2012-12-17 15:03:30) stable
sorry for no mentioning that before.
Love and peace,
Joe
On Friday, January 4, 2013 9:14:53 AM UTC-8,
You are talking about this?
http://fluxodecaixa.com.br/
On Friday, January 4, 2013 3:36:28 AM UTC-7, Ramos wrote:
hello.
what does it mean the graph in the about page under Project progress?
Thank you
António
--
You can look at this Epydoc:
http://www.web2py.com/examples/static/epydoc/index.html
On Friday, January 4, 2013 1:37:03 PM UTC-7, rh wrote:
Hello,
I have downloaded all ~100 MBs of the docs locally and can browse them
fine. (although I only wanted the latest english docs I got multiple
but wouldn't his 'requires=' catch this before it even gets to the db?
On Friday, January 4, 2013 3:51:30 PM UTC-7, Michele Comitini wrote:
Possible solutions:
1. Probably Bruno Rocha can help you better, so you can try to post a
issue on github.
2. You can find what is the parent_id you
It seems to me that you are storing data in the session which should
actually be linked to the auth_user table.
On Thursday, January 3, 2013 1:39:10 AM UTC-7, Annet wrote:
Massimo,
Thanks for your reply.
It is not clear to me what you are storing in session.
I have a table 'node' and
I give you a plus one for this. The way I use it, is I just have a
'onclick=javascript:$.blockUI({ backgroundColor: '#f00', color: '#fff'});
' and notice that it does not 'return false' so that the click gets handled
by the form handler.
On Monday, December 31, 2012 8:36:15 AM UTC-7, Anthony
Well, you'd want the database to just fetch the last 25 or so messages when
the link loads for the first time.
Your browser probably needs to refresh.
I use firebase.com for my realtime chat / database backend. It works
great. I built a chat system that works fine, now I'm working on a
Use the 'request.user_agent()' to determine which version of content to
send. That will get you the scraper (aka robot) reading what you want.
As far as people with javascript disabled, I'd suggest you ignore those
users, it amounts to less than 2% anyway.
On Sunday, December 30, 2012 10:19:29
Looks like the OpenIDAuth uses the reserved keyword user for the name of
a field.
On Monday, December 31, 2012 7:00:14 AM UTC-7, mweissen wrote:
Hi,
I want to try OpenID. I have found the following chapter in the book (rev.
4.9):
-
OpenID
We have
Your labor_report should take those two variables then. Unless of course,
you store them in a session.
On Monday, December 31, 2012 5:29:33 PM UTC-7, Paul Rykiel wrote:
hello,
I have two form vars
1) startDt (defined as _class=date
2) endDt (defined as _class=date
if
Yes, it's pretty much the same, you can also generate web2py from it, and
it works just fine. Well, the relations needs a bit of work, but it does
make it easier.
On Friday, December 28, 2012 12:12:32 AM UTC-7, Massimo Di Pierro wrote:
Didn't we have this already?
http://gaesql.appspot.com/
the log, you are essentially changing
history (which we all should know is impossible).
In any case, you can count this as a vote for not allowing undeletes by
changing the is_active flag.
Thanks,
Derek Wilson
On Wednesday, December 26, 2012 10:02:38 PM UTC-7, Mandar Vaze wrote:
On Wed
Have you tried:
a = XML(circle cx='200' cy='500' r='10' /)
?
On Wednesday, December 26, 2012 11:52:54 AM UTC-7, jonas wrote:
Hi. Is there any way to generate xml svg via controllers? svg can be made
by using declarative syntax, i.e xml instead of javascript. is it possible
to return an
If auditing is turned on, you need to be able to see that the record was
once deleted. I believe that to undelete, you should create a new record
with is_active set to true.
On Wednesday, December 26, 2012 10:38:27 AM UTC-7, Massimo Di Pierro wrote:
there is a ticket about. I understand the
If you only need one date, why not display just one date?
On Friday, December 21, 2012 2:01:59 PM UTC-7, Mamisoa Andriantafika wrote:
I have pb to show the coalesce date in view.
I tried;
exams_mutex['COALESCE(dataset1.date,dataset1.date)']
but it is not working?
Le jeudi 20 décembre
The data is gone. Let this be a reminder to all of you out there, back up
your data and back it up often. Also, it's not backed up if you can't
restore it, so test out restores as well.
On Wednesday, December 19, 2012 9:08:47 AM UTC-7, LightDot wrote:
First, make a couple of physical copies
Yeah, I got the same issue as you. I have a site called 'customers2' and a
controller 'customer' and a function 'index' - when i add a '.xml' onto
'index' i get this:
invalid view (customer/index.xml)
On Wednesday, December 19, 2012 2:38:36 PM UTC-7, lucas wrote:
hello one and all,
i am
clicking the 'demo' links, all the demo sites look like crap and have
serious issues with navigation.
http://web2py.com/demo_app1/default/index
clicking on the 'categories' - nothing happens.
http://web2py.com/demo_app2/default/index
once again, clicking on the 'categories' does nothing,
and
This is telling me that your system doesn't support sha512?
On Monday, December 17, 2012 3:31:48 PM UTC-7, samuel bonilla wrote:
@servicios_publicos.json
def login(usuario, password):
respuesta = {}
user = auth.login_bare(usuario, password)
if not user:
Make sure you have OpenSSL installed.
On Monday, December 17, 2012 4:04:51 PM UTC-7, Derek wrote:
This is telling me that your system doesn't support sha512?
On Monday, December 17, 2012 3:31:48 PM UTC-7, samuel bonilla wrote:
@servicios_publicos.json
def login(usuario, password
There may also be a way to trigger the 'onunload' event, but since that's
tied to the specific page you're on, you'll trigger it quite a bit if you
don't load everything using ajax.
On Wednesday, December 12, 2012 7:19:15 AM UTC-7, Massimo Di Pierro wrote:
Big can of worms. How do you define
I suppose so. You could just take an empty list, append request.vars.mylist
to it, and then it should definitely be a list.
On Tuesday, November 20, 2012 12:08:36 PM UTC-7, SamD wrote:
Thanks, I found those fixes useful. At the same time, it is quite a pain
to have a message of error saying
IntegrityError is a subclass of Database - you need to catch
psycopg2.database.integrityerror
On Tuesday, December 11, 2012 9:43:04 AM UTC-7, Richard wrote:
Hello,
I try to write a ondelete function that will try to delete a record and if
fall on the exception : class
The problem with IS_IN_DB is that it creates a foreign key constraint - It
appears you have 'zero=choose one' - you're adding a foreign key that
isn't actually in the database. I'd suggest that you add choose one to
the requirement_priorities table, and add in validation logic to throw an
Of course, you should follow the web2py principle - everything should have
a default behavior. Default the priority to the lowest possible, or the
most frequently used value.
On Monday, December 10, 2012 3:33:15 PM UTC-7, Derek wrote:
The problem with IS_IN_DB is that it creates a foreign key
web2py is not the issue here.
The issue is that in 2013 somebody can attend PyCon and not will not be
exposed to any other web framework but Django (12 talks + tutorials) and
Pyramid (2 talks).
Exactly, Even if web2py is not in the talks, the fact that there is only
two web
1. for textarea, set _rows and _cols.
2. press shift-enter instead.
3. _disabled?
On Wednesday, December 5, 2012 6:46:16 AM UTC-7, Francisco Barretto wrote:
Hi there, it might be (and probably is) a silly but I have a series of
questions concerning the following form:
I'd also like to add that you should be able to find this by looking at the
source code. In gluon/html.py. It is surprisingly readable.
On Wednesday, December 5, 2012 9:48:23 AM UTC-7, Derek wrote:
1. for textarea, set _rows and _cols.
2. press shift-enter instead.
3. _disabled
mssql 2005 and above has row_number which would allow pagination.
On Tuesday, December 4, 2012 7:49:21 AM UTC-7, Massimo Di Pierro wrote:
This is a similar problem as mssql which does not support pagination.
I just committed to trunk a new adpater:
DAL('informix-se://.')
please give
I did a search on this error message and everything I saw said that there
is some invalid data in the database (ie - the data doesn't match the
schema).
On Tuesday, December 4, 2012 6:34:00 AM UTC-7, Rakesh Singh wrote:
Hi,
I am having an issue querying a referenced column using the
For this kind of thing, triggers are great.
On Tuesday, November 27, 2012 10:23:13 AM UTC-7, Wes Hall wrote:
Understood, this is a database issue. My expense comment was referring to
frequently checking the db for changes, not the actual query.
Friendly names should 10, teacher list
The log file should tell you what the issue is. You might also want to look
in the windows event logs, it may have more details as to what failed.
On Wednesday, November 14, 2012 12:30:38 AM UTC-7, David Sorrentino wrote:
Hello Derek and Tim,
First of all thanks for your reply. :)
@Derek
Wouldn't that also leave the uploaded file in the uploads folder?
On Tuesday, November 13, 2012 10:00:24 AM UTC-7, Christian Espinoza wrote:
Well, thanks anyway, its was resolved using the base code from
http://stackoverflow.com/questions/8008213/web2py-upload-with-original-filename
Using
I'd use a before_delete function to check if the checkbox 'yes im sure -
delete' was checked. if not checked, don't delete. don't enable the delete
button until that box is checked is another option
On Tuesday, November 13, 2012 1:26:08 PM UTC-7, Richard wrote:
Hello,
I would like to
Check your log files. Are you getting any errors?
On Monday, November 12, 2012 3:32:07 AM UTC-7, David Sorrentino wrote:
Hello folks! :)
I am trying to run web2py as Windows service, but no positive results.
Following the recipe on the online book, I edited the file options.py.
The file
Why not just use before_update?
On Friday, November 9, 2012 10:53:21 AM UTC-7, Jim S wrote:
I'm missing something. I have a table where I want to react to changes to
a particular field. I'm trying to use the _after_update callback check for
this. However, using this it appears to me that
No, he's trying to use a web2py function within the javascript, or have
web2py write javascript instead of html. I'm not sure it can do that.
On Friday, November 9, 2012 3:37:10 AM UTC-7, lyn2py wrote:
Do you mean that you want the code to appear on the webpage?
Save your code into a file
Use before_update to store the current data in the session, then the
after_update would have access to it.
On Friday, November 9, 2012 11:55:36 AM UTC-7, Jim S wrote:
Because the update may fail.
-Jim
On Friday, November 9, 2012 12:20:18 PM UTC-6, Derek wrote:
Why not just use
Cool, I might have suggested using versioning if all you are trying to do
is to track changes.
On Friday, November 9, 2012 3:38:28 PM UTC-7, Jim S wrote:
Just reporting back. The _before_update is working perfectly for me.
-Jim
On Fri, Nov 9, 2012 at 3:45 PM, Jim Steil ato@gmail.com
try using groupby and sum
http://web2py.com/books/default/chapter/29/06#sum,-avg,-min,-max-and-len
On Friday, November 9, 2012 1:10:40 PM UTC-7, Rocco wrote:
(I already post this question, but it was deleted in few seconds and no
reason was mentioned. I try to repost it, removing formatting
Why would you need to create an action for the form? Are you not using self
submit?
On Wednesday, November 7, 2012 12:22:03 PM UTC-7, Simon Carr wrote:
I have this piece of code that calls a function in my controller when
clicked.
{{=A('Add to My
Just running that in Python I get an error.
(Número de serie: +100).decode(utf8).encode(latin1)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfa in position 1:
invalid start byte
I noticed that first line:
#coding: utf8
ú - this is a latin1 character, so you have an invalid python
Well, what are you seeing when you go to the url yourself?
On Thursday, October 11, 2012 2:22:03 AM UTC-7, Timo W wrote:
Hey,
I want to call a function that I defined in the Controller from javascript
via AJAX. When the function returns a string everything is perfect, but
when it returns
You are doing nothing wrong, perhaps you had a misunderstanding of how
versioning works.
Do do what you want, look at the before_delete callback. You'd want to
return 'true' to abort the delete operation.
http://web2py.com/books/default/chapter/29/06#before-and-after-callbacks
On Monday,
http://web2py.com/books/default/chapter/29/06?search=reserved#Reserved-keywords
Standard SQL keywords are normally reserved in all SQL databases. Order
is a sql keyword, so it may not be reserved by web2py but the database
itself. To give you an example, here are a few...
And if you want to see what ones are reserved, check here:
gluon/reserved_sql_keywords.py
On Monday, October 8, 2012 12:49:00 PM UTC-7, Niphlod wrote:
that's because probably you are using names that your db does not allow as
names because they are functions (i.e. naming a field select
web2py is light? first i've heard... well, it seems that you are getting
these errors because it does not have write access?
You can try the recipe listed here:
http://web2py.com/book/default/chapter/13#Memcache
This replaces the disk cache with memcache.
On Saturday, October 6, 2012 6:46:17
Just wanted to add, keep reading down that page, it shows how web2py is
configured for GAE (google app engine) because GAE also doesn't have access
to the file system. That could be useful for what you are trying to do.
On Monday, October 8, 2012 1:02:38 PM UTC-7, Derek wrote:
web2py is light
Massimo, I agree with your points, not necessarily 3, but then again, i've
had many years of experience writing sql queries, so i know what can go
wrong, and i know why you might say that to a beginner.
On Friday, October 5, 2012 7:24:40 AM UTC-7, Massimo Di Pierro wrote:
I am not sure about
did you open an issue?
http://code.google.com/p/web2py/issues/list
On Saturday, October 6, 2012 11:28:32 AM UTC-7, Gerd wrote:
Hi!
Any updates on this?
Am Sonntag, 30. September 2012 16:16:33 UTC+2 schrieb Gerd:
Hi!
I'm actually using V2.0.9 and the error is still active. Is it fixed in
Yea, 2.0.9 didn't have the fix for this. That was an issue that I reported.
It just means you are trying to access the database view of a ticket and
there are no tickets.
On Tuesday, October 2, 2012 7:54:37 AM UTC-7, Massimo Di Pierro wrote:
If you use trunk, please use the latest. I have no
, Derek wrote:
Yea, 2.0.9 didn't have the fix for this. That was an issue that I
reported. It just means you are trying to access the database view of a
ticket and there are no tickets.
On Tuesday, October 2, 2012 7:54:37 AM UTC-7, Massimo Di Pierro wrote:
If you use trunk, please use
, I'd hate to leave the Russians out in the cold (lol).
On Friday, September 28, 2012 6:15:14 PM UTC-7, Massimo Di Pierro wrote:
Should this line be there in the default generic.xml?
On Friday, 28 September 2012 20:02:26 UTC-5, Derek wrote:
https://web2py.com/books/default/chapter/29/10#HTML
I think we all might be asking for the same thing then - can we make the
webserver pluggable, like how the databases are now? So if I install
Tornado, or Gunicorn, or whatever, I can just specify that in a config
file, or perhaps the little gui that comes up i can specify which webserver
i
FYI, distinct is the same as group by all.
On Saturday, September 22, 2012 3:18:32 PM UTC-7, Massimo Di Pierro wrote:
Looks like postgres is picky and wants in groupby all the selected fields
in distinct. This should work:
rows = db(data.id==tag.record_id)\
Yea, we get it. Pure python is not a requirement for most of the people who
use this software. It is important to you, and I can understand your design
decision to keep it that way, but still, we were just talking about
alternatives, not a new default.
On Monday, October 1, 2012 1:58:14 PM
I'd alter your suggestion a bit - if a game always two and only two teams,
then assuming it is like baseball or soccer or football, you'd have two
teams, a 'home' team and an 'away' team. So, there would be a 1-1 mapping,
not a 1-many.
On Monday, October 1, 2012 1:46:38 AM UTC-7, Cliff
Have you ever tried using AngularJS with Web2py? It's a mess because all
the instructions I tried didn't work.
You can't use their templates at all, you have to do this:
span ng:bind=item.name/span
instead of the much easier {{item.name}}
I would love to use Angular or something similar
Waitress? But it's not a single file.
On Friday, September 28, 2012 5:38:10 AM UTC-7, Massimo Di Pierro wrote:
Anyway, to my knowledge cherrypy is the only pure-python single-file
ssl-enabled web server, apart for rocket. Are there others?
On Friday, 28 September 2012 07:37:28 UTC-5,
'
except:
raise HTTP(405,'no xml')
}}
Make your own file, except, you want to add another response.write before
it and include your ?xml version=1.0 encoding=ISO-8859-1?
On Wednesday, September 5, 2012 10:18:51 PM UTC-7, Hassan Alnatour wrote:
Dear derek,
This is my first time useing web
I get an error message now when I click the 'save' button. I'm using the
codemirror editor. It says:
Uncaught ReferenceError: area is not defined -- ajax_editor.js:36
It was working in 2.0.6 - all I did was download the 2.0.9 source and
overwrite everything.
Any ideas?
--
Update - downloaded the nightly, same issue exists.
On Monday, September 24, 2012 4:11:33 PM UTC-7, Derek wrote:
I get an error message now when I click the 'save' button. I'm using the
codemirror editor. It says:
Uncaught ReferenceError: area is not defined -- ajax_editor.js:36
/static/js/ajax_editor.js#L36
Does not look there a variable area. Perhaps this file was not upgraded?
Massimo
On Monday, 24 September 2012 18:19:38 UTC-5, Derek wrote:
Update - downloaded the nightly, same issue exists.
On Monday, September 24, 2012 4:11:33 PM UTC-7, Derek wrote:
I get
You don't suppose the if-not-modified tag isn't working?
On Monday, September 24, 2012 4:32:28 PM UTC-7, Derek wrote:
Well, I checked and it was there. I cleared my cache in google chrome and
I got the new file. It's saving now. Thanks!
On Monday, September 24, 2012 4:26:23 PM UTC-7
invalid function.
On Monday, September 24, 2012 4:32:53 PM UTC-7, Derek wrote:
You don't suppose the if-not-modified tag isn't working?
On Monday, September 24, 2012 4:32:28 PM UTC-7, Derek wrote:
Well, I checked and it was there. I cleared my cache in google chrome and
I got the new file
I'm all for 3NF but if you are making a postal address table and you want
to split the states and cities out of the same table, even though they will
almost always be used together, that's just dumb IMHO. You shouldn't have
3NF just for the sake of having it, you should use it if it makes
Create a template with xmlservice.xml and add the appropriate fields.
On Wednesday, September 5, 2012 12:50:28 AM UTC-7, Hassan Alnatour wrote:
Dear Derek ,
What should i do then ??
Best Regards,
On Wed, Sep 5, 2012 at 2:01 AM, Derek sp1...@gmail.com javascript:wrote:
It is XML
Looks great, I plan on using this to setup English lessons for my wife
(whom is Russian). My only concern is that it's using Flash - she uses only
a Tablet computer - touchscreen android device. Html5 would have been a
better choice.
Thanks,
Derek
On Thursday, August 30, 2012 7:53:56 AM UTC-7
.
On Tuesday, September 4, 2012 3:48:28 PM UTC-7, Derek wrote:
Looks great, I plan on using this to setup English lessons for my wife
(whom is Russian). My only concern is that it's using Flash - she uses only
a Tablet computer - touchscreen android device. Html5 would have been a
better choice
It is XML, but it doesn't have a doctype. So, when it gets to this
character: *’* it fails to validate against UTF-8. It should probably be
this: charset=ISO-8859-1
On Tuesday, September 4, 2012 2:15:11 AM UTC-7, Hassan Alnatour wrote:
Dear ALec ,
when i go to the link i gave you
Well, I suppose you could check for trial_expires_date on every login, and
if it's none, set it.
On Thursday, August 30, 2012 9:41:27 AM UTC-7, Yarin wrote:
We have to perform a series of checks and updates on an auth_user record
as soon as their registration has been verified.
Previously,
So so so many requests, please make this a default feature
On Wednesday, August 29, 2012 7:09:43 AM UTC-7, Anthony wrote:
This is a very frequent request -- we should probably have some built in
functionality to handle this. In the meantime, check out
Read Anthony's message again. It can be either XML or A, not both. Note he
also says that you won't be able to click the link anyway.
On Wednesday, August 29, 2012 2:21:59 PM UTC-7, Claudio Zambaldi wrote:
sorry, that should read:
XML doesn't seem to render to html but to string.
The
wrong.
routes_in = ( ('/hello', '/app1/controller1/hello'), ('/bye',
'/app1/controller*2*/bye'))
On Tuesday, August 21, 2012 9:42:27 AM UTC-7, howesc wrote:
routes_in = ( ('/hello', '/app1/controller1/hello'), ('/bye',
'/app1/controller1/bye'))
On Tuesday, August 21, 2012 1:28:49
Just what I was thinking about also. However it looks like the working
demo is now invalid.
On Thursday, August 16, 2012 9:34:44 AM UTC-7, Anthony wrote:
Are you talking about this: http://code.google.com/p/web2pyhl7/
Anthony
On Thursday, August 16, 2012 4:14:12 AM UTC-4, Ulugbek Nurjonov
PM UTC-4, Derek wrote:
Would it not be possible to do something like this:
if 'db' not in dir():
db = DAL(...)
On Monday, August 13, 2012 6:43:34 PM UTC-7, rochacbruno wrote:
Thinking again...
It could be better if define_my_tables run once on the very first
request and table
As far as image filtering is concerned, these are commonly implemented as
'MTurk' tasks. Take a look at Amazon Mechanical Turk if you want this
feature. You generally want to have a photo viewed 3x and get at least 2
agreements that it is a prohibited type of image. Those that disagree get a
Couldn't you precalculate and put them in your javascript in the page
itself?
script
var nissancars = {{=XML(nissancars)}}
var toyotacars = {{=XML(toyotacars)}}
object.onchange=changeMake(this)
function changeMake(carmaker){
if(carmaker.value == nissan)
{
updateOptions(nissancars);
}
I love working with Adobe Spry Framework. It's great, and supports XML as
well as JSON for datasets.
On Wednesday, August 15, 2012 3:00:49 PM UTC-7, rochacbruno wrote:
HI,
I am not updating this project since web2py gets the SQLFORM.grid feature,
But, I am using this on some websites and
Would it not be possible to do something like this:
if 'db' not in dir():
db = DAL(...)
On Monday, August 13, 2012 6:43:34 PM UTC-7, rochacbruno wrote:
Thinking again...
It could be better if define_my_tables run once on the very first
request and table keeps defined forever from
You could monkey patch it in 0.py in models, perhaps.
On Thursday, July 26, 2012 1:10:43 AM UTC-7, Omri Har-Shemesh wrote:
I use the pickled field to store a dictionary. Since dictionary
is not defined as a serializable type for the as_dict function,
it is not returned when calling to
aww, I love to see a cute monkey patch.
On Friday, August 10, 2012 3:28:03 PM UTC-7, Omri Har-Shemesh wrote:
Hi Derek,
thanks! the as_dict method has already been fixed in trunk to handle
my use-case.
best wishes,
Omri
On Sat, Aug 11, 2012 at 12:26 AM, Derek sp1...@gmail.com
That definitely looks like a problem. Still though, I think you are taking
3NF a bit too far, no?
On Wednesday, August 8, 2012 10:08:53 AM UTC-7, Mandar Vaze wrote:
I'm using web2py version : Version 2.0.0 (2012-07-26 06:06:10) dev
I have tables defined as follows :
name = db.Table(db,
works for me too.
db(db.customers).select(db.customers.name).as_list()
On Friday, August 10, 2012 3:58:08 PM UTC-7, Vasile Ermicioi wrote:
for me that works
alist = db(db.auth_user).select().as_list()
--
Have you compiled your app?
On Monday, August 6, 2012 10:46:33 AM UTC-7, Felipe Meirelles wrote:
Hi,
I'm using web2py in a project that stands on top of a REST api. The
project is write intensive (around 110k requests a day, with all the
requests making at least 2 updates to the
You can use CSS and nth child...
.with_id:nth-child(5) {text-align: right;}
meaning the 5th child element of an element with the class with_id would
be right aligned.
On Thursday, August 2, 2012 7:46:44 AM UTC-7, Pradeesh wrote:
I am facing a problem to allign SQLTABLE data properly. How can
Looks good. I would like to see how exactly I can login via facebook. All I
see on your demo site is a login page - no signup, no 'login using
facebook'. It's quite ugly, but I won't hold that against you, it looks
better than most websites I create.
On Thursday, August 2, 2012 9:56:54 AM
I like the work these guys do.
http://www.scorpiondesign.com/
On Wednesday, July 25, 2012 11:05:49 PM UTC-7, Richard Penman wrote:
Hello,
I made this web2py app for selling digital data via PayPal:
http://sitescraper.net/data
Would appreciate feedback. If you are interested it is
Massimo, that doesn't work, as we already explained.
Traceback (most recent call last):
File C:\Temp\web2py\gluon\restricted.py, line 205, in restricted
exec ccode in environment
File C:\Temp\web2py\applications\customers2\views\default/index.html, line
88, in module
TypeError:
Ah, cool. I was going to modify the div class to support that, but it looks
like now that would be a waste of time.
On Thursday, July 26, 2012 11:24:24 AM UTC-7, Jonathan Lundell wrote:
On 26 Jul 2012, at 11:22 AM, Derek wrote:
Massimo, that doesn't work, as we already explained.
It's
Well, since BR is a subclass of DIV, and DIV overrides the __add__ as
%s%s self, other - it should work without modification, no?
On Thursday, July 26, 2012 12:43:35 PM UTC-7, Massimo Di Pierro wrote:
We can also implement BR()+BR(). how about DIV(...)-BR()? What do you
think it should do?
ah, nevermind. yes, please implement it.
On Thursday, July 26, 2012 1:22:46 PM UTC-7, Derek wrote:
Well, since BR is a subclass of DIV, and DIV overrides the __add__ as
%s%s self, other - it should work without modification, no?
On Thursday, July 26, 2012 12:43:35 PM UTC-7, Massimo Di
601 - 700 of 852 matches
Mail list logo