here is a new feature in trunk...
session.connect(request,response,separate=True)
it creates a subfolder structure of the applications/app/sessions/
folder to deal with the case very many session.
The patch was proposed by Wang Huaiyu long ago and I made some
changes.
I need people to test it.
Hi Tim, thanks for responding--no worries on the delay.
There was a mistake on my original post, mycert should be pared with the
private key, not the cert with the cert. [that's what I get with edited the
post to try and clarify it]. You can test the posted cert/key pair where
the private key
Hi,
In Version 1.89.5, I had this error when put many files in to static/
plugin_xxx folder:
File E:\web2py-XDCB\applications\admin\views\default\plugin.html in
module at line 212
IndexError: list index out of range
while path!=file_path:
if
In this scenario where i transfer a file in uploads folder i have a problem.
I cannot see or download the file via
http://127.0.0.1:8000/CrossValidation1/appadmin/download/db/ico1.gif
The ico1.gif is there but i get the error 404 Not found
So i cannot create a link in my app to that file.
What
why not send one mail with everybody in bcc?
On Nov 24, 3:50 pm, Thadeus Burgess thade...@thadeusb.com wrote:
the problem with mail.send is it creates a brand new connection to the SMTP
server *every* single time you call it.
If you are sending more than 10 emails at a time this will not be
I need to run the script in the environment web2py, via cron, but
without the introductory text on the printed output:
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010 [...]
It is very important for me to output to stdout, the information
appearing on it are
Is it possible to access the docstrings of controller functions?
i tried the following:
I added __init__.py to the controllers folder
and wrote
import applications.myapp.controllers.mycontroller
print dir(applications.myapp.controllers.mycontroller)
however this gives me
...
Hi Annet,
thank you very much for your help.
I have used notes from your log and all works excellent.
However at this time I need to do such translation in 3-rd parameter
of IS_IN_DB(...):
IS_IN_DB(db, 'lesson.id', '%(start)s')
...with field name (start) this works fine, but when I try to use any
It should work if you run web2py in shell mode and run the models,
this will define auth.
python web2py.py -S myapp -M
then do the import etc.
I just tried it on my own app, worked ok. The __init__.py had to be
there (it was empty).
Ron
On Nov 25, 1:58 am, selecta gr...@delarue-berlin.de
but i do not want to run this code in the shell but in a controller
controllers/test.py
def test():
'this is a test'
import applications.myapp.controllers.test
return dict(a = dir(applications.myapp.controllers.test))
i have similar problems for other objects like db, request ...
Hi,
Can anyone else replicate this issue (error 1 described at the top of
this post)?
It seems to be an error introduced when creating an app with the
wizard and specifying related (referenced) tables in an incorrect
order.
Thanks.
On Nov 25, 9:40 am, selecta gr...@delarue-berlin.de wrote:
why not send one mail with everybody in bcc?
It depends on your mail provider. In our case, I found out that they
do not like more than 50 recipients in one single email. So what I
often do is put 45 names at a time in BCC. I also
Same problem for me.
On 25 nov, 06:04, Anthony abasta...@gmail.com wrote:
Is the test supposed to be done without the win32 extensions installed
(I have them installed)?
Anyway, I tried the test. Before updating trunk, it behaves as you say
-- I opened two windows in quick succession -- the
On Thu, Nov 25, 2010 at 12:41 PM, villas villa...@gmail.com wrote:
I appreciate that we can send mail directly, but these days mail from
unrecognised servers is considered 'suspicious' by the recipients'
There's a big difference between 'unrecognized' and 'unidentified'.
The latter is a server
Hi Branko,
Yes, I'm sure you are probably right and I am not an expert with
this. We have just tried it various ways and we got the best results
sending via recognisable 'mainstream' mail service providers. We can
live within the limits of their quotas, so we just do it that way.
If you want to
Thanks for suggest, but I need something redirect(URL(..),
_target='new').
I fear that it doesn't exists, though web2py does anything.
On Nov 24, 11:19 pm, mdipierro mdipie...@cs.depaul.edu wrote:
or
a href={{=URL(...)}} target=newclick me/a
On Nov 24, 2:47 pm, Michele Comitini
+1
You right,
[?]
I probably find it when reviewing my code...
Thanks anyway... There is eyes that are watching here!
Richard
On Wed, Nov 24, 2010 at 9:00 PM, villas villa...@gmail.com wrote:
Regarding your code...
if request.args(0) == 'login':
return
S.O? - windows vista
web2py version? - 1.89.5
web2py distribution [.exe,.app,_src] ? - exe
Python version? - 2.5
2010/11/24 Bruno Rocha rochacbr...@gmail.com
Please include more information about your environment.
S.O?
web2py version?
web2py distribution [.exe,.app,_src] ?
Python
Can you install Mark Hammond win32 extension for test?
http://starship.python.net/crew/mhammond/
2010/11/25 Marcos Vinhal ma.vin...@gmail.com
S.O? - windows vista
web2py version? - 1.89.5
web2py distribution [.exe,.app,_src] ? - exe
Python version? - 2.5
2010/11/24 Bruno Rocha
I want to use a foreign key which does not refer to the id-field of another
record
eg.
db.define_table('journal',
Field('ouid','integer'),
Field('journal',unique=True),
Field('issn', length=10),
Field('notes', type='text'),
I think it cover in as keyed table in the book
Richard
On Thu, Nov 25, 2010 at 9:16 AM, Johann Spies johann.sp...@gmail.comwrote:
I want to use a foreign key which does not refer to the id-field of another
record
eg.
db.define_table('journal',
Field('ouid','integer'),
Hallo Richard,
On 25 November 2010 16:26, Richard Vézina ml.richard.vez...@gmail.comwrote:
I think it cover in as keyed table in the book
I am not sure how that will solve my problem.
It creates new problems:
signature = db.Table(db, 'signature',
Field('created_on',
In my projects I'm using MongoDB
I need to work with this tool
you need this to work with web2py? Make controller for this
RDBMS or or this tool work wiht this
On Thu, Nov 25, 2010 at 6:03 AM, mdipierro mdipie...@cs.depaul.edu wrote:
here is a new feature in trunk...
session.connect(request,response,separate=True)
it creates a subfolder structure of the applications/app/sessions/
folder to deal with the case very many session.
Massimo what is the
Did you check out the bug Massimo?
I'm sorry that I repeat my question, but I still cannot find solution.
Following works:
IS_IN_DB(db, 'lesson.id', '%(name)s')
And now I need an expression in 3-rd parameter instead of simple field
name, something like:
IS_IN_DB(db, 'lesson.id', '%(name.upper())s')
to see all names in Uppercase.
I am using PyMongo for one project
http://api.mongodb.org/python/1.9%2B/index.html
I put the libs in modules and created some methods in my /models to abstract
commom tasks, PyMongo is very simple, so it is easy to access the data
directly form controllers or views using its API.
2010/11/25
Because you do not have the freedom to name files in upload folder any
way you like. web2py must name those files. replace your function with
this:
@service.xmlrpc
def checkflow(file,name):
import cStringIO
db.image.insert(file=db.image.file.store(cStringIO.StringIO(file.data),name))
The format can be a function that takes a record and return a string.
You can use lambda.
On Nov 25, 4:06 am, Mirek Zvolský zvol...@seznam.cz wrote:
Hi Annet,
thank you very much for your help.
I have used notes from your log and all works excellent.
However at this time I need to do such
You cannot import web2py models and controllers. Because they can
only be executed in the web2py environment. They use keywords
(request, response, etc.) that are not defined on import.
On Nov 25, 5:22 am, selecta gr...@delarue-berlin.de wrote:
but i do not want to run this code in the shell but
Where do you store the Pymongo connection object between requests? In
some cache object?
David
On 25 lis, 16:16, Bruno Rocha rochacbr...@gmail.com wrote:
I am using PyMongo for one
projecthttp://api.mongodb.org/python/1.9%2B/index.html
I put the libs in modules and created some methods in
can you please try again.
On Nov 24, 11:04 pm, Anthony abasta...@gmail.com wrote:
Is the test supposed to be done without the win32 extensions installed
(I have them installed)?
Anyway, I tried the test. Before updating trunk, it behaves as you say
-- I opened two windows in quick succession
Many. if a session is called 01234567890abcdefgxyz it will be in a
subfolder yx/ but it is customizable. Instead of True you can pass a
function that build the name of the subfolder from the session name.
On Nov 25, 9:03 am, Vinicius Assef vinicius...@gmail.com wrote:
On Thu, Nov 25, 2010 at
I just point out the doc I think could help you... I have not work with
multiple PK and FK.
There is also UUID, but not sure it serve for your needs
Richard
On Thu, Nov 25, 2010 at 9:51 AM, Johann Spies johann.sp...@gmail.comwrote:
Hallo Richard,
On 25 November 2010 16:26, Richard Vézina
Do you mean that you have a recursive sql request?
Or you want to rename the default id field name for PK?
In the second case :
Field('ouid','id')
does the tricks...
Richard
On Thu, Nov 25, 2010 at 9:16 AM, Johann Spies johann.sp...@gmail.comwrote:
I want to use a foreign key which does
For postgres you need also to specify the sequence name :
sequence_name='tablename_newidname_seq'
On Thu, Nov 25, 2010 at 10:47 AM, Richard Vézina
ml.richard.vez...@gmail.com wrote:
Do you mean that you have a recursive sql request?
Or you want to rename the default id field name for PK?
Hi Massimo,
Here is the error I got this time:
C:\Users\Andre\Documents\web2pyweb2py
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2010
Version 1.89.5 (2010-11-21 16:03:13)
Database drivers available: SQLite3, PostgreSQL
Starting hardcron...
Traceback (most recent
I think in relational databases (=in standard database world) foreign
key always should point to the primary key.
Maybe PostgreSQL allows such something, maybe PostgreSQL (or other
database) allows a construction of primary key from more as one
fields, and so on, but I think it is not good idea
Hi,
I am trying to make internationalization work with variables, in my
local environment on Win7, with web2py 1.89.1.
For reference I have the following test controller:
def xyz():
x = 'xyz'
return T(x)
But after calling that method, when I look at any of the language
files, the
from pymongo import Connection
...
...
connection = Connection()
...
...
...
...
connection.disconnect()
In some controllers I tried to keep connection in session or cache, but it
fails.
2010/11/25 David Marko dma...@tiscali.cz
Where do you store the Pymongo connection object between requests?
also, response._caller can be useful to raise the disconnection
2010/11/25 Bruno Rocha rochacbr...@gmail.com
from pymongo import Connection
...
...
connection = Connection()
...
...
...
...
connection.disconnect()
In some controllers I tried to keep connection in session or cache, but
Traceback (most recent call last):
File C:\eclipse\plugins
\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py, line 1145,
in module
debugger.run(setup['file'], None, None)
File C:\eclipse\plugins
\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py, line 916,
in run
Massimo adviced me to use something like this previsously:
def make_connection():
from pymongo import Connection
connection = Connection('localhost', 27017)
return connection
connection = cache.ram('mongodb',make_connection,None)
It seemed to work but I had no opportunity to test it
IS_IN_DB(db, 'lesson.id', lambda r: r['name'].upper())
this may work.
On Nov 25, 9:11 am, Mirek Zvolský zvol...@seznam.cz wrote:
I'm sorry that I repeat my question, but I still cannot find solution.
Following works:
IS_IN_DB(db, 'lesson.id', '%(name)s')
And now I need an expression in
Update all languages will not catch this because this can only be
caught at run-time. The string should be added in the language file
when you run the action (and the browser set to the language needing
translation).
try again, check the language file timestamp. If the file is not being
updated,
Please check trunk again. Is it fixed?
On Nov 25, 9:05 am, Ishbir ishbi...@gmail.com wrote:
Did you check out the bug Massimo?
Consider this scenario...
You use http to login and somebody intercept the communication, steals
the cookie and logins using your credentials.
This is no more possible. Now web2py check that the IP of the client
is the same as the IP of the client that started the session. If the
cookie is
At least we know it is being executed. :-)
I think I fixed this one. Please try again.
Massimo
On Nov 25, 9:53 am, mr.freeze nat...@freezable.com wrote:
Traceback (most recent call last):
File C:\eclipse\plugins
\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py, line 1145,
in module
Use this:
from gluon.template import render
def action():
return render('/full/path/to/
template.tex',context=dict(form_name='abc'),delimiters = ('%','%'))
and use
\setkomavar{fromname}{%=data.get('from_name')%}
Mind that you will not be able to use {{export}} and {{import}}.
On Nov 25,
It seems to be working. I open one in IE and another in Firefox about
2 seconds later. After the IE page loads, the Firefox page loads about
2 seconds later. Is that what you're looking for?
On Nov 25, 10:09 am, mdipierro mdipie...@cs.depaul.edu wrote:
At least we know it is being executed. :-)
Fixed in trunk. Please try it.
Massimo
On Nov 25, 3:11 am, toan75 toa...@gmail.com wrote:
Hi,
In Version 1.89.5, I had this error when put many files in to static/
plugin_xxx folder:
File E:\web2py-XDCB\applications\admin\views\default\plugin.html in
module at line 212
IndexError: list
Perfect! Thanks Mr Freeze.
On Nov 25, 10:18 am, mr.freeze nat...@freezable.com wrote:
It seems to be working. I open one in IE and another in Firefox about
2 seconds later. After the IE page loads, the Firefox page loads about
2 seconds later. Is that what you're looking for?
On Nov 25,
What about the MAC address?
In intranet a user can bump a other user IP easily
Consider this under windows :
http://www.wikihow.com/Change-your-IP-Address-%28Windows%29
Not sure you can pick particular IP.
With a VM under Linux you can pick the IP you want... It will conflict on
the network
Hi, there's a quick way of include the markItUp editor in your view to edit
a text Field?
I'm reading about plugin_wiki widgets, but can't guess if markItUp is a
widget or not.
Hi Massimo,
Thanks, it now works ok with T.force.
Is there a way to automatically update multiple language files at once
with all these lazy T's?.
Carlos
On Nov 25, 10:00 am, mdipierro mdipie...@cs.depaul.edu wrote:
Update all languages will not catch this because this can only be
caught
web2py cannot access the MAC address of the requester. The web server
does not provide the information. The web server may not have the
information itself, depending on the OS. capturing the ethernet header
requires more privileges that the web server has.
On Nov 25, 10:21 am, Richard Vézina
Not for T(variable) since variable is only defined at runtime.
On Nov 25, 10:24 am, Carlos carlosgali...@gmail.com wrote:
Hi Massimo,
Thanks, it now works ok with T.force.
Is there a way to automatically update multiple language files at once
with all these lazy T's?.
Carlos
On Nov
1) install plugin_wiki
2) in the view that needs it:
script type=text/javascript src={{=URL('static',f='plugin_wiki')}}/
markitup/jquery.markitup.pack.js/script
script type=text/javascript src={{=URL('static',f='plugin_wiki')}}/
markitup/sets/markmin/set.js/script
link rel=stylesheet
If you have a router, then your machine's MAC address will go no
further than that. Your router's MAC address will show up in packets
sent further upstream, until that too is replaced by the MAC address
of the next device - likely either your modem or your ISP's router.
So your MAC address
@massimo
this sounds good, although stealing creditentials/intercepting
communication is most probable in the networks hidden over NAT - hence
in this case it will not work.
--
Kuba
if imported from a module as such it dont use
the native libraries (DAL, SQLFORM, etc ) and
framework would be disadvantage.
which is the best way to work with MongoDB??
Thanks for the answer
Hello just wondering if there is anyone out there willing to help out with
Paypal integration in a new system I am building. Its a subscription based
service that allows (should allow) users to sell digital goods by paypal.
The subscription part will also be handled by paypal :D
If some one is
good points. Could you elaborate on what you'd expect from
2) join expressions aren't automatically created based on the DAL definition
Massimo
On Nov 25, 9:48 am, Mirek Zvolský zvol...@seznam.cz wrote:
I think in relational databases (=in standard database world) foreign
key always should
Hi,
Please let me know if the following makes sense:
I want to implement internationalization using always keys (codes) for
all T() occurrences, instead of using strings corresponding to one
specific default language.
I believe this is necessary (please correct me if I'm wrong) in the
following
Hello,
I am in the process of developing a Facebook IFrame app using Web2Py.
If there is someone who's done this before, I'd like to get some
guidance regarding,
1. What is better to do? Login using Javascript, or using Web2py
auth?
2. Any other things to consider/look at specific to FB + Web2Py?
This is a good idea. All you need to do is:
T.current_languages=[]
in this way even english will require translation.
Massimo
On Nov 25, 11:30 am, Carlos carlosgali...@gmail.com wrote:
Hi,
Please let me know if the following makes sense:
I want to implement internationalization using
Thanks Massimo.
Btw is it possible to update the language files via web apps with
authorization (e.g. userA can only update english, userB only spanish,
and so on)?.
Carlos
On Nov 25, 11:33 am, mdipierro mdipie...@cs.depaul.edu wrote:
This is a good idea. All you need to do is:
I am implementing PayPal for a animal charity project (natalanimal.com.br),
now this project is receiving donations by PagSeguro (the bigger pay gateway
of Brazil), but we started to receive international donations, so I am
working on PayPal integrations right now.
If I got success on
@Johann
you missed this in the book
Note that currently this is only available for DB2, MS-SQL, Ingres
and Informix, but others can be easily added.
but even if Postgres was supported you still could not reference
regular tables from keyed ones and viceversa, as specified in
thanks guys for all the info. I'm finding the video from Google I/O
2010 to be quite informative: http://www.youtube.com/watch?v=4XBqdu8dYE8
Hi,
We have change the Group name to include all the francophonie (fr-
fr, fr-ca, ...)
The new name is web2py-fr and the link is :
http://groups.google.com/group/web2py-fr
Regards,
Lannick
On 16 nov, 23:07, mart msenecal...@gmail.com wrote:
Salut Lannick!
We have language differences? just
still there are no counter-indication
a session sticks to one single ip.
users of LAN (me and my brother) hidden by NAT, users of large WANs
like Fastweb in Italy (and quite everyone in China, I believe) show
themself to the webserver with the same IP address in the same
session.
As long as
So security is fake in large NATted networks?
2010/11/25 Niphlod niph...@gmail.com:
still there are no counter-indication
a session sticks to one single ip.
users of LAN (me and my brother) hidden by NAT, users of large WANs
like Fastweb in Italy (and quite everyone in China, I
Is this usable?
http://code.google.com/p/pypaypal/
On Thu, Nov 25, 2010 at 8:03 PM, Bruno Rocha rochacbr...@gmail.com wrote:
I am implementing PayPal for a animal charity project (natalanimal.com.br),
now this project is receiving donations by PagSeguro (the bigger pay gateway
of Brazil), but
Hey ty Bruno
my project isn't quite ready to use paypal yet anyway, getting closer
though.. let me know your success
*cheers
Branko do you mean is it usable on my site for setting up I see no
reason why not :D
Thanks for the replies
I think you missed on this paticular scenerio.
If I can sniff the traffic, I must have access to the router that
holds the data. That means, I'm on a place in the routing table, that
gets this packet, and that means I can make my IP be the same as the
user in the far end of the communication. So,
On Thu, Nov 25, 2010 at 10:22 PM, Andrew Evans randra...@gmail.com wrote:
Branko do you mean is it usable on my site for setting up I see no
reason why not :D
Both. I might need it one day. :) Tell us how it went if you go with
the library.
--
Branko Vukelić
bg.bra...@gmail.com
@michele
yeap, IP-based security sucks.
Hey guys,
I looked into this a little more.
The problem seems to be that self.custom.begin and self.custom.end are computed
as soon as the form is initialized, and the hidden fields get appended to
self.custom.end only in the call to accepts.
For this same reason, I was also having problems
Hi,
For my project, I will need to create a library of images and videos.
What considerations should I have?.
For reference ...
How to automatically create a thumbnail for every image?.
Is there support for image/video galleries or albums?.
With respect to videos, should I let users upload
I will pay another $200 US if someone develops a PayPal plugin/module
for web2py that doesn't have to be described by the words
Experimental or Needs work.
On Nov 25, 1:03 pm, Bruno Rocha rochacbr...@gmail.com wrote:
I am implementing PayPal for a animal charity project (natalanimal.com.br),
hey thats good thinking.. To be honest I thought initially to have a vote
for this project and make a donation to the developer to create it...
PayPal module for web2py I mean
Wonder if its to late to do something like that
basically my idea was people would commit to paying x amount if the
Most of them time i use a Remote VPN to change my IP and to access
Unrestricted Internet.
Coz internet here is very restrictive, (so restrictive that even google
Blogger is banned lol) .
And only about 5 outgoing ips thats goes out of this country.
VPN sometimes loose connection and drops me
stealing cookie do not need to sniff session at all. Just a good ole XSS
will work.
On Fri, Nov 26, 2010 at 3:53 AM, guruyaya guruy...@gmail.com wrote:
If I can sniff the traffic, I must have access to the router that
Even mac address can be captured by a java applet. Self signed java applet
can do the trick. It can raised to User's security level , and can run
system commands if he is Administrator level or root.
On Thu, Nov 25, 2010 at 11:05 PM, mdipierro mdipie...@cs.depaul.edu wrote:
web2py cannot access
My country (Burma) ISP alos changes outgoing IP regularly. it have about 5
ips for me.
On Fri, Nov 26, 2010 at 3:19 AM, Niphlod niph...@gmail.com wrote:
still there are no counter-indication
a session sticks to one single ip.
users of LAN (me and my brother) hidden by NAT, users of large
Hi,
I was using sum() to calculate the amount of donations received in (
http://natalanimal.com.br/init/default/extrato), but I've found a limit
problem, I don't know if it is a PostgreSQL limit or sum() expression limit.
*
*
*#FIRST WAY, USING SUM()*
In my model I have a field
How to automatically create a thumbnail for every image?.
ffmpeg
ffmpeg -itsoffset -4 -i test.avi -vcodec mjpeg -vframes 1 -an -f
rawvideo -s 320x240 test.jpg
On Fri, Nov 26, 2010 at 6:13 AM, Carlos carlosgali...@gmail.com wrote:
How to automatically create a thumbnail for every image?.
Make thumbs with PIL http://www.web2pyslices.com/main/slices/take_slice/62
(I did not test yet, I am going to do that tomorrow)
2010/11/25 Carlos carlosgali...@gmail.com
Hi,
For my project, I will need to create a library of images and videos.
What considerations should I have?.
For
Does it work for many kind of video files like ffmpeg?
On Fri, Nov 26, 2010 at 8:34 AM, Bruno Rocha rochacbr...@gmail.com wrote:
Make thumbs with PIL http://www.web2pyslices.com/main/slices/take_slice/62
(I did not test yet, I am going to do that tomorrow)
2010/11/25 Carlos
PIL is for images only afaik
On Fri, Nov 26, 2010 at 8:47 AM, Phyo Arkar phyo.arkarl...@gmail.comwrote:
Does it work for many kind of video files like ffmpeg?
On Fri, Nov 26, 2010 at 8:34 AM, Bruno Rocha rochacbr...@gmail.comwrote:
Make thumbs with PIL
No, PIL just deals with image files.
2010/11/26 Phyo Arkar phyo.arkarl...@gmail.com
Does it work for many kind of video files like ffmpeg?
On Fri, Nov 26, 2010 at 8:34 AM, Bruno Rocha rochacbr...@gmail.comwrote:
Make thumbs with PIL
http://www.web2pyslices.com/main/slices/take_slice/62
yes. Make a custom auth_user table with an extra 'language' field and
then do
if auth.user: T.set_current_language(auth.user.language)
On Nov 25, 12:06 pm, Carlos carlosgali...@gmail.com wrote:
Thanks Massimo.
Btw is it possible to update the language files via web apps with
authorization
I like this. I will give some thought to it and this should be
probably be made the default web2py behavior. Any objection?
On Nov 25, 4:49 pm, Josh Jaques jjaq...@seccuris.com wrote:
Hey guys,
I looked into this a little more.
The problem seems to be that self.custom.begin and
Which features do people need?
simple payment button?
submission of shopping chart?
digital content?
handling for tax computations and shipping costs?
receive paypal notification (like the user has canceled a payment)?
Some things are easier than others. Some things may require a tight
True. This is a counterindication.
On Nov 25, 7:14 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote:
Most of them time i use a Remote VPN to change my IP and to access
Unrestricted Internet.
Coz internet here is very restrictive, (so restrictive that even google
Blogger is banned lol) .
And
Pint the generated SQL
print db(db.donation.id0)._select(sum)
try execute the same command from pgsql shell. What do you get?
Massimo
On Nov 25, 7:41 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Hi,
I was using sum() to calculate the amount of donations received in
Hi,
I have a problem with displaying a table id as a dropdown list in a
form. Database looks like that:
db.define_table('target',
Field('name', required=True),
Field('address', required=True),
Field('comment', default=''), format='%(name)s')
db.define_table('pac',
Field('name',
If you just do this it should do what you ask:
db.define_table('target',
Field('name', required=True),
Field('address', required=True),
Field('comment', default=''), format='%(name)s')
db.define_table('pac',
Field('name', required=True),
Field('comment', default=''),
1 - 100 of 101 matches
Mail list logo