El martes, 26 de agosto de 2014 22:49:17 UTC+2, Anthony escribió:
On Tuesday, August 26, 2014 3:13:35 PM UTC-4, José L. wrote:
Hi, I'm using a custom form to represent the fields of a table. This
table has referenced fields.
If I use:
db.define_table('department',
Field('dept_id
,
'%(nombre)s')))
{{=form.custom.widget.dept_id}} shows the departament id instead of the
name.
I need to add the IS_EMPTY_OR condition, I've also tried adding
notnull=False without success.
Any hint?
Thanks.
José L.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
Hi, I'm using load to put two sqlform.grid inside a page in an application.
I have added
...
editable=True,
create=True,
searchable=False,
onvalidation=check_documento,
oncreate = check_documento,
onupdate = check_documento,
Hi, I'm using a referenced table with IS_IN_DB validator, but I'd like to
filter the fields to be shown in the combo list.
As an example:
db.define_table('person',
Field('name'),
Field('surname),
Field(age,'integer')
)
db.define_table('class_attendant',
Hi, I'm having problems trying to show a modal window after the user
submits correctly a form.
I've tried to do it with:
def index():
if form.accepts(request.vars):
response.js='$( #dialog-message ).dialog({ modal: true });'
...
being #dialog-message a div in the same
found' % dict(nrows=nrows))
by:
message = error or T('%s records found', nrows)
The problem is fixed.
I've filled bug #539 to follow this issue.
Regards.
José L.
, not a simple combo
with a very short list of possible items to show/search.
Thanks in advance
José L.
Hi,
I've been running successfully web2py under apache in a directory following
the slice at http://www.web2pyslices.com/slices/take_slice/56 . I need it
running in a subdirectory because this apache server is running some other
apps, some of them in php.
It worked perfectly with version
Hi Bruno, I'm trying to use PowerFormWizard and it was working fine until I
found a bug using an Autocomplete widget for one of the fields. I can
reproduce the error even using your example application (I just added a
colors table and
db.person.colors.widget = SQLFORM.widgets.autocomplete(
Hello, I need the help of some web2py guru...
I'm developing an application where I have to add and modify couples of
people. So I've defined a table called person, and a table called pairs
which have two fields related to person.
I need to show a form to add/edit couples (so adding/editing in
know of any workaround to make autocomplete work in GAE?
BTW: A note should be added at the web2py book section
(http://www.web2py.com/book/default/chapter/07#Autocomplete-Widget ) warning
it does not work in gae. It will save time to many people.
Regards.
José L.
on how to associate both data.
Can anybody lend me a hand?
Regards
José L.
I'm having an authentication error in an application that works without any
problem in 1.95.1.
This application uses ldap authentication, the backtrace is:
Traceback (most recent call last):
File /opt/src/web2py/web2py/gluon/restricted.py, line 192, in restricted
exec ccode in environment
I've checked the problem comes
since
http://code.google.com/p/web2py/source/detail?r=9153fbe0349812922daae09c487f4dfe68280d76path=/gluon/tools.py
where the
user_id = table_user.insert(**keys)
replaced the old method to insert data in the auth table.
No idea of the rationale behind
selecta, the downloads from
http://pymantis.org/pymantis_server/plugin_release/download don't work in
any of its versions.
Do you have some control version system where I could take a look to these
plugins?
Thanks.
I'd like to use some of the widgets plugin_wiki has (mainly jqgrid and tags)
, but I don't want to use plugin wiki pages to build the site because I'd
like to have more flexibility (specially with layouts and javascript).
Is there an easy way to use some of these widgets in a normal view? (I've
Forget my previous email , I've found the answer in the book:
{{=plugin_wiki.widget('jqgrid',table='... ) }}
Hi
I was having problems (Internal error) when trying to pack an application
that I have under subversion control.
I've detected the problem was in the app_cleanup function in gluon/admin.py
(it tried to remove files, but raised an error when tried to remove the .svn
directory).
I guess this
I've tried to use it to avoid registering automatically users in the
database after a login using ldap, but the result is almost the opposite.
If auth.settings.alternate_requires_registration=True, then only database
users are allowed, and the alternate_login_methods are ignored.
Is it a bug or
Debian packages for 1.94.4 are already available where usual:
http://people.debian.org/~jredrejo/web2py/lenny/ (for python2.5)
or
http://people.debian.org/~jredrejo/web2py/squeeze/ (for python 2.5)
Regards.
On Monday, March 14, 2011 2:38:24 PM UTC+1, Massimo Di Pierro wrote:
http://blip.tv/file/4879126
Can you see it?
Perfectly, thanks very much.
On Mar 14, 6:50 am, Mengu whal...@gmail.com wrote:
so, what about the video?
Is there anyway to force the update of translations files by code?
I'll add it to the Debian package in case it's possible, so this problem
will disappear...
/python2.5/gluon/languages.py(95)write_dict()
i.e.:
As far as I can check, method translate, from class translator at
gluon/languages.py , always call method write_dict, and it looks there's no
need to do it.
is it a bug ?
Regards.
José L.
.
José L.
Massimo
On Mar 13, 10:56 am, José L. jred...@gmail.com wrote:
Hi,
running web2py in a directory with restricted permissions I've checked
that
anytime a translation is used, web2py try to re-write the translation
string:
/var/lib/python-support/python2.5/gluon
distributions, including documentation and an example configuration file to
use Apache.
My plan is uploading these packages to Debian at the end of this week if
nobody complains with bugs, so I ask help to all the Debian/Ubuntu users in
this group to test it and tell me their opinion.
Regards
José L.
Bumping
Massimo, I really need your help on this topic, specially on the part of the
unlicensed files.
Hello, in my progress of making the Debian packaging of web2py I'm dealing
with the non-always-clear world of licensing.
Up to now, I've some clear parts, which can be read at:
http://paste.debian.net/107968/
For Massimo and all the web2py contributors, it would be great if you can
take a
(or could it be added) to avoid
using any kind of sessions in a web2py application?
Regards.
José L.
Forget my previous mail, I've checked that adding
session.forget() to the default controller makes the needed magic.
Regards.
an
external process (the web browser), after it has started.
Regards.
José L.
This message has disappeared from the web2py google groups site . I don't
know why.
So, I'm bumping it
On Wednesday, January 26, 2011 8:33:37 PM UTC+1, José L. wrote:
Hello, in order to do the packaging of web2py, I've done these things:
- moved gluon to be a standard library of the system
and check if they 're received. Then you are sure
your server setup is working and you can think of configuring mail in
web2py.
Regards
José L.
with the teacher is a total sucess in many countries around
the world, and believe me: I've been working developing code and
applications for teachers for the last 8 years and it's not easy to
find an application that most teachers can use without problem.
My 2 cents
José L.
Massimo
On Nov 28
of
flooding this group of packaging technical details that most people
don't care.
Regards.
José L.
, but I can't recall of any other difference.
Regards.
José L.
Kind regards to all.
package web2py as you have in mind, besides the writing
rights? Which you will discuss later on I guess.
I'll try. Anyway, I've requested the creation of a packaging group in
alioth.debian.org. As soon as it is created by the admins I'll tell it
here, so anybody can join to help.
Regards
José L
be useful to be done with apache, with a apache2-web2py
package, but I don't see how to do it universally for any web server.
Sounds cool!
More than cool. It sounds as a need for many people!
Regards.
José L.
On 15 oct, 11:33, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com
wrote:
Maybe You could usehttps://help.launchpad.net/Packaging/SourceBuilds/
if you'd create stable branch on bazar and add packaging recipy
likehttps://code.edge.launchpad.net/~mdipierro/web2py/devel/+new-recipe
On 15 oct, 13:32, Mark Breedveld m.breedv...@solcon.nl wrote:
You have the idea. Thanks for clearing it towards the others.
My guesses it we need to do both.
Because Jose goal is general purpose and mine aswell,
but comes with overkill in the most cases.
In Jose case I would suggest a
break everything as it usually happens on
debian with other python frameworks.
mic
2010/10/13 José L. jredr...@gmail.com:
Hi, as it seems that time goes by, and no available packages for
Debian are ready, I'm going to begin to work on it seriously to upload
web2py to Debian.
I
On 13 oct, 23:17, Richard richar...@gmail.com wrote:
I remember talk about ability to upgrade through admin - is that
practical?
It works, but it must be disabled in the Debian package. Versions can
not be upgraded without upgrading the package, that would break the
system packages
On 13 oct, 23:18, Tim Michelsen timmichel...@gmx-topmail.de wrote:
I feel this will be a maintenance nightmare unless it somehow upgrades
itself. The release process of debian is very slow compared to ours.
You can have automatic daily builds of a source tree import to your
On 14 oct, 02:36, Mark Breedveld m.breedv...@solcon.nl wrote:
Hello Guys,
My apologise for my late update on the project.
Had to get my propedeuse :p.
And next 1 - 1,5 year I hope to do my graduation project on HRO.
Which I hope is implement or extends web2py manager.
In other topics
, and would like to have it in Debian. So
far, so good. No more ambitions, no more needs.
Regards
José L.
in the packaging
I'll be glad to open a project in alioth.debian.org, so we can work
together.
Regards.
José L.
On 13 oct, 21:00, mdipierro mdipie...@cs.depaul.edu wrote:
web2py -f folder
It should work but you may want to check. Perhaps we may need a patch.
I'll try it,
I guess some other files will be needed, but I'll report my progress.
Anyway maybe you could add some code to web2py.py so if it
in
alioth.debian.org.
And, if you think you can not do it, please let me hijack to ITP, I'd
try to do the packaging, so in the medium term, we can have a working
package to be tested by the Debian community (and its derivatives, as
Ubuntu, Linux Mint, LinEx, etc.)
Regards.
José L.
On 2 jul, 14:41
It's not reachable since a couple of days, and it's a very valuable
tool for web2py users...
José L.
together, but for that, I need more time to know
the insides of web2py before feeling I can do a good work with it.
Regards.
José L.
Hi,
I'm using an application running on twisted to communicate with some
electronic devices. twisted is almost a need to handle this
application because of the async nature of the comms. Also I use
twisted + some javascript to render a http page with the info coming
from the devices and to give
50 matches
Mail list logo