I would like to send a registration confirmation with:
Hi ,
click to activate your account.
is a HTML link - currently the confirmation emails are sent
plain text so embedding links is not possible.
and would use the auth_user field - currently only "key"
is inserted.
What do you think?
I can just override register? - awesome!
On May 6, 2:03 am, annet wrote:
> Maybe this post:
>
> http://groups.google.com/group/web2py/browse_thread/thread/420e0001e3...
>
> Annet.
_verification = True
auth.settings.reset_password_requires_verification = True
auth.settings.registration_requires_approval = False
auth.settings.actions_disabled.append('profile')
auth.settings.captcha = None
auth.settings.register_next = URL(r=request, c='default', f='index')
Richard
aha!
auth was redirecting it again so needed:
auth.settings.register_next = URL(r=request, c='default', f='user/
login')
On May 6, 3:22 pm, Richard wrote:
> (there was an earlier thread about this but is old now so can't
> reply:http://groups.google.com/gr
it means you have to use blog.web2py.com instead of web2py.com
I love GAE. Most of my work is small apps for various clients and
getting familiar with each clients hosting would be too much overhead.
To speed up your app use memcache everywhere and keep your app warm.
On May 7, 10:10 am, Vasile
SQLFORM
Excellent GAE support
DAL is very intuitive
And a super helpful user group!
On May 7, 1:18 am, Álvaro Justen [Turicas]
wrote:
> Hi folks,
> I'm writing an article to a brazillian technology magazine about
> web2py but I have limited space, so I need to write what are the most
> importan
there was a discussion about this on the developers mailing list last
week:
http://groups.google.com/group/web2py-developers/browse_thread/thread/778e4015b8fae372
On May 7, 12:50 am, vihang wrote:
> Hello,
>
> A long time back, someone (mostly probably massimo) had written a few
> lines of code
http://code.google.com/appengine/docs/python/taskqueue/overview.html#Task_Execution
"""
If the execution of a particular Task fails (by returning any HTTP
status code outside of the range 200-299), App Engine will attempt to
retry until it succeeds. The system will back off gradually so as not
to
he development server, task queues are
not processed automatically. Instead, task queues accrue tasks which
you can examine and execute from the developer console
"""
Richard
On May 11, 12:14 pm, Matthew wrote:
> Does this apply to the dev environment as well? Just fire i
I recommend spending a day working through the book (http://web2py.com/
book).
But if you really don't have the time try editing an existing app to
do what you want. Or just pay someone on this mailing list to do it
for you.
On May 11, 4:43 am, pk wrote:
> annotation:
> the project time is very
good idea.
Perhaps someone with design skills could submit an improved look for
web2py.com and the default app.
Richard
On May 11, 4:54 am, Anthony wrote:
> All, thanks so much for your thoughtful responses -- very helpful and
> encouraging. I can see this is a very active, open, and supp
I have a GAE app that successfully uses routes.py, though it was with
an older version of web2py.
On May 11, 7:23 am, Chris S wrote:
> Does routes.py work on GAE? I've recently deployed an app which used
> the 5-line routes.py from the book for routing robots.txt and
> favicon.icon. I just wan
I want the user to select an integer between a certain range (their
birth year) . IS_INT_IN_RANGE provides the restriction but uses an
input box - how can I get SQLFORM to use a select box for this integer
range?
Richard
mayo, 10:58, Richard wrote:
>
> > > I want the user to select an integer between a certain range (their
> > > birth year) . IS_INT_IN_RANGE provides the restriction but uses an
> > > input box - how can I get SQLFORM to use a select box for this integer
> &g
I already have the default set. The problem comes when I use SQLFORM
to edit the record with this field set to 0 (not create).
On May 16, 12:29 pm, mdipierro wrote:
> you have to add db.table.field.default=0
>
> On May 15, 9:26 pm, Richard wrote:
>
>
>
> > thanks for th
http://pycon-au.org/2010/conference/schedule/
oh really - I didn't realize that would ever be a problem. Is it
practical to have the DAL auto-commit before too much data is built
up?
On May 19, 1:49 am, mdipierro wrote:
> I think the problem may be with how much can be done in a single
> transaction.
> try db.commit() after each insert.
>
agreed - that message is not appropriate after login failure.
On May 19, 12:44 am, Jonathan Lundell wrote:
> On May 18, 2010, at 6:31 AM, Jason Brower wrote:
>
> > tried logging in with the auth system and it's very much way flipping
> > too strong. How to I take such a password picky beast? Th
has a YouTrack issue been created?
On May 18, 12:37 pm, mikech wrote:
> http://www.jetbrains.net/devnet/message/5263114#5263114
if you have design skills you want to contribute maybe create a better
design for web2py.com or the default template!
On May 22, 6:25 am, Pepe wrote:
> Hi,
>
> well, I see we both agree in two points:
>
> a) we don't like use django :)
> b) and we respect each other (this is more cool :P )
>
> i
want to make a "web 2.0" style app and need more support than
JQuery/YUI/etc offerc.
Richard
On May 23, 6:16 am, Pepe wrote:
> Hi everybody!
>
> i'm searching ui frameworks for work with web2py.
>
> Here a list that I like to share and please, if you have
I am interested, and glad you brought this up again:
http://groups.google.com/group/web2py/browse_thread/thread/226863714adbb7cb
On May 24, 9:18 am, mdipierro wrote:
> I have some problems:
>
> 1) people ask me to contribute to more projects that I can handle.
> 2) I am good at kicking off a pr
hear feedback from others who appreciate
web2py.
Vasile: Is it practical to develop Flex apps on Linux without
purchasing anything from Adobe?
Richard
On May 24, 11:48 am, Vasile Ermicioi wrote:
> You are quite informed about web 2.0 frameworks,
>
> but I can't understand what is l
did you copy routes.example.py to routes.py?
On May 16, 1:00 am, Chris S wrote:
> I've updated my code and run it again. Sorry for the delay last time
> I downloaded a web2py trunk it was in Subversion. While it didn't
> take me long to get it in Mercurial it did trigger a lot of Subversion/
>
nice! Can flex be integrated with a web2py backend?
On May 25, 8:48 pm, Vasile Ermicioi wrote:
> don't know on Linux, but on Windows I use flashdevelop and free flex sdk,
> they even open sourced their advanced and olap datagrid
>
> http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDKhttp:/
Was going to say "web2pyHTMLParser" is too cumbersome - glad you
changed to "TAG"
I do some scraping with lxml so am also wary about including this, but
the example look very convenient.
On May 26, 1:11 am, mdipierro wrote:
> Here is a one liner to remove all tags from a some html text:
>
> >>
how robust have you found HTMLParser with badly formed HTML?
On May 26, 1:11 am, mdipierro wrote:
> Here is a one liner to remove all tags from a some html text:
>
> >>> html = 'helloworld'
> >>> print TAG(html).flatten()
>
> helloworld
>
> On May 25, 10:02 am, mdipierro wrote:
>
> > yet a bett
7;.
IOError: client connection closed
Any ideas?
Not sure if the problem is with web2py or Apache configuration.
Richard
e.com/p/googleappengine/wiki/SdkReleaseNotes
>
> Robin
>
> On May 11, 7:45 pm, Richard wrote:
>
> > > Does this apply to the dev environment as well? Just fire it up and run
> > > it via localhost?
>
> > Unfortunately no (for the Python
> &g
se no configuration required.
But the platform has limitations so isn't always practical. Good
support in forums from other users.
I recommend GAE unless you have special requirements, like a c based
library.
Richard
On May 25, 10:10 am, greenpoise wrote:
> I am looking for web2py hosting
On May 26, 9:58 pm, Graham Dumpleton
wrote:
> On May 26, 3:26 pm, Richard wrote:
>
> > Occasionally after heavily using my web2py app I get:
>
> > """
> > Proxy Error
>
> > The proxy server received an invalid response from an upstream server
very useful - in the past I use appadmin myself and created custom
interfaces for my users to edit data.
On May 28, 3:16 am, Thadeus Burgess wrote:
> This is what I settled with:
>
> if auth.is_logged_in() \
> and auth.has_membership('Operations', auth.user.id) \
> and not auth.h
sms handling and credit card payments - neat!
That onlinepayment API you linked earlier (http://pypi.python.org/pypi/
onlinepayment/1.0.0) offers more payment options, such as PayPal.
Would it be worth integrating that instead?
On May 31, 2:42 pm, mdipierro wrote:
> 1)
> mail.settings.server='l
low.
>
> On May 31, 8:28 pm, Richard wrote:
>
> > sms handling and credit card payments - neat!
>
> > That onlinepayment API you linked earlier (http://pypi.python.org/pypi/
> > onlinepayment/1.0.0) offers more payment options, such as PayPal.
> > Would it be wo
.htm
darn...
If that does rule out non-US developers perhaps it doesn't belong in
trunk.
Richard
On Jun 1, 4:38 pm, Richard wrote:
> paypal is definitely complex, but it is also popular!
>
> On Jun 1, 12:16 pm, mdipierro wrote:
>
> > Turns out that one has dependencies
I am not sure how to do it through web2py, but if working directly
with the GAE API you can set the entities "key_name" to avoid
duplicates.
On Jun 2, 1:21 am, Carl wrote:
> tricky.
> I'm deploying on GAE which may run my code across multiple servers so
> locking isn't going to be an option.
>
>
support was extremely fragile. To pay it
redirected you to PayPal and then if you pressed back before
completing it would list you as paid anyway and wouldn't let you pay
again!
On Jun 1, 11:21 pm, mdipierro wrote:
> good point. I was not aware of that.
>
> On Jun 1, 2:04 am, Richard wr
stores data in memory? - my server couldn't handle the amount of data
I store.
On Jun 2, 4:20 am, Iceberg wrote:
> Wow, "outperformed traditional OLTP database systems by a factor of
> 45". That is awesome!
>
> Oscar wrote:
> > Hi there,
>
> > There is a new DBMS in the block, a new kind of DBMS
een overly successful.
Richard
On Jun 3, 11:39 am, howesc wrote:
> I use paypal "Website Payments Standard" and the *best* part about
> that is that while the user experience is crappy with the redirection,
> i *never* learn the user's credit card number, and therefore don'
more info here: http://www.techfuel.net/zblog/blog/view/24
On Jun 6, 3:08 am, Joschua wrote:
> i'm sorry. i wanted to answer in this
> threadhttp://groups.google.com/group/web2py/browse_thread/thread/1857d9db96...
> ^^
>
> Is there a public repository? Maybie I could work on it..
>
> On Jun 5,
16 pm, mdipierro wrote:
> Is there a source we can look at?
>
> On Jun 6, 10:04 pm, Richard wrote:
>
> > more info here:http://www.techfuel.net/zblog/blog/view/24
>
> > On Jun 6, 3:08 am, Joschua wrote:
>
> > > i'm sorry. i wanted to answer in this
that would be a lot of work.
There are a number of existing examples here that you could add to:
http://web2pyslices.com (currently seems to be down)
On Jun 7, 11:17 am, NetAdmin wrote:
> Perfect!
>
> Thanks so much!
>
> One thing I've been thinking about, is putting together a reference
> data
thanks for the reference.
Somewhat related here is a Python structure for timezones that I use:
TIME_ZONES = (
(-12, '(GMT-12) Eniwetok, Kwajalein'),
(-11, '(GMT-11) Midway Island, Samoa'),
(-10, '(GMT-10) Hawaii'),
(-9, '(GMT-9) Alaska'),
(-8, '(GMT-8) Pacific Time (US & Cana
another possibility is jpolite: http://www.trilancer.com/jpolite2/index1.html
On May 23, 6:16 am, Pepe wrote:
> Hi everybody!
>
> i'm searching ui frameworks for work with web2py.
>
> Here a list that I like to share and please, if you have worked with
> some, post your evaluation or, if you kno
you likely installed PIL from source into a directory not in your
Python path.
>From the command line you can use PIL with:
$ python
>>> from PIL import Image
On Jun 12, 8:50 pm, Kenneth wrote:
> Hello,
>
> I´m trying to create thumbnails from images uploaded to my
> application. I´ve found a c
have a look at some of the example apps: http://web2py.com/appliances
The main issue with migrating model/controller code into modules is
you no longer have access to the global variables like db/session/etc.
So you have to pass these variables explicitly to the modules when
needed.
On Jun 15, 7
If you want this variable globally available for all views then put
`giugno = 6' into a model.
Or if you only want this variable for a certain view then pass it
explicitly in the controller with `return dict(giugno=6, ...)'
Then in the view[s] you can use {{= giugno }}
On Jun 14, 11:58 pm, Giuse
would that go against the web2py philosophy of having no configuration
files?
On Jun 15, 1:33 pm, Thadeus Burgess wrote:
> Why can't we configure the default name of 'init' ?
>
> --
> Thadeus
>
> On Mon, Jun 14, 2010 at 7:33 AM, mdipierro wrote:
> > or simply call your app "init"
>
> > On Jun 1
awesome! I am looking for a simple web2py blog system to run on GAE.
in your message "for" got connected with the url:
http://www.molhokwai.net/blog
On Jun 15, 7:12 pm, molhokwai wrote:
> Hello there...
>
> Implemented fixes to run PyPress on GAE
> (Seehttp://www.molhokwai.net/blogforhow it's
do you have a public repository for your updates?
Also there seems to already be a version of pypress on GAE since 09:
http://pp4gae.appspot.com/
On Jun 16, 10:14 am, Richard wrote:
> awesome! I am looking for a simple web2py blog system to run on GAE.
>
> in your message "for&
cool. Is the source code available for download?
On Jun 18, 1:50 am, mdipierro wrote:
> http://www.web2py.com/mazes
yes I did follow the link, of course. But there is no download link
there. Do you need to be logged in to see it?
If it is available to you can you just post the link here?
On Jun 18, 10:57 am, Yarko Tymciurak
wrote:
> On Jun 17, 6:48 pm, Richard wrote:
>
> > cool. Is the
for cron (and many other advanced features) on GAE you need to refer
to their docs:
http://code.google.com/appengine/docs/python/config/cron.html
On Jun 19, 2:45 am, ChrisM wrote:
> any examples / info on using cron on gae.
> I searched the group but did not get results so apologise if this is a
can buttons post form data?
Are you perhaps after a checkbox instead?
On Jun 19, 3:11 am, AsmanCom wrote:
> Hi,
>
> I need to retrieve the request.vars from an JavaScript Object.
>
> controller code:
>
> form.append(INPUT( _id="buttonid", _type="button", _class="my_button",
> _name="buttonName
http://www.web2py.com/sudoku:
>
> ...
> Download this web appliance
>
> Download here
> (requires http://web2py.com";>web2py)
> .
>
> On Jun 18, 7:23 pm, Richard wrote:
>
> > yes I did follow the link, of course. But there is no download link
> > the
ld be as easy to
> install/deploy as Wordpress, because of Google's legal and technical
> restrictions. They might not allow "Click here to automatically set up
> your blog."
>
> On Jun 15, 7:20 pm, Richard wrote:
>
> > do you have a public repository for your
> Sadly GAE it is not an option, no administrative interface, no
> session, ---no file upload!---... What a mistake...
for my web2py apps on GAE I have used the admin interface, sessions,
and uploaded files.
How are you going to use the different mood indicators?
I like the login system. Did you integrate janrain/rpx with auth or
roll your own?
Richard
On Jun 18, 11:59 pm, ChrisM wrote:
> Hi group,
> I have been tinkering with this idea for a while, it is only an early
> design sketch
whoops I was thinking about appadmin, which does work. Haven't tried
the admin.
Where did you read sessions and uploads don't work?
On Jun 20, 4:06 pm, Giuseppe Luca Scrofani
wrote:
> Then Im missing something. Everywhere I read of this limitations...
> Have you made some specific changes to mak
thanks for tip - I also faced the same problem with FF when on
Windows.
On Jun 29, 2:34 am, Thadeus Burgess wrote:
> try logging completely out of your google account, clearing firefox
> cookies, closing firefox, then start again.
> --
> Thadeus
>
>
>
> On Mon, Jun 28, 2010 at 10:32 AM, weheh w
e))
-> sends email as HTML
Richard
On May 20, 1:22 am, mdipierro wrote:
> I made a change that should allow attachments to work on GAE. Can you
> check it does not break the regularmailon GAE?
>
> On May 19, 8:00 am, mdipierro wrote:
>
>
>
> > moving to trun
also the reply_to field is ignored
On Jun 30, 9:25 am, Richard wrote:
> I did some tests with trunk Mail on GAE:
>
> mail.send(..., message=message)
> -> Mail.send failure:May not set empty value for 'html'
>
> mail.send(..., message=(None, message))
> ->
I like the tipfy wiki they use - web2py needs something clean like
that.
On Jun 30, 7:45 am, mdipierro wrote:
> WOW. Thank you. I tried fill the blank but I need to read it again
> tomorrow.
>
> Massimo
>
> On 29 Giu, 11:08, Craig Younkins wrote:
>
> > Hello there! My name is Craig Younkins. I'
http://googleappengine.blogspot.com/2010/06/app-engine-sdk-135-released-with-new.html
"""
in this release we’ve also added support for precompilation of Python
source files to match the same feature we launched for Java last year.
For Python, you can now use precompilation to speed up application
http://code.google.com/p/web2py/source/browse/gluon/tools.py
At line 1866 of gluon/tools.py you will find:
if not self.settings.mailer:
response.flash = self.messages.function_disabled
return ''
which means you will need to enable mail to get this working.
Richard
On Jun 2
perhaps the DAL - new and upcoming features
On Jul 2, 1:43 am, mdipierro wrote:
> I just discovered I will be giving a tutorial about web2py at
> EuroPython in two weeks.
> Is anybody from here going to Birmingham? If so, suggestions about
> what you want to be covered?
>
> Massimo
would it make sense to have a separate admin app for GAE with tickets,
appadmin, and whatever else works? Otherwise I imagine admin will get
messy.
On Jul 3, 2:36 am, JimK wrote:
> After a few minor modifications, I was able to get the Admin app as
> well as the appadmin controllers to work on a
did you mean to say the source distribution?
On Jul 2, 11:04 pm, mdipierro wrote:
> Make sure you use the binary distribution of web2py and you start
> web2py using
>
> dev_appserver web2py
>
> or the AppEngineLauncher
>
> On 2 Lug, 07:40, ShaluT wrote:
>
> > Hi,
>
> > I am learning web2py with
default
headers of Mail in gluon/tools.py.
Is there a proper way to send HTML emails with auth?
Richard
Changed:
attachment.attach(MIMEText.MIMEText(text,_charset='utf-8')) ->
attachment.attach(MIMEText.MIMEText(html, 'html',_charset='utf-8'))
so now it always sends as HTML, which is what I want.
On Jul 4, 11:55 pm, mdipierro wrote:
> what changes did yo
ormat. Passing a
tuple to send as HTML feels awkward anyway, and doesn't integrate with
auth.
Richard
On Jul 5, 6:24 am, mdipierro wrote:
> The line you changed into is already there. You just have to pass
>
> mail.sent(,message=(None,html))
>
> Did you try it?
>
>
Does this belong in trunk? One of the attractions of web2py is the
pure Python templating language.
On Jul 6, 6:02 pm, mdipierro wrote:
> I guess it is we(b2py users). we(b2py users) can vote change the name
> as they see fit (until it makes to stable).
>
> On 5 Lug, 23:17, Jason Brower wrote:
no worries.
This forum is very active and helpful, but sometimes good questions
like this just get missed.
On Jul 6, 9:00 am, elfuego1 wrote:
> Thank you!! ;-)
> I thought no one will answer this.
>
> On 1 Lip, 03:52, Richard wrote:
>
> >http://code.google.com/p/web2p
might as well leave clone.py in trunk - there are legitimate uses for
it and it can't be hidden now anyway:
http://code.google.com/p/web2py/source/browse/scripts/clone.py?r=19d163c0406a1787da4077a2b2aa8074c725ad87
On Aug 1, 10:14 am, Joe Barnhart wrote:
> No, he is NOT right.
>
> I need tools E
I agree the epydocs are not very useful, which makes the manual
crucial right now.
(http://www.web2py.com/examples/static/epydoc/index.html)
The current wiki has a number of recipes/explanations but it is never
going to systematically cover the entire API. It is basically a new
AlterEgo.
So how ab
why?
On Feb 4, 9:07 am, Thadeus Burgess wrote:
> -Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegr
> 2) integrate the above with a small web2py app that turns web2py
> docstrings into wiki pages. When users edit the wiki, the docstrings
> get updated, and I get a patch.
I proposed something like this earlier, so definitely agree.
http://groups.google.com/group/web2py/browse_thread/thread/231fe
On Feb 9, 3:33 am, mdipierro wrote:
> I am considering posting most of the book on line in HTML. This may be
> possible with a disclaimer about "do not reproduce in print". The main
> issue is that the book is in latex and not easy to convert.
this is fantastic news!!
On Feb 9, 4:01 am, mdipier
d the online manual best be hosted? - the wiki app? A
djangobook clone?
- Should the PDF/latex be manually inserted into this app, or is there
an automatic method?
- How would online edits be fed back into the official PDF version?
Richard
--
You received this message because you are subscribed t
on Linux I would try starting the server with "python2.6 web2py.py"
On Feb 9, 10:25 am, pistacchio wrote:
> i checked it via the web shell. indeed it's a different version..
> can't i get web2py server to run on system's python instance?
>
> On 8 Feb, 22:26, Thadeus Burgess wrote:
>
> > Probabl
On Feb 9, 11:58 am, mdipierro wrote:
> I am not sure this is something people should vote on.
to clarify, I wasn't calling for a vote on what to do with the manual
- I acknowledge it is your IP. But ideas and feedback might be helpful.
--
You received this message because you are subscribed to
are you sure? The article mentions web2py but the site itself uses a
Wordpress layout.
On Feb 9, 1:18 pm, mdipierro wrote:
> The page says this thing runs web2py. I am impressed.
>
> http://bec-systems.com/site/587/gumstix-overo-review?utm_source=feedb...
--
You received this message because y
could the session timeout be set very low?
On Feb 10, 6:07 am, Johann Spies wrote:
> I have a website where some documents require login to be accessed.
> Some of the visitors to the site complained of having to login
> multiple times and today, when I did not access the site as
> administrator,
sounds like this app will be like djangobook - neat.
On Feb 10, 1:55 am, mdipierro wrote:
> I am taking this approach for now:
>
> 1) convert the book to markdown (including conversion of eps images to
> png and conversion of references)
> 2) real time markdown to html (using special markup for
I often do this and my only problem is when updating modules, which
requires me to restart the server so web2py uses the new versions.
On Feb 10, 10:00 am, Jonathan Lundell wrote:
> Should I be able to upgrade a deployed app by installing the new version over
> the old one? If not, how?
--
Yo
what kind of changes are you making? I read some reports about login
problems, so do you think its worth allowing anonymous edits, like
wikipedia permits?
On Feb 10, 2:01 am, DenesL wrote:
> BTW I am working on improving the web2py wiki app, maybe it will be
> done today.
>
> On Feb 8, 11:43 pm,
turn urllib2.urlopen(request).read()
__
I agree it would be good to make fetch() more useful by supporting
sessions.
Richard
On Feb 11, 7:00 am, Fran wrote:
> I want to add support for sessions to fetch() from tools.py.
>
I also had that feeling! - it just works!
On Feb 11, 10:18 am, Thadeus Burgess wrote:
> I just deployed my first app to GAE... something like this should not
> be this easy
>
> -Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To p
did you mean CKEditor? http://ckeditor.com/demo
(FCKEditor was the old name)
> Maybe a wysiwyg editor that generates markdown is the best of both worlds?
Have a look what StackOverflow uses - wymeditor
The original version is here:
http://files.wymeditor.org/wymeditor/trunk/src/examples/01-basi
how can I set the cache expiration time for my static files? In my
case they are not going to change so I want to set in far in the
future.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.
gets more complex with time since GAE "remembers" previous
> indices even if your app does not use them. After a while you may have
> to do some cleanup.
>
> On Feb 10, 6:34 pm, Richard wrote:
>
> > I also had that feeling! - it just works!
>
> > On Feb 11,
Is "groupby" supported by web2py on appengine?
I noticed "groupby" is one of the valid_attributes (in gql.py) but
using it raises:
"Set: no groupby in appengine"
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email
shness lifetime.
Specify an expiration at least one month in the future for the
following resources:
* http://static.addtoany.com/menu/page.js
"""
Richard
On Feb 12, 12:30 pm, mdipierro wrote:
> http://web2py.com/book
>
> This is only for testing purposes.
>
seems not, so I am doing the grouping manually in Python.
On Feb 12, 12:24 pm, Richard wrote:
> Is "groupby" supported by web2py on appengine?
>
> I noticed "groupby" is one of the valid_attributes (in gql.py) but
> using it raises:
> "Set: no grou
I had no idea you were getting that much (7%) from the book, so that
was very noble to release it. Donated $50.
Richard
On Feb 14, 7:17 am, JimK wrote:
> I donated $10 to the online version even though I bought the pdf.
> It's has value to me so it's worth the investment
hi wes,
something like this could be really nice for browsing the function
docstrings. Do you intend to take it further?
If you use a StringListProperty to store all the ngrams (eg: web2py,
web2p, web2, web, we, w) then it could match partial words.
Richard
On Feb 13, 8:31 am, Wes James
> Django developers, most of them had heard about
> web2py and stopped using it because they "thought" they had to use the
> built in editor/shell.
that is hard to believe!
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group,
e/docs/python/datastore/queriesandindexes.html#Introducing_Indexes
Richard
On Feb 14, 1:52 pm, Wes James wrote:
> Richard,
>
> Do you have a python example of this? I'll check on
> StringListProperty also and see how it works. (would this work on
> gae?) I was trying somthing else sinc
on Chrome Linux 32 bit all I get is an animation at the centre.
On Feb 15, 6:37 am, Yarko Tymciurak
wrote:
> On Feb 14, 10:19 am, mdipierro wrote:
>
> > This is one cool web site made with web2py
>
> > http://www.albendas.com
>
> It is indeed nice - the main page doesn't load at all (black bro
added a few more cases:
def prettydate(d):
try:
dt = datetime.now() - d
except:
return ''
if dt.days >= 2*365:
return '%d years ago' % int(dt.days / 365)
elif dt.days >= 365:
return '1 year ago'
elif dt.days >= 60:
return '%d months ago'
1 - 100 of 4772 matches
Mail list logo