How can i use that when im pulling data from db( changing db encoding
or db backend seems to have no effect)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send
Massimo, I never interpreted your request as a troll-like action.
Quite the contrary ... it seemed like a straightforward request for
the web2py user-base to respond with honest answers to a useful
question for framework recommendations.
I've briefly skimmed some of the flaming responses you've g
Salva,
I apologies for not helping you completely solve the login problem. I
have been away a few days ...
Kind regards,
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post
Hi,
Its me again, now when I put the code in the production(Linux box)
server i get this error, but in the computer i use to develop(Windows
xp) this don't happen.
Here i leave the error some idea?? PS: I double check the charset in
the database 10 time already :S
# ERROR ##
Check you email Massimo, I sent you some errata there.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from th
Hello,
I'm wondering what is the best approach to authenticating users from
within desktop apps or RIA apps written, for example, in Silverlight,
Flex, GWT, pyjamas that communicate with web2py backends via rpc
services.
Thanks.
--
Alexei Vinidiktov
--~--~-~--~~~--
On 6月5日, 午前1:47, JorgeR wrote:
> cool
>
> this should go in the wiki under 'tips and tricks'
Oh, in https://mdp.cti.depaul.edu/wiki/ ?
Actually, it'd be nice to have a topic on translation/i18n/l10n.
>
> On Jun 3, 11:08 pm, suiato wrote:
>
> > 2009/06/04 12:57 mdipierro :
>
> > > In model you
On Jun 4, 7:09 pm, Richard wrote:
> That was great. I hadn't come across those DAL shortcuts before.
> Who is/was the presentation for?
You!
thanks to everybody for the corrections.
>
> Pg 89
> the values in queries and updates can be en expression
>
Thank you so much for your help 'offline'. I know that this got more
involved than either of us thought. I really appreciate your efforts.
Regards,
Gary
On May 4, 5:43 am, dlypka wrote:
> OK, thanks, I'll see if I can modify it to work with CRUD.
>
> On May 3, 10:46 pm,Gary wrote:
>
> > To s
Massimo --
No apology needed. You are the #1 advocate for web2py and it is only
understandable that you would try to rally support in the context of a
discussion thread.
If you have a problem, it is that you are doing more "push" marketing
than "pull" marketing. Push marketing is when you try
That was great. I hadn't come across those DAL shortcuts before.
Who is/was the presentation for?
Pg 89
the values in queries and updates can be en expression
^
Pg 121
auto_email.py -> email_auth.py (unless has been updated recen
Massimo,
Gosh! I think you are terrific and contributing 200%. I find it
difficult to conceive that you would receive any criticism for your
voluminous output. Rather, I would expect you to be out celebrating
your kudos.
Pettiness seems to be a mark of humanity everywhere. Please disregard
i
This so-called troll issue is irrelevant. Reddit thread is asking
"which framework?". web2py users answered, end of the story. No need
to know the reasons why users answered, if they did because of your
post then fine, what's wrong with that ?
> I really really prefer to spend my time coding than
yes, the last sequence after the dash is base16 encoding of the
filename. look into the function download in gluon/globals.py
Massimo
On Jun 4, 5:35 pm, JohnMc wrote:
> Is the hash name generated by web2py a recoverable name of the
> original file name? If so is there a routine to recover it an
Is the hash name generated by web2py a recoverable name of the
original file name? If so is there a routine to recover it and provide
that as the downloaded filename?
Thx.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
>From my part, I did understand it as you meant.
Never thought you were promoting a troll.
On Jun 4, 4:12 pm, mdipierro wrote:
> I would like to apologize to the member of this list about my my
> previous post:
>
> ".. you should comment on threads like
> this:http://www.reddit.com/r/programmi
You must use UTF8
u"special chars".encode('utf8')
On Jun 4, 12:22 pm, dodobas wrote:
> As soon as I try to use some non ascii char on RSS output, this
> happens (slightly, trimmed the top):
> ...
> ...
> File "/usr/lib/python2.6/site-packages/_xmlplus/sax/saxutils.py",
> line 309, in characte
I know what to do. I will fix it.
On Jun 4, 3:27 pm, HansD wrote:
> not yet sure how to fix this, but fields of this type results in:
>
> class=""
>
> On 25 mei, 07:17, mdipierro wrote:
>
> > I do not know if this is a good idea and I'd like to hear your
> > opinions:
> > I have added in trunk
I would like to apologize to the member of this list about my my
previous post:
".. you should comment on threads like this:
http://www.reddit.com/r/programming/comments/8ooh3/which_web_framewor...
"
As you know I have been accused online of being the only one posting
messages about web2py (alth
Make a query (unless you are on GAE)
On 4 jun, 22:50, "Elcimar L. Santos" wrote:
> Hmm...
> I wonder if is there a way to display fields from two db in only one
> SQLFORM...
>
> Atenciosamente,
>
> Elcimar Leandro
--~--~-~--~~~---~--~~
You received this message b
Hmm...
I wonder if is there a way to display fields from two db in only one SQLFORM...
Atenciosamente,
Elcimar Leandro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this
Odd I think your controller is being called 3 times. Is that possible?
I would add a print statement to check.
On Jun 4, 2:29 pm, Hans
wrote:
> I tried to define a global logging for a web2py app. The problem with
> that is that if I place the following code in my default.py controller
> or db.p
As soon as I try to use some non ascii char on RSS output, this
happens (slightly, trimmed the top):
...
...
File "/usr/lib/python2.6/site-packages/_xmlplus/sax/saxutils.py",
line 309, in characters
writetext(self._out, content)
File "/usr/lib/python2.6/site-packages/_xmlplus/sax/saxutils.
Sorry if I caused a confusion here (I forgot to put a question mark on
the subject). I'm not using threads, the code above was just an
(actually non-working) example to explain my desired behavior.
The purpose of my post was to know if there is any way to archieve
this kind of locking behavior in
not yet sure how to fix this, but fields of this type results in:
class=""
On 25 mei, 07:17, mdipierro wrote:
> I do not know if this is a good idea and I'd like to hear your
> opinions:
> I have added in trunk to define custom column types
>
> Here is an example of usage:
>
> import cPickle
Check:http://www.scribd.com/doc/16085263/web2py-slides-version-163 and
especially page 71.
Really thank you!
This helps about the latest version of web2py.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Yeah :D
Thanks! I didn't know I could do it there.
I just found another way (massimo rocks!):
http://mdp.cti.depaul.edu/examples/static/epydoc/gluon.sqlhtml.SQLFORM-class.html
Elcimar Leandro
2009/6/4 HansD :
>
> Ah... my famous Brazil counterparty :-) I'm from NL.
>
> You should be able to p
Ah... my famous Brazil counterparty :-) I'm from NL.
You should be able to provide a label argurment to the SQLField, like
SQLFfield("endereco", 'string', 50, label="endereço")
these labels are used within the SQLFORM
On 4 jun, 21:13, "Elcimar L. Santos" wrote:
> ...Because I know someone wit
I tried to define a global logging for a web2py app. The problem with
that is that if I place the following code in my default.py controller
or db.py model then in both cases its executed more than
once...resulting into having every log line written multiple times
into the log file.
either starti
...Because I know someone with the same name here in Brazil.
Taking a ride in your question, I had a field called "endereco" (means
"address") which I want to be displayed as "endereço".
I know that DAL wont allow me to rename it because it only allows
[0-9a-zA-Z_]table and field names.
The sol
why are you asking?
On 4 jun, 20:41, "Elcimar L. Santos" wrote:
> Where are you from Hans?
>
> Atenciosamente,
>
> Elcimar Leandro
>
> 2009/6/4 Hans Donner
>
>
>
> > Yep, forms the base for what I needed.
>
> > made a small patch to extend it a bit, the patch includes some doc
> > updates as we
Where are you from Hans?
Atenciosamente,
Elcimar Leandro
2009/6/4 Hans Donner
>
> Yep, forms the base for what I needed.
>
> made a small patch to extend it a bit, the patch includes some doc
> updates as well.
>
> This allows for:
>
> {{extend 'layout.html'}}
> Registration form
>
> {{lbl=f
Hi all,
in db.py I'd like to extend Auth so that I can override some
methods... such as define tables... and maybe in the future make it
login using OpenID or facebook etc...
so I've extended Auth and and overrided define_tables... but I'm
getting an error on auth.define_tables()
any ideas ?
Feature request:
Has there been any consideration of providing a facility for user
defined 'uploads' directories other than the application level
default?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web
I'm not sure if any of you are familiar with AppJet (www.appjet.com)
But they offer a super cool framework/platform that allows users to
create apps easily on their servers. Web2Py is way more powerful, and
just as easy. The projects are similar in that they both simplify web
development, and prov
Yep, forms the base for what I needed.
made a small patch to extend it a bit, the patch includes some doc
updates as well.
This allows for:
{{extend 'layout.html'}}
Registration form
{{lbl=form.custom.label}}
{{wid=form.custom.widget}}
{{=form.custom.form.start}}
{{for f in form.fields:}}
Wow, thanks for the highspeed-help ;)
i love web2py
greets from augsburg, germany
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.
cool
this should go in the wiki under 'tips and tricks'
On Jun 3, 11:08 pm, suiato wrote:
> 2009/06/04 12:57 mdipierro :
>
>
>
> > In model you can just do
>
> > Tx=lambda *a: XML(str(T(*a))
>
> > and use Tx instead.
>
> This is a good learning experience for me. Lots of thanks, Massimo.
>
> By
{{if auth.is_logged_in():}}
{{=auth.user.first_name}}
{{=auth.user.last_name}}
{{=auth.user.email}}
{{pass}}
not sure this is what you are asking.
On Jun 4, 11:16 am, pk wrote:
> Hello together,
>
> I`ve a little problem, I think.
> I`ve got a index-Site which contains the auth()-Object (wi
Hello together,
I`ve a little problem, I think.
I`ve got a index-Site which contains the auth()-Object (with Login,
Register ...). All of them are working.
If a User log-in correct, a new site (menu) will called. How can I
show the name of the log-in User on the new site?
Thanks for your help
P
try give a default to the blob field.
On Jun 4, 3:38 am, cjparsons wrote:
> I want to store images in the database and I'm having trouble with
> my SQLFORM. I've copied the example from the manual but find that
> the image doesn't go into the database on 'new'. I'm on web2py
> Version 1.63.3
>
>
> My interest now is to define "Spatial Database Consistency of Web2py"
> not @ 'Controller' level, but @ "Database" level. I've not yet known
> what web2py is. Give me some time 2 know it.
Check:
http://www.scribd.com/doc/16085263/web2py-slides-version-163
and especially page 71.
--~--~
yes, this is a bug. Will fix it.
Massimo
On Jun 4, 9:11 am, suiato wrote:
> Currently "update all languages" in admin updates *.bak files, too.
> Suppose I have ja.py in the languages directory, delete some items on
> the web2py's web editor, and update. Yes, these items are now deleted
> from
Currently "update all languages" in admin updates *.bak files, too.
Suppose I have ja.py in the languages directory, delete some items on
the web2py's web editor, and update. Yes, these items are now deleted
from the file. But, when I hit "update all languages" later, those
deleted items in ja.bak
Fixed anouther python 2.4 compatibility issue, thanks Mariano.
Massimo
On Jun 4, 8:32 am, Hans
wrote:
> I just downloaded 1.63.5 from web2py.com and could not find release/
> change notes for this version in the README file or here. Maybe it
> should be version 1.63.4 ?
>
> Keep up the great wo
no
On Jun 4, 8:27 am, mika wrote:
> I saw slides for new 1.63, but I can't find anything to solve my
> problem.
> Massimo, have you implemented some new features which could help me to
> do it?
--~--~-~--~~~---~--~~
You received this message because you are subscr
I have no objection in taking the code out in a function.
But if one overrides it (and this is your intention) web2py will not
be able to identify which table refers to the uploaded file and thus
determine permission to download.
Massimo
On Jun 4, 12:48 am, Trollkarlen wrote:
> Strange because
I just downloaded 1.63.5 from web2py.com and could not find release/
change notes for this version in the README file or here. Maybe it
should be version 1.63.4 ?
Keep up the great work!
Hans
On 4 Jun., 06:03, mdipierro wrote:
> I just posted 1.63.4 because I patch in 1.63.3 had broken Python
I saw slides for new 1.63, but I can't find anything to solve my
problem.
Massimo, have you implemented some new features which could help me to
do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Frame
>Maybe this sets us apart from competing frameworks and attracks more
geo-hackers
It seems fine 2 me. But...
My interest now is to define "Spatial Database Consistency of Web2py"
not @ 'Controller' level, but @ "Database" level. I've not yet known
what web2py is. Give me some time 2 know it.
Seems to be it, thanks.
2009/6/4 David Marko :
>
> Do you mean something like this? http://web2py.com/AlterEgo/default/show/205
>
> David
>
> On 4 čvn, 11:12, Hans Donner wrote:
>> Currently SQLFORM renders a complete table for the fields provided (or
>> all) for a db.table, and does some other
> Maybe this sets us apart from competing frameworks and attracks more
> geo-hackers.
also a good point is that web2py can create the webmapping formats out
of the box:
* json => geojson
* xml => kml
--~--~-~--~~~---~--~~
You received this message because you ar
Do you mean something like this? http://web2py.com/AlterEgo/default/show/205
David
On 4 čvn, 11:12, Hans Donner wrote:
> Currently SQLFORM renders a complete table for the fields provided (or
> all) for a db.table, and does some other magic as well.
>
> Would love to reuse the magic, but be in
Currently SQLFORM renders a complete table for the fields provided (or
all) for a db.table, and does some other magic as well.
Would love to reuse the magic, but be in more control of the
rendering. Eg, would like to specify what fields are placed where, and
if they should include labels or not e
I want to store images in the database and I'm having trouble with
my SQLFORM. I've copied the example from the manual but find that
the image doesn't go into the database on 'new'. I'm on web2py
Version 1.63.3
Apologies in advance if it's a typo.
1) With no argument (="insert" form) I get an ex
> Well, it would be good to know in which direction you are moving... :)
> Spatial databases have spatial columns and spatial functions. So, how
> would we go about making the following postgis examples into a DAL-
> able form without slipping to _execute ? How do we insert a geometry ?
> How do w
I use Grails partly for my development so I know many good concepts
comming from Spring company. They released SpringPython recently which
introduces many good concepts maybe usefull for web2py as well.
http://springpython.webfactional.com/
--~--~-~--~~~---~--~~
You
Hi,
in recent times a lot of discussion has been about roadmap, cummunity
and contribution.
Here is a nice podcast from our "competitors":
Becoming an Open Source Developer: Lessons from the Django Project
(PyCon 2007)
http://advocacy.python.org/podcasts/pycon/PyCon2007-BecomingOSDeveloper.mp3
58 matches
Mail list logo