Event starts today
http://apac.pycon.org/
(built with web2py goodness too!)
IMHO it depends on a number of things.
Using groups and memberships is good if the flags are meant to indicate an
ability to do something on the system because there are decorators and
functions to test for having the attribute. You can then decorate a function
or use a has_ test to determi
On Thursday, 9 June 2011 03:03:51 UTC+2, Massimo Di Pierro wrote:
>
> Users who have an opinion please share it now. This is important.
>
Could you direct us to more details about the issue?My current
understanding is shallow, but I agree with Pierre that platform-specific
environment setti
On Jun 9, 3:02 am, Stifan Kristi wrote:
> is the book has already been updated right now?
> thank you
I made some small fixes last night, if that is the kind of thing you
mean. If you mean to ask whether the book is completely up to date
with the capabilities and features of the current stable w
On Jun 9, 1:06 am, "contatogilson...@gmail.com"
wrote:
> I suggest that has more people to contribute to the documentation of web2py.
> The documentation uses the principle of wiki with that we can help make it
> updatedalways.
Currently, the web2py book is a wiki, and there are several
contribu
Excellent! Thank you both!
Before I had [file | (cbox) delete ]
requires=IS_IMAGE()
got rid of the delete and checkbox, but now I am still left with
[file]
(a link to download the file)
Might have to do server-side DOM parsing to get rid of that ...
Thanks!!!
Luis.
I guess the other option would be to use groups and memberships. That
actually sounds like not a bad idea considering that I get a lot of built-in
functionality?
I know this isn't a super-sexy topic but does anyone have any suggestions?
If I understand the code in trunk (with the temp fix) it does not
affect file wiring. It just changes how modules are located so that if
you have both module and modUle and you import modUle, it would
incorrectly pick up the former instead of the latter. I have yet to
see to module with names that
I used the same installation as olivier, which is causing my modules
(installed with easy_install-2.6) not to be located when I try to run
my application. I've tried changing my .bash_profile per the
webfaction instructions to change the default python version. Same
problem, modules aren't found an
On Jun 8, 2011, at 6:47 PM, Pierre Thibault wrote:
> 2011/6/8 Jonathan Lundell
> On Jun 8, 2011, at 6:03 PM, Massimo Di Pierro wrote:
> >
> > Let me tink about this.
> > This has relevant content:
> > http://www.python.org/dev/peps/pep-0235/
> >
> > Users who have an opinion please share it now. T
The blocks are not working.
layout.html
(...)
{{ block header }}{{end}}
header.html
{{ extend 'layout.html' }}
{{ block header }}
Header
{{ end }}
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/8 Pierre Thibault
> 2011/6/8 Jonath
2011/6/8 Jonathan Lundell
> On Jun 8, 2011, at 6:03 PM, Massimo Di Pierro wrote:
> >
> > Let me tink about this.
> > This has relevant content:
> > http://www.python.org/dev/peps/pep-0235/
> >
> > Users who have an opinion please share it now. This is important.
>
> What's going on, exactly? My i
2011/6/8 Massimo Di Pierro
> Let me tink about this.
> This has relevant content:
> http://www.python.org/dev/peps/pep-0235/
>
> Users who have an opinion please share it now. This is important.
>
Thank you for the pointer. It seems there is a bug in the web2py code where
we are losing the capit
On Jun 8, 2011, at 6:03 PM, Massimo Di Pierro wrote:
>
> Let me tink about this.
> This has relevant content:
> http://www.python.org/dev/peps/pep-0235/
>
> Users who have an opinion please share it now. This is important.
What's going on, exactly? My impression is that something is getting lowe
Let me tink about this.
This has relevant content:
http://www.python.org/dev/peps/pep-0235/
Users who have an opinion please share it now. This is important.
On Jun 8, 7:45 pm, Pierre Thibault wrote:
> 2011/6/7 Massimo Di Pierro
>
> > I am not much of a windows user. I would like to understand
is the book has already been updated right now?
thank you
2011/6/7 Massimo Di Pierro
> I am not much of a windows user. I would like to understand what can
> go wrong with the solution in trunk?
> --
>
Is the solution in the trunk the one proposed by Alessandro:
os.environ['PYTHONCASEOK'] = '1'
?
Well, this solution is using a global change to fix f
I suggest that has more people to contribute to the documentation of web2py.
The documentation uses the principle of wiki with that we can help make it
updatedalways.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/8 cjrh
> On Jun 8, 3:
Yes, it seems to be faster too, but somehow not so simple to read -
prob the rich text, yuk!
On Jun 8, 11:12 pm, Anthony wrote:
> On Wednesday, June 8, 2011 4:47:15 PM UTC-4, Massimo Di Pierro wrote:
>
> > old one. perhaps that is the problem.
>
> The new interface has its quirks/bugs, but for
let go, if you use the template Davila Luke can do it all in html, it's
normal rendering
ex.:render template Lucas Davila - Pizza pdf
Despacho:
{{=obja.despacho}}
Ovidio Marinho Falcao Neto
ovidio...@g
On Jun 8, 3:27 pm, "contatogilson...@gmail.com"
wrote:
> It has forecast when it will be in the book web2py new features, or it will
> be open forother people to update online documentation?
What did you have in mind?
On Wednesday, June 8, 2011 4:47:15 PM UTC-4, Massimo Di Pierro wrote:
>
> old one. perhaps that is the problem.
The new interface has its quirks/bugs, but for the most part seems to work
well. The nice thing is that it enables rich text messages, and you can
attach files (in the old interface
It worked for me with a normal query:
db(db.post.id>0).select(orderby = ~db.post.id)
On Jun 9, 3:42 am, Massimo Di Pierro
wrote:
> I responded 2hr ago but comment did not show up. It happens all the
> time. :-(
> Here is it a again and hope it shows up.
>
> def upload():
> return
> dict(form=crud.create(db.uploadedFiles,message='Successful
> upload',next=URL()))
Wow. I wo
And you neglected to mention the Twitter channel #web2py where I can see
some tweets by you as well :)
So it turns out that all my "missing" posts are only missing in the old
groups view; in the new groups view, they are all there! Weird.
Yes you can live chat with the members and also you can publish by email
web...@groups.facebook.com
http://on.fb.me/web2py
--
Bruno Rocha
On Wed, Jun 8, 2011 at 6:38 PM, mattgorecki wrote:
> What about on the web2py Facebook group? I believe you can live chat
> with all the online members
On Jun 8, 10:18 pm, Massimo Di Pierro
wrote:
> I always use the web interface. I still had the problem 10 times in
> the last 24 hrs.
I had 4 go missing in the last 24h, also through the (old) web
interface.
On Jun 8, 8:53 pm, Ross Peoples wrote:
> I use Komodo IDE
> for development right now, which is a decent editor with autocomplete, but
> no debugging (and no remote debugging either).
Speaking as a long-time vim user, I was kinda blown away by pydev on
Eclipse (helios) recently. Somehow, eclipse
What about on the web2py Facebook group? I believe you can live chat
with all the online members of the group.
Matt
On Jun 8, 9:12 am, LarryEitel wrote:
> Although I am not a regular user of IRC, I do have mIRC and
> occasionally pop into #web2py. However, when I do and invite dialog
> there is
The model is in email/settings.py, the controller is email.py. Both
are in the standard spots for web2py models and controllers (e.g. /app/
controllers/email.py, and /app/models/email/settings.py).
This was working before the update to 1.96.4, but I'm not sure which
version I had pre-update.
Bas
Thankyou Massimo and DenesL,
Denesl, I know MSSQL has its own python ODBC package (pymssql?) , so
I've never been sure if the "mssql:..." reference is really using
pyODBC, or another package.I was expecting to see pyODBC
explicitly referenced, as it is in a simple python scipt's connection
st
Now that you know, can you post a step by step tutorial ?
;)
I should have said using version 1.96.4 as verification requested by Jay.
BTW controller specific models were not introduced until 1.96.1
On Wednesday, 8 June 2011 13:37:11 UTC-7, ron_m wrote:
>
> My application is working with model files under a subdirectory == the
> controller name.
>
old one. perhaps that is the problem.
On Jun 8, 3:25 pm, Anthony wrote:
> On Wednesday, June 8, 2011 4:18:53 PM UTC-4, Massimo Di Pierro wrote:
>
> > I always use the web interface. I still had the problem 10 times in
> > the last 24 hrs.
> > :-(
>
> That's odd. Do you use the old interface
> (
And in the pypi?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/8 ron_m
> My application is working with model files under a subdirectory == the
> controller name.
>
My application is working with model files under a subdirectory == the
controller name.
On Wednesday, June 8, 2011 4:18:53 PM UTC-4, Massimo Di Pierro wrote:
>
> I always use the web interface. I still had the problem 10 times in
> the last 24 hrs.
> :-(
That's odd. Do you use the old interface (
https://groups.google.com/group/web2py/topics?hl=en) or the new one (
https://gro
Do you use a proxy? You may have a vulnerability issue if web2py
always thinks requests are local.
On Jun 8, 2:55 pm, Ross Peoples wrote:
> I thought this change meant that regardless of the number of variables
> passed, it shows the toolbar anyways if is_local. My application that was
> created
I always use the web interface. I still had the problem 10 times in
the last 24 hrs.
:-(
On Jun 8, 2:55 pm, Anthony wrote:
> On Wednesday, June 8, 2011 1:42:43 PM UTC-4, Massimo Di Pierro wrote:
>
> > I responded 2hr ago but comment did not show up. It happens all the
> > time. :-(
>
> If it's co
what is the exact path to the model? and what s the associated
controller name (full path)?
On Jun 8, 2:29 pm, JayShaffstall wrote:
> Can anyone verify whether controller specific models are working for
> them using 1.96.4?
>
> I had an email.py controller, with email/settings.py model. Confirme
On Wednesday, June 8, 2011 3:55:17 PM UTC-4, Ross Peoples wrote:
>
> I thought this change meant that regardless of the number of variables
> passed, it shows the toolbar anyways if is_local. My application that was
> created before back in 1.94.1 does not check for is_local, because I see the
On Wednesday, June 8, 2011 1:42:43 PM UTC-4, Massimo Di Pierro wrote:
>
> I responded 2hr ago but comment did not show up. It happens all the
> time. :-(
If it's convenient for you, I find that posting via the web interface (
https://groups.google.com/forum/?fromgroups#!forum/web2py) always wo
I thought this change meant that regardless of the number of variables
passed, it shows the toolbar anyways if is_local. My application that was
created before back in 1.94.1 does not check for is_local, because I see the
toolbar on a remote machine, when all I pass is form=form. This change is
Thank you!
It works with a latest sources and after fixing the import line to
'from gluon.main import wsgibase'
On Jun 3, 5:18 pm, Massimo Di Pierro
wrote:
> ### no_threads_web2py.py ###
> from wsgiref.simple_server import make_server, demo_app
> from gluon import wsgibase
> httpd = make_server('
On Wednesday, June 8, 2011 11:24:42 AM UTC-4, Ross Peoples wrote:
>
> I just got hit by this change. I think the original reason why it never
> showed the toolbar for a single returned item was to make web2py easier to
> use. I'll give a use case:
>
> You want to create a simple form, so in a c
Can anyone verify whether controller specific models are working for
them using 1.96.4?
I had an email.py controller, with email/settings.py model. Confirmed
with a print that the settings.py model is no longer being loaded when
I invoke a method inside email.py. This was working fine with my
pr
It says "I bet the PyCharm team will step up to the task". I hope this is
their way of secretly saying, "It's now on our todo list". I use Komodo IDE
for development right now, which is a decent editor with autocomplete, but
no debugging (and no remote debugging either). So I hope PyCharm does a
Hi take a look:
http://on.fb.me/web2pycharm
It seens that Jetbrains team will start the work to support web2py.
Also come in to support web2py facegroup http://on.fb.me/web2py
Thanks Massimo. This works fine!
-Sebastian
Reposting since previous post did not show g.
The toolbar only shows from localhost.
On Jun 8, 10:24 am, Ross Peoples wrote:
> I just got hit by this change. I think the original reason why it never
> showed the toolbar for a single returned item was to make web2py easier to
> use. I'll
Although I am not a regular user of IRC, I do have mIRC and
occasionally pop into #web2py. However, when I do and invite dialog
there is no response even though there are 20+ users on the same
channel.
I wonder if anyone would be interested in using a Skype Group for
web2py. Or it could be some ot
Has anyone ever attempted to reproduce the "Run With Friends" app in
Web2py?
Run With Friends App:
http://developers.facebook.com/docs/samples/canvas/
The source code is in python and the app makes use of the google app
engine and django libraries. This sounds like an excellent web2py
candidate.
I responded 2hr ago but comment did not show up. It happens all the
time. :-(
Here is it a again and hope it shows up.
def upload():
return
dict(form=crud.create(db.uploadedFiles,message='Successful
upload',next=URL()))
On Jun 8, 8:49 am, Web2py Newbie
wrote:
> I want to expose a method wh
I just got hit by this change. I think the original reason why it never
showed the toolbar for a single returned item was to make web2py easier to
use. I'll give a use case:
You want to create a simple form, so in a controller you do the following:
form = SQLFORM(db.table)
return dict(form=form
I want to expose a method which will accept a file POSTed to it and
save the file to the database. I have found php examples all over the
place (one below).
How do i do this in web2py? I don't want to use a form as I don't
want to upload interactively.
My model is this:
db.define_table('uploade
How?
can you explain to me?
On 8 jun, 13:58, Ovidio Marinho wrote:
> use css to render its tables or render tags html.
>
> Ovidio Marinho Falcao Neto
> ovidio...@gmail.com
> 88269088
> Paraiba-Brasil
>
> 2011/6/8 luifran
>
>
>
>
>
>
>
> > Hi,
It has forecast when it will be in the book web2py new features, or it will
be open forother people to update online documentation?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Oh and the
- settings.verzion_number='110608.a'
added too to 0.py
Need some sleep :-o
Stupid bug :(
fix for broken download link in the uploaded files datapage (if you are
authenticated you can modify the uploaded file trough crud form. That link
for download was broken)
And two settings are added to 0.py:
- settings.default_valid_download_days = 7
- settings.default_vali
Forget to mention that old records without separate download code (uuid)
doesn't get filled if it is accessed so earlier upload sets files can't be
downloaded. You have to add the uuid by hand with appadmin. Sorry for that.
use css to render its tables or render tags html.
Ovidio Marinho Falcao Neto
ovidio...@gmail.com
88269088
Paraiba-Brasil
2011/6/8 luifran
> Hi,
> I need build tables in pdf, but the length of content cell change and
> I need
> that autore
hi,
i've tried to learn from
http://web2py.com/book/default/chapter/10#Ajax-Form-Submission,
is it possible to edit the ajax form submission?
e.g.
=== db.py ===
db = DAL('sqlite://db.db')
db.define_table('post', Field('your_message', 'text'))
db.post.your_message.requires = IS_NOT_EMPTY()
=== d
great job, szimszon, thanks for sharing and announcing it. happy web2pying.
On Wed, Jun 8, 2011 at 4:41 PM, szimszon wrote:
> I updated the app and uploaded the new already to
> http://web2py.com/appliances/default/show/78
>
> Changelog
>
> 110608
>
>- data about the file downloads
>- au
On Tue, Jun 7, 2011 at 2:52 AM, Matt wrote:
> Hi there,
>
> Can anyone provide me with some suggestions on how to optimise web2py
> for GAE?
>
> At present the code I've got deployed (based on Version 1.96.3
> (2011-06-06 16:16:02) seems incredibly slow.
>
> I keep getting DeadlineExceededExcepti
Thank you massimo,
i have try
"""
re.UNICODE
Make \w, \W, \b, \B, \d, \D, \s and \S dependent on the Unicode
character properties database.
"""
el_list = html.elements(find=re.compile(r'pers\wnliche', re.I|re.U))
but no match.
when i do:
html = TAG(data)
res = []
res_add = res.app
I updated the app and uploaded the new already to
http://web2py.com/appliances/default/show/78
Changelog
110608
- data about the file downloads
- authorized user can delete individual uploaded file
- separate code for download and upload urls
cjrh
Thank you so much for this notice. I have not update web2py for very
long coz it have a track record of breaking my production site apps
:D.
I will check out what breaks and what not.
On Wed, Jun 8, 2011 at 12:53 PM, cjrh wrote:
> On Jun 7, 10:16 pm, Massimo Di Pierro
> wrote:
>> - explic
Hi,
I need build tables in pdf, but the length of content cell change and
I need
that autoresize this cell for the content fit to the cell.
I tried pyfpdf with cell and appreport plugin but when the cell
content is too long
this content is out of the cell or the letter size is smaller.
there is a w
70 matches
Mail list logo