Groan! - just starting out on my Django career and already falling
victim to the "didn't read the dcoumentation" disease!
Thanks very much indeed Rob, it works fine now!
cheers
Tone
> Thanks for the reply Rob - yup it's a string all right, but the only
time *I* pass anything to rfc3399 is when I pass it a datetime.datetime
object.
Okay, but I meant the add_item method wants a datetime. From your
original post:
f.add_item(title=u"Hot dog today",
link = u"http://www.exampl
Thanks for the reply Rob - yup it's a string all right, but the only
time *I* pass anything to rfc3399 is when I pass it a datetime.datetime
object.
It seems that the routine feedgenerator.writeString is sending rfc3399
a string rather than a datetime.datetime object, which it gets from the
write
Looks like you are passing in a string object for the date.
feedgenerator.rfc3339_date(when) will return a string rather than a
datetime object, I'm guessing that is the problem.
-rob
Oh yes, I figured that Django would be very RESTian-friendly from the
URL dispatching. I did some digging around for Atom publishing modules
(parsing seems to be pretty well taken care of with feedparser and
ElementTree) and after some false starts, I found quite a good
publisher in ... django! (d
On 11/23/05, tonemcd <[EMAIL PROTECTED]> wrote:
> I'm thinking of using Django as the front-end to an experimental
> Atom-enabled 'store' as outlined by Joe Gregorio at
> http://www.xml.com/pub/a/2005/09/21/atom-store-web-database.html
> [...]
> Any thoughts gratefully received.
Hi Tone,
Django'
6 matches
Mail list logo