On 1 October 2011 05:28, Bruno Rocha wrote:
> grid should have a truncate parameter.
It seems that there is none at the moment. I got
TypeError: grid() got an unexpected keyword argument 'truncate'
when trying
form = SQLFORM.grid(query, columns = columns,deletable = False,
Hello pbreit,
I cannot find the post on this group where I found it but I'm pretty
sure form.vars.filename_newfilename is what you're looking for.
This is not to be confused with request.vars.filename.filename which
will contain your original filename. form.vars.filename_filename will
contain th
YES!
Estamos em: http://groups.google.com/group/web2py-users-brazil
Mais aqui: http://web2py.com/examples/default/usergroups
On Sun, Oct 2, 2011 at 8:28 PM, Leonardo Cezar wrote:
> Hay all,
>
> Is there any portuguese web2py mailing lists?
>
> Best regards,
>
> -Leo
> --
> Leonardo Cezar
> htt
>
> Thank you for your interest and quick reply.
>
>
>
> Ah! Yes, I could do that, But I also am able to log in and edit when
using apache as a server.
Yes, something like that is the cause.
Fine I can duplicate an re-duplicate here. I can insert any code to
debug/test and am quite p
Well, decided to leave a comment regarding misconceptions (what else
is new) on web2py when I was blasted back with all the "facts" on why
web2py -=sucks=-, I've responded to them but there could be good
points on his side too (I am almost never confrontative unless they
play the condescending card
I am confused. Did you use
db = DAL('mongodb://')
db.define_table()
db.mytable.insert()
or just the mongodb api?
On Oct 2, 5:53 pm, Bruno Rocha wrote:
> I used that for some samples and talks, also for a small project. as I I am
> not doing advanced operations I cant say if it works
Hay all,
Is there any portuguese web2py mailing lists?
Best regards,
-Leo
--
Leonardo Cezar
http://postgreslogia.wordpress.com
> Hi there,
>
> If I disable the https requirement for the admin, I will not be able
> to get into the admin area either.
I was meaning disabling it in:
applications/welcome/controllers/appadmin.py
>
> The strange thing is that I can log in. The system recognizes my
> password as valid (when i
Note, you can do a conditional {{include 'somefile.html'}}, and I believe
that will be able to compile (as long as the include doesn't include a
variable). The compiled view will include all the code from both included
views, though only one will be executed, depending on the condition.
Anthony
try to change for the uswgi user.
can you see which user it is using? may be www-data or even www or apache
On Sun, Oct 2, 2011 at 10:20 PM, MidGe wrote:
> Hi there,
>
> If I disable the https requirement for the admin, I will not be able
> to get into the admin area either.
>
> The strange thi
On Sunday, October 2, 2011 8:37:17 PM UTC-4, rochacbruno wrote:
>
>
>
> On Sun, Oct 2, 2011 at 9:29 PM, Anthony wrote:
>
>> I don't think you can do a conditional {{extend}}, can you?
>
>
> Yes it works, do not works only if you compile the app.
>
Are you sure? Doesn't seem to work when I try it?
yes anthony, both of those worked in the way you prescribed. thank
you so much and have a nice day. lucas
Hi there,
If I disable the https requirement for the admin, I will not be able
to get into the admin area either.
The strange thing is that I can log in. The system recognizes my
password as valid (when it is, and not when it is not) but it does get
me back to the login screen, in an endless loo
Thanks to forum members (Anthony & Cliff), I was able to develop an
application which I hope to serve as a repository of checklists. It is
hosted at http://123-check.appspot.com/. This is just a first version and
I'm still learning. Your comments / suggestions are appreciated.
Joseph Jude
http
Have you read
through http://web2py.com/book/default/chapter/04#Pattern-Based-System? Not
sure if this will work, but maybe something like:
routes_in = (('http://$sub\.mysite\.com', '/myapp/pages/blog?user=$sub'))
On Sunday, October 2, 2011 8:14:32 PM UTC-4, Farsheed Ashouri wrote:
>
> So, Any
On Sun, Oct 2, 2011 at 9:29 PM, Anthony wrote:
> I don't think you can do a conditional {{extend}}, can you?
Yes it works, do not works only if you compile the app.
done: http://code.google.com/p/web2py/issues/detail?id=455
I don't think you can do a conditional {{extend}}, can you?
Anthony
On Sunday, October 2, 2011 3:41:46 PM UTC-4, Julie Bouillon wrote:
>
> I've hacked something based on request.env.query_string because it's
> not working
> with the session if the first page visited is a protected one.
>
> Unf
Try CAT('dude man', BR())
Note, CAT() is new and only recently added to the book (previously, you
would have done TAG['']('dude man', BR())).
XML('dude man') should also work.
Anthony
On Sunday, October 2, 2011 5:03:25 PM UTC-4, lucas wrote:
>
> ok, i must be missing something, because that is
Maybe post an issue about this on Google
code: http://code.google.com/p/web2py/issues/list
On Sunday, October 2, 2011 6:42:39 PM UTC-4, Carlos wrote:
>
> Hi,
>
> I solved this in my case (without a redirect) as follows:
>
> + wrap each upload widget html into a 'wrapper' div.
>
> + after the form
So, Any reliable setting? Any alternative ways? probably
with Apache settings?
I used that for some samples and talks, also for a small project. as I I am
not doing advanced operations I cant say if it works or not. But for my
sample needs worked very well.
On Sun, Oct 2, 2011 at 7:39 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> At this time my priority is t
Hi,
I solved this in my case (without a redirect) as follows:
+ wrap each upload widget html into a 'wrapper' div.
+ after the form accepts/process, find each of those wrapper elements and
replace their contents (old value) with a new call to the upload widget
using the new value.
The above w
At this time my priority is to finish document the rest of
undocumented web2py features. I will work on this as soon as I finish
that.
Anyway, in dal.py there is a mongodb adapter. It can only do insert.
Has anybody tried that?
massimo
On Oct 2, 4:52 pm, Francisco Costa wrote:
> I don't want to
Check the source code for MENU
http://code.google.com/p/web2py/source/browse/gluon/html.py#2029
You can also define your own helper if not flexible enough.
On Oct 2, 4:18 pm, António Ramos wrote:
> Hello, i´m working withhttp://www.jeasyui.comtree view for a test app
>
> i want to use the respon
What do you mean by "not working". What is in the view? What do you
see?
On Oct 2, 4:03 pm, lucas wrote:
> ok, i must be missing something, because that is not working. i am
> running web2py v1.98.2 on apache 2.2.15 on centos 6.0. lucas
What's in "/var/web2py/applications/Sample_Google_Checkout/views/
default/index.html" ?
On Oct 2, 1:26 pm, zukunftschauer wrote:
> I am trying to evaluate the Google Checkout Plugin, but keep running
> in the same error. I followed the instructions listed in the Model in
> the plugin. I am n
I don't want to spam the group about this, but I would like to have
some official incites about when will the DAL have a MongoDB Adapter.
Since this is the most requested feature by the web2py community
http://web2py.uservoice.com/forums/42577-general are there any plans
or schedule for this supp
Hello, i´m working with http://www.jeasyui.com tree view for a test app
i want to use the response.menu variable from web2py with this treeview from
easy ui but i noticed that it needs a tag
how do i change the behaviour of the MENU(response.menu) ?
i want to add menuitem for every tags in res
ok, i must be missing something, because that is not working. i am
running web2py v1.98.2 on apache 2.2.15 on centos 6.0. lucas
Well, I tried something goofy...
I downloaded and ran pygpgme-0.8.1.win32.exe against a Python 2.7
installation on my PC. Then I *moved* the resultant folder ('pyme')
over to the site-packages folder of web2py. Now I can successfully
import. However, it won't work as per the sample code in the web
I have followed the link and got the "setuptools-0.6c11" for Windows (32
bit). I have several versions of Python on my PC. The setuptools find the
installed version of Python 2.5, but it seems that it does not allow to
install to web2py. And if somebody does not have Python 2.5 installed?
I think
No you cannot install python modules from within web2py.
Not yet at least.
You have to install using easy_install.
http://packages.python.org/distribute/easy_install.html#installing-easy-install
mic
Il giorno 02/ott/2011 21:11, "horridohobbyist"
ha scritto:
> Okay, now I'm *really* confused.
I've hacked something based on request.env.query_string because it's
not working
with the session if the first page visited is a protected one.
Unfortunately, I think I might have found a bug.
Here's an excerpt of the user.html file I use:
{{if "/appname/contname" in request.env.query_string:}}
{
Okay, now I'm *really* confused. web2py has nothing to do with any
python installation on my Windows PC. So the question is, how do you
install python-pyme from within web2py? Does the web2py book talk
about this??
Richard
On Oct 2, 2:50 pm, horridohobbyist wrote:
> Like I said, I'm new to pytho
Like I said, I'm new to python and web2py. I'm just starting to get
into it with the official web2py book.
My preliminary search reveals that I may have to build the python-pyme
stuff. I'm using web2py under Windows 7. I'm not sure how to proceed.
(Things like SWIG puzzle me.)
Is there a quick wa
I am trying to evaluate the Google Checkout Plugin, but keep running
in the same error. I followed the instructions listed in the Model in
the plugin. I am new to web2py, and so far love it, but it you need
more information than I have provided, please let me know. I am just
not experienced enou
'role' is the third argument of the function, so if you're only going to
submit one argument, you have to name it:
auth.has_membership(role='reg')
Your version is interpreting 'reg' as the group_id, which is the first
argument.
Anthony
On Sunday, October 2, 2011 11:26:40 AM UTC-4, Web2Py Frea
You don't have to import anything it's done automatically by the framework.
But you need to install python-pyme. (If I remember well the package
python-pyme depends on libgpgme11). So install python-pyme and spicify
sign_passphrase and other. And have a gnupg settings for web2py user. That
is y
body = XML('dude man',BR())
return dict(body=body)
On Oct 2, 11:43 am, lucas wrote:
> hello one and all,
>
> i am trying to insert the html tag under default.py in index(),
> something like:
>
> def index():
> body = 'dude man'+BR()
> return dict(body=body)
>
> which blows and gives an Inter
{{ if auth.has_membership(role='reg')
content for reg .
{{pass}}
On Oct 2, 10:26 am, Web2Py Freak wrote:
> i have a role called "reg"
>
> i tryed :
> {{ if auth.has_membership('reg')
>
> content for reg .
>
> {{pass}}
>
> but it didnt work
Should be this video. It is old but ok: http://www.vimeo.com/13485916
On Oct 2, 9:56 am, "Cameron" wrote:
> Cube2py looks very interesting - but the vimeo video link on the page comes
> up with a vimeo error that it was deleted on July 20, FYI . . .
>
>
>
>
>
>
>
> -Original Message-
> F
As a quick solution, store the last visited page in session and check
check in user
is not request.function == 'user':
session.last_action = request.function
controller A
@auth.requires_login() --> send to a view user.html specific for
controller A
def myfunctionA():
return dict()
co
hello one and all,
i am trying to insert the html tag under default.py in index(),
something like:
def index():
body = 'dude man'+BR()
return dict(body=body)
which blows and gives an Internal error, TypeError: cannot concatenate
'str' and 'BR' objects
or even simpler like,
def index():
Can you tell us more?
On Oct 2, 2:54 am, pbreit wrote:
> I'm on 1.99.3 and most or all of my errors are listed as "timeout: timed out"
> which doesn't seem right. Is anyone else seeing this?
Here is my goal. I have multiple drop down forms populated with the
unique values available per field. I want to add a default ALL value
to them.
I then want to be able to take those values from the form and do a
selection based off those variables. I can't seem to be able to
select all values p
i have a role called "reg"
i tryed :
{{ if auth.has_membership('reg')
content for reg .
{{pass}}
but it didnt work
auth.has_membership(group_id, user_id, role)
*
*
You can specify either group_id or role. The current logged in user is
assumed if user_id is not
specified. See http://web2py.com/book/default/chapter/08#Authorization.
Anthony
On Sunday, October 2, 2011 10:56:43 AM UTC-4, Web2Py Freak wrote:
>
hey guys ,
i want to use somthing like this in my page but with ROLES:
{{if auth.is_logged_in():}}
{{pass}}
Cube2py looks very interesting - but the vimeo video link on the page comes
up with a vimeo error that it was deleted on July 20, FYI . . .
-Original Message-
From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of
Massimo Di Pierro
Sent: Saturday, October 01, 2011 10:
I have not got any answer from fluxflex.
Martin
2011/10/2 jotbe
> I got a similar issue just right now and contacted the fluxflex
> service. Was your problem resolved meanwhile?
>
> Regards,
> Jan
>
> On 14 Sep., 07:20, Martin Weissenboeck wrote:
> > Hi,
> >
> > has somebody tried the private m
On Oct 2, 2011, at 7:23 AM, Anthony wrote:
> I'm not sure about reading URLs (incoming or outgoing), but for re-writing
> them, there is an example in
> http://web2py.com/book/default/chapter/04#Pattern-Based-System showing a
> re-write involving the query string:
>
> '/test/default/index?vars
I'm not sure about reading URLs (incoming or outgoing), but for re-writing
them, there is an example
in http://web2py.com/book/default/chapter/04#Pattern-Based-System showing a
re-write involving the query string:
'/test/default/index?vars=\g'
Presumably if could be a match of the subdomain,
Thank you Anthony,
it worked, dumb me didnt noticed that validator.
Thanks again, Jan
On 30 zář, 19:39, Anthony wrote:
> Have you tried IS_EMPTY_OR(IS_IN_SET(...))?
>
> Seehttp://web2py.com/book/default/chapter/07#Validators
>
> Anthony
>
>
>
> On Friday, September 30, 2011 1:13:32 PM UTC-4, Ja
On 10/02/2011 06:53 AM, Massimo Di Pierro wrote:
How do you know if a user that has not yet logged is special or not?
Can you provide an example?
On Oct 1, 1:22 pm, "julie.bouil...@yedia.com"
wrote:
Hi,
Is it possible to define different auth page for the same application ? I
mean having an
Il giorno 02/ott/2011, alle ore 10:17, MidGe ha scritto:
> I suspect the problem must be with uwsgi.
>
> The reason I say that, is that if I use the apache as per install script, it
> works.
>
> If I stop apache and setup uwsgi, everything exactly the same, I have the
> problem. I can access
I can't seem to figure out how to do multiple tables in one form where an
image upload is involved. I've tried various combinations of this.
Unfortunately I'm not getting meaningful error messages right now,
everything is listed as "timed out".
db.define_table('post',
Field('title'),
Fi
I suspect the problem must be with uwsgi.
The reason I say that, is that if I use the apache as per install script, it
works.
If I stop apache and setup uwsgi, everything exactly the same, I have the
problem. I can access the site. login even, but I get in a loop showing me
back to the login
I'm on 1.99.3 and most or all of my errors are listed as "timeout: timed out"
which doesn't seem right. Is anyone else seeing this?
59 matches
Mail list logo