Hey Massimo,
What he was referring to is what the maintainer has added examples
for: https://github.com/demianbrecht/sanction/blob/master/example/server.py
(I also made a commit)
On Sat, Jul 7, 2012 at 11:30 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Hello Demian,
I do not
Thanks for bearing with me.
You'll have to add some logic to set the value of the show_function
variable included in the call to URL().
Problem solved.
Kind regards,
Annet.
I cannot reproduce the problem. If I create a condition that fails, the
content of the included file does not display.
That's what I tried: {{if 1==0:}}
I finally rebuild the whole function and its views bit by bit just to
discover this:
{{session.cal.cursusrooster}}
:-( any way
Of course, i will try this afternoon.
El 07/07/2012, a las 03:33, Massimo Di Pierro massimo.dipie...@gmail.com
escribió:
Meanwhile, can you check the new db.close() in trunk?
On Friday, 6 July 2012 15:40:57 UTC-5, demetrio wrote:
Mail with the code sended :)
2012/7/6 Massimo Di
That would be great having something like this integrated into web2py .
David
http://brettcvz.github.com/ymacs/
http://brettcvz.github.com/ymacs/demo
Hi,
is there a way to simplify these expression: form[0][-1][1] ? Ok, I can
assign these expression to a var. For a lot of questions regarding forms,
there is form[0][-1][1] part of an answer.
Thanks
Andreas
Am Samstag, 7. Juli 2012 02:38:04 UTC+2 schrieb Massimo Di Pierro:
try
Hi,
I want to send string content (html) from client to server using JSON and
then decode the JSON to string in python controller, Can somebody help me
with the syntax.
Thanks
Akash
*
*
I am from a non coding background so python, web2py is very new to me. I am
trying to send html content using json and then use that in controller to
generate pdf. If I am able to send json data and then use it in controller
function, i should be able to get the pdf. More details below. I
Hello,
I have a (I guess rather common) scenario: my application is providing some
information to the connected users, depending on some input parameters. The
input parameters can be set in a per-browser-window way. That means, user1
can be logged in two different browser windows (or two
Hi,
I was reading about crud.archive in the online Web2Py book, when i noticed
the following:
auth.archive does not timestamp the stored record unless your original
table has timestamp fields, for example:
db.define_table('mytable',
Field('created_on','datetime',
It's not working :(
In the best scenario i can leave one connection opened in a whole
request (with other combinations it leaves at least 10 more or less)
only with:
self.db.commit()
from gluon.dal import BaseAdapter
BaseAdapter.close_all_instances('commit')
2012/7/7 Daniel Gonzale
Thanks to help from the uwsgi group (Specifically Ryan Showalter and Lukasz
Mierzwa) I learned about two important settings to help speed up web2py
sites.
I hope this advice helps anyone else who is using uwsgi and has a very slow
site with traffic starts poring in.
1) Set --cpu-affinity when
For the case that the email has not been verified by the
user, request_reset_password can be overload to include resend email
verification request.
Not sure if the above is a good idea?
Mistake. Fixed now. Thanks.
Anthony
On Saturday, July 7, 2012 10:08:31 AM UTC-4, Remco K wrote:
Hi,
I was reading about crud.archive in the online Web2Py book, when i noticed
the following:
auth.archive does not timestamp the stored record unless your original
table has timestamp
1. the session object maps to a browser-window (*not* to a user!). Is
this correct?
The session is associated with a particular browser, but not with a
particular window/tab within the browser (i.e., two windows in the same
browser will share the same session). Different browsers
Also, the session ID itself can be found in response.session_id.
Anthony
On Saturday, July 7, 2012 11:37:18 AM UTC-4, Anthony wrote:
1. the session object maps to a browser-window (*not* to a user!). Is
this correct?
The session is associated with a particular browser, but not with
On Saturday, July 7, 2012 5:37:18 PM UTC+2, Anthony wrote:
1. the session object maps to a browser-window (*not* to a user!). Is
this correct?
The session is associated with a particular browser, but not with a
particular window/tab within the browser (i.e., two windows in the
1. the session object maps to a browser-window (*not* to a user!).
Is this correct?
The session is associated with a particular browser, but not with a
particular window/tab within the browser (i.e., two windows in the same
browser will share the same session). Different browsers
I currently have 2 apps which i would like to share one database.
one app is for authentication the other is the main app.
When I run the app1 it creates the auth tables along with another table
called *base_tags*
when I run app2 I get the following error. (the base_tags table in app1 is
Found this Was having trouble but i guess this --
Still down :(
On Friday, July 6, 2012 1:53:13 AM UTC+8, Richard wrote:
Still down!
Richard
On Thu, Jul 5, 2012 at 2:27 AM, dave arifu...@gmail.com wrote:
the site is down
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete
Found this Was having trouble but i guess this --
{{=form.custom.begin}}
#in between the opening and closing tags put in your normal html code and
make sure the element names corresponds to the column names as defined in
your database. web2py will handle the rest automatically. This is the most
flexible way while still making use of
Hi,
I want to generate vanity urls for my users. For example:
www.domain.com/user_first_name
The above URL should actually point to the
www.domain.com/appname/view/user/user_first_name
How should I configure my routes.py so that I can achieve the above without
disturbing other URLs ?
Also I
Let's suppose we have a page for creating blog posts with a form with text
area transformed into an editor. That editor has properly configured custom
upload mechanism meaning that it uses a controller function such as
upload_file() and it also has a view which is only needed to run some
You can try replace
form[0][-1][1]
with
form.element(_type='submit').parent
On Saturday, July 7, 2012 3:19:02 AM UTC-5, Andreas Kaiser wrote:
Hi,
is there a way to simplify these expression: form[0][-1][1] ? Ok, I can
assign these expression to a var. For a lot of questions regarding
Are you using threads?
On Saturday, July 7, 2012 9:21:51 AM UTC-5, demetrio wrote:
It's not working :(
In the best scenario i can leave one connection opened in a whole
request (with other combinations it leaves at least 10 more or less)
only with:
self.db.commit()
from gluon.dal
No objection. The effect is the same since we do not check the new password
is the same as the old password.
On Saturday, July 7, 2012 9:45:02 AM UTC-5, amit wrote:
For the case that the email has not been verified by the
user, request_reset_password can be overload to include resend
The rule you want is
routes_in = [
('/$anything',
'/appname/view/user/http://www.domain.com/appname/view/user/user_first_name
$anything')
]
but before this rule you must make sure treat other URLs as exceptions
(should not be mapped):
routes_in = [
('/admin','/admin'),
how many of those fields are references?
what is the geometry field? is that a custom field in web2py? parsing
that might be taking some time.
On Friday, July 6, 2012 5:37:47 PM UTC-7, Anthony wrote:
Hmm, not sure what's going on. What happens if you remove the virtual
field?
On
do you have anything in models that run queries? i made that mistake once
and it slowed things down a lot!
On Friday, July 6, 2012 11:51:38 AM UTC-7, wdtatenh wrote:
My website is deployed on webfaction. I've compiled the application before
uploading.
Doesn't seem to matter what page is
On 7 Jul 2012, at 3:37 PM, Massimo Di Pierro wrote:
The rule you want is
routes_in = [
('/$anything', '/appname/view/user/$anything')
]
but before this rule you must make sure treat other URLs as exceptions
(should not be mapped):
routes_in = [
('/admin','/admin'),
Remove any requires you have in you models will reduce function calla
On Jul 7, 2012 3:53 PM, howesc how...@umich.edu wrote:
do you have anything in models that run queries? i made that mistake once
and it slowed things down a lot!
On Friday, July 6, 2012 11:51:38 AM UTC-7, wdtatenh wrote:
I wonder if we should try to support this formally. Perhaps if as a
catchall if the router doesn't find any valid routes and before it
returns a 404?
On 7 Jul 2012, at 4:25 PM, pbreit wrote:
I wonder if we should try to support this formally. Perhaps if as a
catchall if the router doesn't find any valid routes and before it returns
a 404?
The parametric router will do this for the default controller and function, if
you list the
I've written an iPad (only, US-only for now) app, newly in the App Store, that
is powered on the back end by web2py.
The marketing website (SquareSpace, not web2py): http://watchup.com
Watchup is designed to make it easy and efficient to create a playlist of news
videos and watch them. The
On 7 Jul 2012, at 5:15 PM, Jonathan Lundell wrote:
I've written an iPad (only, US-only for now) app, newly in the App Store,
that is powered on the back end by web2py.
The marketing website (SquareSpace, not web2py): http://watchup.com
Watchup is designed to make it easy and efficient
Hi there,
I am using web2py 1.99.7.
It seems that my translation does not seem to work.
I updated the translations, saw my added text, translated it to german,
checked the browser for preferred language but still see the enflish words.
How could I start here to solve my issue?
Thanks a lot and
the DAL db(..).select(...) does two things:
1) generates and executes the SQL (no overhead)
2) parses and normalizes the output in a database independent way
2) takes time proportional to the number of rows you select. You select
66000 rows and you tell us it takes 40 minutes? That is more than
It can be done already
('/$anything','404-/myapp/default/catchall/$anything')
On Saturday, 7 July 2012 18:25:25 UTC-5, pbreit wrote:
I wonder if we should try to support this formally. Perhaps if as a
catchall if the router doesn't find any valid routes and before it
returns a 404?
1. I want to utilize 'layout.html' to some extent such that it stores some
common css files for the rest of the view pages. Kinda like a shared base
template, and I want to add page-specific css (or js) files on individual
html view page. Is it as simple as including:
{{extend
Hi all,
Anyone else having this problem?
When I use three columns like this:
{{left_sidebar_enabled,right_sidebar_enabled=True,True}}
The footer gets misplaced. If I disable the left and right sidebar,
everything is ok.
Thanks very much.
Kevin Miller
Hi all,
Well what I notice is that when the sidebars are enabled the sticky footer
stays at the bottom of the page, where it should be. However, when disabled
the sticky footer does not work.
On Sat, Jul 7, 2012 at 11:04 PM, Kevin Miller kevinvani...@gmail.comwrote:
Hi all,
Anyone else
44 matches
Mail list logo