I am using the Pengoworks autocomplete to workaround I problem I am
having with web2py's autocomplete widget.
In previous versions of web2py I had the Pengoworks autocomplete work
correctly, at the moment I struggle with the drop box the autocomplete
produces. This is the list of cities it should
Thought some other more experienced devs might want to chime in:
http://www.sitepoint.com/forums/perl-python-other-languages-36/writing-blog-using-web2py-django-752190.html
Profit
...
Classic
I too will be using this feature soon in my software. Thanks for the
pointer.
BR,
Jason
On Wed, Apr 20, 2011 at 8:53 PM, Nite nitese...@gmail.com wrote:
Well... this turns out to be an easy one to answer *if* you know where
to look. Unfortunately the abundance of ways
I found that in rewrite.py
def _params_default(app=None):
there is
p.error_message_ticket = ...
Is there a way to customise/overwrite this error messag in my
application?
or do i have to edit rewrite.py to customize it
Powerpack
http://martin.tecnodoc.com.ar/default/post/2011/04/18/12_powerpack-intro
and
http://martin.tecnodoc.com.ar/default/post/2011/04/21/14_installing-powerpack-from-zero
2011/4/21 luckysmack luckysm...@gmail.com
Thought some other more experienced devs might want to chime in:
*We solve the problem*
*by downloading the file from the web2py project page in google code and it
contain more files and I think it was the problem*
*
*
*also configuration file as mentioned in the book*
*gaehandler *
***app,yaml*
*
*
*thanks for your help*
*
*
On 27 March 2011 17:52:16 UTC+3,
I think you should be able to specify that in routes.py, as explained here:
http://web2py.com/book/default/chapter/04#Routes-on-Error
On Thursday, April 21, 2011 5:44:26 AM UTC-4, selecta wrote:
I found that in rewrite.py
def _params_default(app=None):
there is
p.error_message_ticket
Please open an issue in google code
On Apr 21, 12:51 am, VP vtp2...@gmail.com wrote:
when a user in MULTIUSER MODE deletes his app, it gets deleted but the
link is still there. I think the appropriate entry in database needs
to be removed.
I just got it today and like the look of it.
I havent figured out how to paste my already written hmtl and css into
newly created pages yet but Ill get there.
The interface looks great and am glad it seems easy. One thing that
does get me is how to preview any pages.??? On wp you just press
that is not so nice, it would be a lot better if i could define the
error message in my application
the reason is that i created an issue tracker plugin that should
directly be displayed with the error message
however since this is a plugin it may not be available in every
application, also the
To view your pages, you have to run web2py (i.e., the web2py built-in
server) on your local machine. See
http://web2py.com/book/default/chapter/03#Startup for instructions. Once
web2py is running, go to
http://127.0.0.1:8000/yourapp/yourcontroller/yourfunction to view a
particular page. You
this patch fixes the files needed to show error tickets directly if
you are logged in into the admin app
if not you will only see the old error message, nothing else
http://code.google.com/p/web2py/issues/detail?id=241
massimo, it would be really nice if you could look at this and include
it
Would it help to use app-specific routes (i.e., put a routes.py file in the
application folder)?
On Thursday, April 21, 2011 9:37:33 AM UTC-4, selecta wrote:
that is not so nice, it would be a lot better if i could define the
error message in my application
the reason is that i created an
i dont think this would help since the issue tracker should be a
plugin
as a plugin it can only provide files and folders starting with
plugin_
:(
On Apr 21, 3:59 pm, Anthony abasta...@gmail.com wrote:
Would it help to use app-specific routes (i.e., put a routes.py file in the
application
Hello,
I'm writing a module to contain some class definitions I need for my
application's business logic and I would like to access gluon from my
module.
I placed my module inside the modules directory and import it using
local_import. I want to have the classes in the module access the
Is this trunk or stable? Because we are testing a new import
mechanism, although I do not know that is the cause of the problem.
On Apr 21, 9:17 am, Omri Har-Shemesh omri...@gmail.com wrote:
Hello,
I'm writing a module to contain some class definitions I need for my
application's business
Did you try
from gluon.dal import DAL
On Thursday, April 21, 2011 10:17:47 AM UTC-4, Omri Har-Shemesh wrote:
Hello,
I'm writing a module to contain some class definitions I need for my
application's business logic and I would like to access gluon from my
module.
I placed my module
This is stable - I only use the stable version and frequently update using
the Update link.
I thought I tried it before, but apparently I didn't, or I changed something
because this way seems to work.
It also works if I use import gluon.dal and check for gluon.dal.DAL.
Sorry to have bothered you, but beforehand I got an error saying that gluon
is not recognized. I'm not so sure what
Massimo:
In my css file, I simply used this:
pre { font-size: 130% !important; }
This will do it; as the code is enclosed within a pre. This will
override the font-size and leave the rest of the styling intact.
My suggestion is NOT to specify the font size in CODE (highlight.py).
This makes
On a related note on MARKMIN syntax.
For images, the code looks like this: [[title url position size]]
It appears position can be left, right, or center.
It turns out what you really want is middle, and NOT center. For
image alignment, center doesn't work.
My additional suggestion for
I have opened an issue. In fact, I opened a few issues related to
MULTIUSER_MODE.
This mode is quite useful, but I think it needs some work.
On Apr 21, 8:31 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Please open an issue in google code
On Apr 21, 12:51 am, VP
for the record. i had to change this a bit to get it to work.
i was getting 'too many redirects' when i used this, so i changed it
to this:
(so it did not try to redirect when db.py was processing the 'login'
request)
if auth.user is None and 'login' not in request.args:
I think so
On Apr 20, 6:09 pm, Rafael Sales rafael...@gmail.com wrote:
Hello,
I'm facing a very tricky error with JSON.
I have an action that must return a json object with the results of a
select. The select must return fields from two tables. When I use this
kind of select return fields
how about creating a virtual field that you append only in that
controller/view?
http://web2py.com/book/default/chapter/06?search=virtual+fields#Virtual-Fields
+1
By the way, I'm using Ubuntu 10.10 and the current version of Web2Py:
1.94.6
On 21 abr, 13:31, Franzé Jr. franz...@gmail.com wrote:
I think so
On Apr 20, 6:09 pm, Rafael Sales rafael...@gmail.com wrote:
Hello,
I'm facing a very tricky error with JSON.
I have an action that must return a
hi,
is it possible to create new record and update status simultaneously?
e.g. update()
def __add_2():
form = crud.create(db.booking, next = URL(request.application,
request.controller, 'index'), onaccept = db.room(db.room.id ==
request.vars.room_id).update(status = 'Booked'))
return
+1
Hi folks,
I am wondering what is the suggested approach of placing the custom
applications on an OS X web2py installation. I am a longtime Linux and
OS X user, and I use my Mac for day to day work, and use a VM (Fusion)
with a Linux Image (Fedora) in which I run web2py, mysql, python, etc,
and
This potentially saves one click and prevents opening the error in a new tab?
-1
I just switched from the .app to source and am much happier. But when I ran off
.app, I just put apps in the regular applications folder. Seemed to work fine
for me.
Hmm, interesting pbreit, hadn't thought about it, I will probably do
that also, especially since I'd like to debug the web2py app itself
(via Wing IDE for example), thanks for the comment!
Julio
On Apr 21, 11:03 am, pbreit pbreitenb...@gmail.com wrote:
I just switched from the .app to source
Well, isn't this a breathe of fresh air, as pbreit suggested, I
downloaded the source code of web2py, symlinked my custom applications
into web2py's applications and voilá, they are all working locally,
talking about OS portability, I had everything running in 5 min, this
is sweet!
On Apr 21,
I think onaccept has to be a function.
On Thursday, April 21, 2011 1:12:24 PM UTC-4, 黄祥 wrote:
hi,
is it possible to create new record and update status simultaneously?
e.g. update()
def __add_2():
form = crud.create(db.booking, next = URL(request.application,
request.controller,
I want to test Martin Mulone's power pack plug-in.
I can test this in usual way, ie., application is within web2py directory.
But my problem is that I kept all my applications out of web2py installation
directory.
Now if I run following command, all I get is an error saying application
btw., If I change line 224 of cache.py to folder = folder or
os.path.join(os.path.abspath(request.folder), 'cache')
I get following error
OSError: [Errno 2] No such file or directory:
'/home/kra/Works/Python/web2py_projects/trunk/applications/powerpack/cache'
It should be:
We are looking for experienced developers to work on a web2py project.
We are considering using a freelancing service like vworker.com
(formerly rent-a-coder) or elance. Does anyone have any experience
with these companies?
Jim Karsten
Hello Jim,
have you looked at www.experts4solutions.com?
Kenneth
We are looking for experienced developers to work on a web2py project.
We are considering using a freelancing service like vworker.com
(formerly rent-a-coder) or elance. Does anyone have any experience
with these companies?
Jim
Question:
how to make CAS manage change password for access to my application?.
I ask because the menu:
[login, password]
of my application by clicking on password
one is sent to the home page of the application itself instead of
CAS website
I would like an automatic method similar to the one
I had good luck with oDesk for a small project.
Yeah, probably wouldn't hurt to steer more Mac users to source. From the
Download page, it seems Mac users should download the Mac package.
If you use version control (if you don't, you should!) it's even better to
clone it from Google code. Then you can easily control your web2py version.
On Apr 21, 8:04 pm, pbreit pbreitenb...@gmail.com wrote:
This potentially saves one click
right not more not less
and prevents opening the error in a new tab?
why? the link is still there, you can do it if you want to
-1
just as a follow-up here, i got this to work simply using a combination of
what everyone said. here's what i did:
i added the following to my app.yaml above the handlers: section:
inbound_services:
- mail
under handlers (and for me, below remote_api), i added the following code:
- url:
Are you using trunk or stable?
On Apr 21, 2011, at 1:56 PM, Arun K.Rajeevan wrote:
btw., If I change line 224 of cache.py to folder = folder or
os.path.join(os.path.abspath(request.folder), 'cache')
I get following error
OSError: [Errno 2] No such file or directory:
Two line break break paragraphs p/p therefore you should use CSS
to add space between paragraphs.
On Apr 21, 10:04 am, VP vtp2...@gmail.com wrote:
On a related note on MARKMIN syntax.
For images, the code looks like this: [[title url position size]]
It appears position can be left, right,
why the -1?
On Apr 21, 1:04 pm, pbreit pbreitenb...@gmail.com wrote:
This potentially saves one click and prevents opening the error in a new tab?
-1
This is really useful. Thanks for sharing. Would you add a
web2pyslice.com
On Apr 21, 4:52 pm, mattynoce mattyn...@gmail.com wrote:
just as a follow-up here, i got this to work simply using a combination of
what everyone said. here's what i did:
i added the following to my app.yaml above the
I ran my application and did not see any problems. I am over a PostgreSQL
database. I likely did not exercise any new features, I have not touched the
code in a week or more - working on other things right now.
This is what I get when I try to conect to a mysql database:
Traceback (most recent call last):
File /Users/titogarrido/Documents/Projetos/web2py/gluon/restricted.py,
line 181, in restricted
exec ccode in environment
File
In fact it's happening with SQLite too when I try to open the database
administrator.
On Thu, Apr 21, 2011 at 8:59 PM, Tito Garrido titogarr...@gmail.com wrote:
This is what I get when I try to conect to a mysql database:
Traceback (most recent call last):
File
Didn't seem like a big improvement to me and feared I'd lose the ability to
open error in new tab. But it's fine, seems like there's quite a bit of
interest.
Looks interesting. Thanks for the link.
On Apr 21, 4:09 pm, Kenneth Lundström kenneth.t.lundst...@gmail.com
wrote:
Hello Jim,
have you looked atwww.experts4solutions.com?
Kenneth
We are looking for experienced developers to work on a web2py project.
We are considering using a
I have a set
mp_list=gdb(gdb.municipality.province==gdb.province.id)
which I'm trying to use it in a select field but causes an error:
Field('municipality',requires=IS_IN_DB(mp_list,'municipality.psgc_m',
'%(municipality.name)s
(%(province.name)s)'))
I still couldn't find out how to do it with IS_IN_DB and a DAL Set.
But using IS_IN_SET works:
mp_list=gdb(gdb.municipality.province==gdb.province.id)\
.select(gdb.municipality.psgc_m,gdb.municipality.name,\
I got the same error when trying to access the appadmin controller
Traceback (most recent call last):
File /home/rochacbruno/Dropbox/cursodepython/web2py/gluon/restricted.py,
line 181, in restricted
exec ccode in environment
File
a, i c, thank you so much for your pointer anthony, is there any others way
to that without using update() or update_record()?
thank you very much
On Fri, Apr 22, 2011 at 1:33 AM, Anthony abasta...@gmail.com wrote:
I think onaccept has to be a function.
On Thursday, April 21, 2011 1:12:24 PM
57 matches
Mail list logo