There are problems with these in Windows when web2py is run as
service. They show path to python.
After many trials I came to this ugly solution:
import applications.advantage.modules.pathfinder as pathfinder
PATH_TO_ME = os.path.dirname( os.path.realpath( pathfinder.__file__ ))
Here
Try list argument in left join:
left =[ ... , ... ]
On Jun 9, 7:59 am, Peter Etchells peter.a.etche...@gmail.com wrote:
When trying the example in the new slide show:
...db = SQLDB('sqlite://storage.sqlite')
db.define_table('dog',
SQLField('name'),
odd. try
print db()._select(db.dog.name, db.father.name, db.mother.name,
left=(db.father.on(db.father.id==db.dog.father_id),
db.mother.on
(db.mother.id==db.dog.mother_id)))
On Jun 9, 12:59 am, Peter Etchells peter.a.etche...@gmail.com wrote:
When
I uploaded a new version of web2py that runs on Jython (it run before
but one of the previous patches broke it).
HOWTO:
download jython_installer-2.5rc3.jar
java -jar jython_installer-2.5rc3.jar
cd [the created jython folder where ever it is]
./jython ../web2py/web2py.py -S mynewapp
Ok. Now the confusion is resolved.
1) Speed improvements of 70% and up that I reported yesterday are
really exist. I just reproduced a 3.47 times model speedup and 2.15
overall speedup for my app (r875 vs r822+inits).
BUT this app is atypical. I have added some time measuring code there
so it
I am not convinced. why should it find applications and not find its
own path?
anyway, where do you think it should go?
massimo
On Jun 9, 1:04 am, SergeyPo ser...@zarealye.com wrote:
There are problems with these in Windows when web2py is run as
service. They show path to python.
After many
On Jun 9, 1:53 am, mdipierro mdipie...@cs.depaul.edu wrote:
please try revision 892
Seems to fix that problem, but creates a new one:
I have a table which has a parent-child hierarchy, so has a reference
to itself:
db.define_table(gis_location,
db.Field('parent', 'reference
Massimo,
I just tested the check to delete functionality based on r1006, and it
passe all tests. Thanks for fixing this issues.
Which adjustments did you make to the welcome app I based my
applications on?
Kind regards,
Annet
--~--~-~--~~~---~--~~
You
new testing:
SERVER KERNEL
--prints
r8750.04898
r822ini 0.03070 1.60x
--silent
r8750.04914
r822ini 0.03049 1.61x
So I get much more consistent results on this hardware.
While this is obviously not the best perfomance (my weaker box,
with less RAM, troubled with video output
it might help to have tests in a state that you can ask others to run them;
a dozen or so other random boxes will help you gain the confidence you
seek I think
On Tue, Jun 9, 2009 at 2:12 AM, Alexey Nezhdanov snak...@gmail.com wrote:
new testing:
SERVER KERNEL
--prints
r875
On Jun 9, 7:42 am, mdipierro mdipie...@cs.depaul.edu wrote:
I know I need to install sqlite-jdbc-3.6.14.2.jar but I have no idea
what to do with it. help?
May help:
http://wiki.python.org/jython/JythonFaq/InstallingJython#JythoncannotfindyourJavaclass.2Ceventhoughitexistsintheclasspath.
F
When it runs as windows service it shows, well, not python, I was
wrong, it shows the path to that utility that is used to run as
service... I think if request.env.web2py_path always gives realpath to
web2py directory that would be enough.
On Jun 9, 10:44 am, mdipierro mdipie...@cs.depaul.edu
Massimo,
r992 did not fix the login_next problem.
In db.py I have:
auth.settings.login_url=URL(r=request,c='authentication',f='login')
auth.settings.login_next=URL(r=request,c='core',f='index')
auth.settings.logout_next=URL(r=request,c='default',f='index')
In 1.61.4 the first two worked, in
In version 1.61.4 these settings sufficed to retrieve the username and
password:
## mailer
mail=Mail()
## specify your SMPT server
mail.settings.server='smtp.gmail.com:587'
## specify your email address
mail.settings.sender='@gmail.com'
## optional: specify your user name and password
prints:
SELECT dog.name, dog.name, dog.name FROM LEFT JOIN dog ON
dog.id=dog.father_id LEFT JOIN dog ON dog.id=dog.mother_id;
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to
You probably right. But I can't give away the project I'm testing it
on and don't yet 'ready' to write a separate one exclusively for
testing.
I'm still fighting with getting stable results even on this box :(
On Tue, Jun 9, 2009 at 11:17 AM, Yarko Tymciurakyark...@gmail.com wrote:
it might
Hi
On 7 Giu, 23:13, mdipierro mdipie...@cs.depaul.edu wrote:
I did not realize one had to login. I will post it somewehere else
too, together with source (ppt and keynote) asap.
wow.
There's alredy a link?
I would appreciate very much ppt or keynote version.
Hi together,
how can I delete a content (row) from the table with a security
question. for example: Are you sure to delete the project? yes - no
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web
Wrote 'optimised inits v2' patch. Tested everything.
Once again I changed my testing pattern a bit.
1) I dumped my own timing tool in favor of much more standard
'ab' (apache benchmark).
2) I decidedly will publish all these results in two main.
I just finished first round of testing. Here are
Hi,
I´ve a table called project and i have another table called
projectfile. How can i reference automaticlly the project.id in the
table projectfile?
this is my code, but it`s wrong:
db.define_table('projectfile',
SQLField('projectid', default=project.id,
writable=False,
ok... from the Makefile I could use:
python -c 'import compileall;
compileall.compile_dir(applications/myapplication)'
to build it.
will it run the unit tests too ?
if yes, how do I know how many tests have failed ?
thanks
On Mon, Jun 8, 2009 at 10:20 PM, mdipierro
Alexei Vinidiktov wrote:
On Mon, Jun 8, 2009 at 11:29 AM, mdipierromdipie...@cs.depaul.edu wrote:
Hi Richard,
the gmail authentication is not based on open-id (yet). it presents
you with a standard login form. It tried to log you in via the normal
auth_user table. It it fails, it
I have done the same but with:
http://digitarald.de/project/roar
They have very nice things on that site.
/T
mr.freeze wrote:
I don't like having to click on response.flash to close it so I
replaced it with this:
http://stanlemon.net/projects/jgrowl.html
Just thought I would share.
Cant auth be changed somhow to it will be easier to extend like this:
db.define_table('auth_user2',
db.auth_user,
SQLField('nickname'),
SQLField('image','upload'))
The problem to day is the:
table.email.requires = [IS_EMAIL(), IS_NOT_IN_DB(db,
Results of second set of test runs:
r87545.523ms
r88220.614ms
inits v.1 18.464ms
inits v.2 18.677ms
inits1+lazyT15.377ms
inits2+lazyT15.280ms
Observed noise was 0.502ms for slowest execution (90:1
signal-to-noise) and 0.889ms for fastest execution
Forgot about patches. Here they are.
'optimised inits v.2'
'lazy tables' (this one is modified to be applicable to trunk version of
sql.py)
On Tue, Jun 9, 2009 at 3:10 PM, Alexey Nezhdanov snak...@gmail.com wrote:
Results of second set of test runs:
r87545.523ms
r882
On Jun 9, 10:30 am, pk peter.kirch...@youngdesigners.de wrote:
how can I delete a content (row) from the table with a security
question. for example: Are you sure to delete the project? yes - no
Look at make_delete_row() in this file:
On Jun 9, 10:56 am, pk peter.kirch...@youngdesigners.de wrote:
I´ve a table called project and i have another table called
projectfile. How can i reference automaticlly the project.id in the
table projectfile?
db.define_table('projectfile',
SQLField('projectid',
ok i will try, thanks for your help
On 9 Jun., 13:47, Fran francisb...@googlemail.com wrote:
On Jun 9, 10:56 am, pk peter.kirch...@youngdesigners.de wrote:
I´ve a table called project and i have another table called
projectfile. How can i reference automaticlly the project.id in the
hi all, is there a validator or an easy way to prevent a user to
delete a record if there are other records referencing it? Just to
make an example: consider the 'images' application in cookbook2.pdf. I
would like that the user cannot delete an image if there are comments
referred to it (it would
On Jun 9, 11:42 am, Robert Marklund robbelibob...@gmail.com wrote:
Cant auth be changed somhow to it will be easier to extend like this:
db.define_table('auth_user2',
db.auth_user,
SQLField('nickname'),
SQLField('image','upload'))
The problem
Wanted to attach test data as well but automatically clicked 'send' and
oops... it gone.
Here are couple of test runs:
1.63.544.572
On Tue, Jun 9, 2009 at 4:14 PM, Alexey Nezhdanov snak...@gmail.com wrote:
Finally, I started migration (before I was just slapping sql.py, checked
out of the trunk
Ooooh...That's nice too. Massimo, should one of these (probably a
jQuery based one) replace the default response.flash behavior to give
web2py some more pizazz out of the box? Also, what are your thoughts
on including jQueryUI with web2py and replacing the current default
clunky calendar with
:( using web interface is inconvenient. Ignore last mail, resending:
-
Wanted to attach test data as well but automatically clicked 'send' and
oops... it gone.
Here are couple of test runs:
1.63.5 44.572ms
1.63.5 44.898ms
detected noise 0.326ms (136:1
I will take a stab at the active directory implementation ASAP.
On Jun 8, 11:52 pm, mdipierro mdipie...@cs.depaul.edu wrote:
only mode='uid' is implemented. I could use help debugging/
implementing the other modes
Massimo
On Jun 8, 10:38 pm, mr.freeze nfre...@gmail.com wrote:
Sorry, I
Sorry for being picky on this. I think the database is not a suitable
place either to store a 'application instance initialized flag'.
Reason:
1) the db can be used by more than one instance of the app
2) if the app stops execution without setting back the 'db record' to
'app not initialized' -
Hi Marco,
if you mean at db level, it depends on your db engine. To my
knowledge, in Sqlite you can not get foreign key constraints (on
delete=cascade or similar is not effective) but you have to use
Triggers to achieve the same result. Foreign keys constraints though
can be enforced in most of
Marco,
Did you test this in Sqlite:
db.define_table('table',
db.Field('field',...,ondelete='RESTRICT'),
migrate='table.table')
It does set the ON DELETE to RESTRICT in the foreign key constraint in
Postres.
Annet.
--~--~-~--~~~---~--~~
You received
Foreign key constraints are not implemented in Sqlite (although it
parses the command).
See: http://www.sqlite.org/omitted.html
but you can use triggers.
carlo
On 9 Giu, 15:46, annet annet.verm...@gmail.com wrote:
Marco,
Did you test this in Sqlite:
db.define_table('table',
sorry, should have been:
db().select(db.dog.name, father.name, mother.name,
left=(father.on(father.id==db.dog.father_id),
mother.on(mother.id==db.dog.mother_id)))
On Jun 9, 3:03 am, Peter Etchells peter.a.etche...@gmail.com wrote:
prints:
Uploading another version to trunk. Please give it another try
On Jun 9, 1:49 am, Fran francisb...@googlemail.com wrote:
On Jun 9, 1:53 am, mdipierro mdipie...@cs.depaul.edu wrote:
please try revision 892
Seems to fix that problem, but creates a new one:
I have a table which has a
Does this mean the fix is wrong but we still have a problem to fix? or
does it mean it works as it is?
On Jun 9, 2:27 am, SergeyPo ser...@zarealye.com wrote:
When it runs as windows service it shows, well, not python, I was
wrong, it shows the path to that utility that is used to run as
Right now there are two possibilities:
- if web2py redirects you to login, after login, login redirects you
to the referencing page
- if you go to the login page without redirection, after login, you go
to login_next
I think what you see is consistent with this behavior. Am I wrong?
Massimo
I think you are mssing
auth.settings.mailer=mail
On Jun 9, 2:43 am, annet annet.verm...@gmail.com wrote:
In version 1.61.4 these settings sufficed to retrieve the username and
password:
## mailer
mail=Mail()
## specify your SMPT server
mail.settings.server='smtp.gmail.com:587'
##
Massimo,
The latest trunk (rev 1014) works as designed.
Christopher
mdipierro wrote:
This I cannot reproduce. Please try the latest trunk anyway.
On Jun 9, 12:16 am, cesmiga cesm...@gmail.com wrote:
Just another note on this issue. While running...
# ./web2py.py -S testapp
after
I will post keynote and ppt versions tonight.
Massimo
On Jun 9, 4:05 am, LordMax lord...@gmail.com wrote:
Hi
On 7 Giu, 23:13, mdipierro mdipie...@cs.depaul.edu wrote:
I did not realize one had to login. I will post it somewehere else
too, together with source (ppt and keynote) asap.
No you have to run the tests one by one
cd gluon/tests
python test_html.py
...
On Jun 9, 5:09 am, Sebastian E. Ovide sebastianov...@gmail.com
wrote:
ok... from the Makefile I could use:
python -c 'import compileall;
compileall.compile_dir(applications/myapplication)'
to build it.
will
There is a reference to project.pname that I do not underastand so I
can only give you a partial answer.
You want to specify a filter as first argument of IS_IN_DB
db.projectfile.projectname.requires=IS_IN_DB(db
(db.project.userid==auth.user.id),
'project.pname', '%(pname)s')
On
I would prefer to minimize the amount of JS that ships with the
scafolding app. It makes it easier to customize it.
I do not object to making admin more sophisticate and flashier.
Massimo
On Jun 9, 7:28 am, mr.freeze nfre...@gmail.com wrote:
Ooooh...That's nice too. Massimo, should one of
This confirms the 2.5x speedup of trunk vs stable.
It will take me some time to go over the other patches but I will.
Thanks Alexey.
Massimo
On Jun 9, 6:10 am, Alexey Nezhdanov snak...@gmail.com wrote:
Results of second set of test runs:
r875 45.523ms
r882 20.614ms
Massimo,
I think it is a good idea to substitute the current calendar with a
more straightforward one. I had a look at the dynarch site, the
calender we use in web2py has been moved to the 'old stuff'
section ...
I would prefer a calendar like the one demonstrated here:
thanks but i get a now an error:
Traceback (most recent call last):
File gluon/restricted.py, line 98, in restricted
File /Applications/web2py1.62/web2py.app/Contents/Resources/
applications/2busy/models/db.py, line 104, in module
AttributeError: 'NoneType' object has no attribute 'id'
Using latest trunk 1014 and starting from empty app the table
definition fails:
db = SQLDB('sqlite://storage.sqlite')
db.define_table('dog',
SQLField('name'),
SQLField('father_id','reference dog'),
SQLField('mother_id','reference dog'))
Traceback (most recent call last):
File
I agree about 1 and 2. I do not thing logging belongs to cache either.
i think we want something like
request.log(message)
which does something like.
open(os.path.join(request.folder,'app.log'),'w').write(message
+'\n')
Am I wrong? The problem is that this naive approach would bypass
yes but the one we have does date and datetime. The other one does not
do datetime. Am I wrong?
On Jun 9, 9:32 am, annet annet.verm...@gmail.com wrote:
Massimo,
I think it is a good idea to substitute the current calendar with a
more straightforward one. I had a look at the dynarch site, the
Massimo,
Uncommenting auth.settings.mailer=mail solved the problem.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
if auth.is_logged_id():
db.projectfile.projectname.requires=IS_IN_DB(db
(db.project.userid==auth.user.id),'project.pname','%(pname)s')
else you do not have a user id.
why are you still on 1.62? ;-)
On Jun 9, 9:34 am, pk peter.kirch...@youngdesigners.de wrote:
thanks but i get a now an
Try 1015. It seems the previous commit failed. Works for me.
Massimo
On Jun 9, 9:35 am, DenesL denes1...@yahoo.ca wrote:
Using latest trunk 1014 and starting from empty app the table
definition fails:
db = SQLDB('sqlite://storage.sqlite')
db.define_table('dog',
SQLField('name'),
now i get the next error :(
Traceback (most recent call last):
File gluon/restricted.py, line 98, in restricted
File /Applications/web2py1.62/web2py.app/Contents/Resources/
applications/2busy/models/db.py, line 103, in module
AttributeError: 'Auth' object has no attribute 'is_logged_id'
i
Same error with 1015.
Did you start from new app?
Steps:
Create new app in admin
Edit db.py to add define_table as above
Click database administration in appadmin
Internal error ticket
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Massimo,
No, you're right, however, I prefer a more straightforward date-picker
to the awkward date- and date-time-picker.
Kind regards,
Annet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework
Massimo,
Right now there are two possibilities:
- if web2py redirects you to login, after login, login redirects you
to the referencing page
- if you go to the login page without redirection, after login, you go
to login_next
I think what you see is consistent with this behavior. Am I
I feel this is a matter of taste.
The current one looks more cluttered but that is because it offers
more info and options to the user.
Try selecting June 2010 with the jqueryui one.
I prefer the current one.
--~--~-~--~~~---~--~~
You received this message because
ok i`ve solved my problem with
if auth.is_logged_in():
db.projectfile.projectname.requires=IS_IN_DB(db
(db.project.userid==auth.user.id),'project.pname','%(pname)s')
thanks
On 9 Jun., 16:44, pk peter.kirch...@youngdesigners.de wrote:
now i get the next error :(
Traceback (most recent
Hi Massimo,
I´ve problems when i login in the new version, i get the default page
of web2py not my requested page. In 1.62 i haven`t got this problem.
Here my code:
@auth.requires_login()
def index():
redirect(URL(r=request,c='menu',f='index'))
## #
This is very easy to reproduce.
Could someone else test and confirm either way?.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Hi,
is there a possibilty to use a texteditor in the html-page (bold-font,
newline ...) for the user and after submit it will save it in the
table.
i need it for an cms for example.
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Created a new repository and exported from svn again.
Now it works (!?)
Strange, old gluon repository has all green svn check marks.
Oh well, main thing is it works.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Fran wrote:
On Jun 9, 11:42 am, Robert Marklund robbelibob...@gmail.com wrote:
Cant auth be changed somhow to it will be easier to extend like this:
db.define_table('auth_user2',
db.auth_user,
SQLField('nickname'),
Can you explain better? Is this is a prblem with the stable or the
tunk version?
On Jun 9, 10:17 am, pk peter.kirch...@youngdesigners.de wrote:
Hi Massimo,
I´ve problems when i login in the new version, i get the default page
of web2py not my requested page. In 1.62 i haven`t got this
The best way is to customize the auth_user table as shown in the
slides, insdead of subclassing it. Else it is much more complex than
just setting auth.settings.table_user, since references from other
built-in tables will break
Massimo
On Jun 9, 10:42 am, Trollkarlen robbelibob...@gmail.com
All:
I'm not sure if this has been discussed in the past and would like to
hear more if we should be tracking bugs and enhancement requests at
Launchpad?
https://launchpad.net/web2py
Wouldn't it make code management and processes more manageable and
more folks could aid with QA.
Thank
i load the version: Current Version 1.63.5 (2009-06-03 23:35:00) for
osx.
and i use the auth-object. on my index page i`ve a form to login,
register a user.
when the login is correct i receive the follow link:
http://localhost:8000/admin/default/site
but i will receive:
Denes,
Indeed, it is a matter of taste.
But cognitive ergonomically the current calendar is a disaster. The
arrows to increase the months and years are next to today, my test
user did not see the month change when he clicked the arrow nor did he
see the year change when he clicked the double
I'm using crud to interact with a custom view.
form.custom.inpval.fieldname and form.custom.dspval.fieldname display
the proper value for most field types, but not files, select boxes and
checkboxes. The download easily fixes the file display, but I've been
unable to find a similar solution to
There are many more options in the jQueryUI calendar. For this you
could use:
$('.selector').datepicker({ changeYear: true });
On Jun 9, 10:11 am, DenesL denes1...@yahoo.ca wrote:
I feel this is a matter of taste.
The current one looks more cluttered but that is because it offers
more info
Peter,
Aren't you facing the same problem as I am:
http://groups.google.com/group/web2py/browse_thread/thread/d5083ed08c685e34
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework
I promise Matt is surely right about the font issue. :-)
And one more defect, trying to not completing necessary field results
in a function error_message at 0x8c1c41c appearing at the usual
response.flash area.
Everything else seems ok. I like your two level menu especially. Hope
to see your
Hi Annet,
it seems to be the same problem.
Peter
On 9 Jun., 18:09, annet annet.verm...@gmail.com wrote:
Peter,
Aren't you facing the same problem as I am:
http://groups.google.com/group/web2py/browse_thread/thread/d5083ed08c...
Annet.
I am using NicEdit:
http://nicedit.com/
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this
Sadly, I agree, but 1 month ago, the choice was made to stick to what we
have now. I REALLY want that to happen.
Regards,
Jason Brower
On Tue, 2009-06-09 at 08:56 -0700, cesmiga wrote:
All:
I'm not sure if this has been discussed in the past and would like to
hear more if we should be
Any particular reason not doing is_integer via a 'try: int(i) except:
return False' statement ? It should be faster than regexes.
On Jun 7, 1:49 pm, Iceberg iceb...@21cn.com wrote:
On Jun7, 6:35pm, Alexey Nezhdanov snak...@gmail.com wrote:
2) is_integer is a fast call, but with 1.1k (!)
with the new trunk you can do
{{=form.custom.widget.fieldname}}
On Jun 9, 11:06 am, Gary gary.k.ma...@gmail.com wrote:
I'm using crud to interact with a custom view.
form.custom.inpval.fieldname and form.custom.dspval.fieldname display
the proper value for most field types, but not files,
I have an idea that may fix this. I will work on it tonight.
On Jun 9, 10:05 am, annet annet.verm...@gmail.com wrote:
Massimo,
Right now there are two possibilities:
- if web2py redirects you to login, after login, login redirects you
to the referencing page
- if you go to the login
Using nicedit you can change the textareas for the field you need into
wysiwyg fields.
To then display the field properly you much prevent escaping with
{{=XML(fieldvalue)}}
On Jun 9, 11:16 am, annet annet.verm...@gmail.com wrote:
I am using NicEdit:
http://nicedit.com/
Annet.
Hello,
Sorry if this question is a repeat, but I'm new here and couldn't find
anything on point in the archive.
I'm trying to create a form for data insertion, which will include a
dropbox representing a foreign key. Trouble is, the foreign table has
another key representing the row's 'school',
just a reminder - there was a plan afoot to move from launchpad to mercurial
hosting (likely on google code)...
On Tue, Jun 9, 2009 at 11:16 AM, Jason Brower encomp...@gmail.com wrote:
Sadly, I agree, but 1 month ago, the choice was made to stick to what we
have now. I REALLY want that to
oh thanks, it`s a cool tool.
peter
On 9 Jun., 18:16, annet annet.verm...@gmail.com wrote:
I am using NicEdit:
http://nicedit.com/
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework
Yes and no.
We are moving to mercurial very very soon and move away from launchpad
so I would prefer we use google code for bug tracking.
It is also faster for me to access.
Anyway, I never said that we should use bug tracking. I only asked to
first email the list to make sure you indeed found
good point. Anyway, the function is no longer called as often as
Alexey originally pointed out, so it would make a negligible
difference. I will change it though.
Massimo
On Jun 9, 11:24 am, AchipA attila.cs...@gmail.com wrote:
Any particular reason not doing is_integer via a 'try: int(i)
Just been through some TABLE() and SQLTABLE() work and could not find
a way (I was satisfied with) to change output results of particular
columns. For example, I have an sql column that is a color code and
I'd like to put in a css element with that color. The hard way is
obviously foregoing the
I do not fully understand. You want a create incident form but that
does not have a school field.
I guess what you want is display only students for the same school as
the logged in staff. In this case you can do
school_id=db.staff[userid()].school if userdi() else None
There is no may to make a SQLTABLE taht fits everybody's taste and
needs. I think you should
1) define your own SQLTABLE2, or
2) loop over rows explicitly
Massimo
On Jun 9, 11:50 am, AchipA attila.cs...@gmail.com wrote:
Just been through some TABLE() and SQLTABLE() work and could not find
a
Hello
At the end of the load of information on the part of the user there is
a link to the following function:
def terminar():
if session.documento is None:
redirect(URL(r=request, c='default', f='index'))
...
if solicitud[0].id 0:
request.log(message) would be nice, but all the advantages of standard
logging are too good to let go. So I came up with this little trick.
Add following codes inside model/log.py:
def _init_log():
import logging
logger=logging.getLogger(request.application)
Massimo,
Thank you for the update. My apologies since this was discussed
earlier.
Christopher
mdipierro wrote:
Yes and no.
We are moving to mercurial very very soon and move away from launchpad
so I would prefer we use google code for bug tracking.
It is also faster for me to access.
It seems I created two new decks without hitting the submit button by
just navigating away from the page. Also would be nice to be able to
delete them.
Mike
On Jun 9, 9:12 am, Iceberg iceb...@21cn.com wrote:
I promise Matt is surely right about the font issue. :-)
And one more defect,
On Jun 9, 3:13 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Uploading another version to trunk. Please give it another try
r896 works fine - many thanks :)
F
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py
I tried {{=form.custom.widget.town_id}} in 1.63.5 and got an error
AttributeError: 'NoneType' object has no attribute 'town_id'.
Using {{=form.custom.inpval.town_id}} returns a '1', the value of the
id in the 'Location' file pointing to the 'Town' file.
For clarification, does 'new trunk' mean
On Jun 9, 6:41 pm, Gary gary.k.ma...@gmail.com wrote:
For clarification, does 'new trunk' mean something other than the
current release?
It means the live code downloaded via Bzr:
https://code.launchpad.net/~mdipierro/web2py/devel
So more current than the latest release.
F
1 - 100 of 149 matches
Mail list logo