Here is a Google map and Picassa album "mashup" of a half marathon in
progress.
http://obxrunners.appspot.com/route/agpvYnhydW5uZXJzcgwLEgVSb3V0ZRjJAQw/play
The whole marathon (all 26.2 miles) course is available on the home
page http://obxrunners.appspot.com (press the play button)
This was my
I thought that Django forms had built in security measures. I am
using newforms and form.clean() as instructed, at least to the best of
my knowledge. However, when I put this to the test, I was able to put
use a feed to get the picasa data. I also capture the geopoint and
title if it is available.
def getpics(request):
"""Takes a feed from a Picasa album and shows all the pics."""
user = users.get_current_user()
if user is None:
return http.HttpResponseForbidden('You must be signed in to
This seems to work for displaying a live Picasa web albums on my
page:
def renderhtml(request):
req=urlfetch.fetch('http://www.picasaweb.google.com')
response= HttpResponse()
response.write(req.content)
return response
Thank you Alexander!
On Sep 20, 9:32 pm, Alexander Kojevnikov <[EMA
the python manual how to use the string to unpickle it to a
> dictionary.
>
> 2008/9/24 theaellen <[EMAIL PROTECTED]>:
>
>
>
> > I have an html form input value where I have a dictionary stashed.
> > When I read it back with request.POST
> > I ge
I have an html form input value where I have a dictionary stashed.
When I read it back with request.POST
I get this:
" '{'picsrc': 'http://lh3.ggpht.com/rambletown/SD9ptz3oVII/AHU/
G7TpyzxSQZs/HPIM2015.JPG', 'pos': '44.9408734 -93.097608',
'description': 'Saint Paul, Minnesota'}'"
How do