journal
all ![]() | Rob is 20,125 days old today. |
Entries this day: Drag-n-drop Meditation_bread_day hanachan list_to_do Drag n drop 8:46am JST Sunday 16 January 2011 (day 14907) Though the success response doesn't get displayed, I finally got file uploads to work! I had to install a new version of Python (2.7.1), setuptools 0.6c11, mysql-python 1.2.3, and Django 1.3 (even though it's still in beta), make a couple of tweaks to Alex Kuhl's ajax uploads in django HI Alex I ended up installing Python 1.7.1 and Django 1.3 (my project won't go live before 1.3 becomes stable), and I got your code to work with two (?) little fixes from what's in your article. 1) I had to import json at the top of the views.py 2) You have an extra colon near the bottom of your example views code # save the file success = save_upload( upload, filename, is_raw ): It must have been copied from the function definition line. Again, thanks very much for the code; I hope I can put it to good use! - Robpermalink Meditation bread day 9:49pm JST Sunday 16 January 2011 (day 14907) Today was meditation in the morning and the bread baking fun at Paola's house with Lin, Sachiko, Leila, Emma, Mayuko, Kamechan, Paola, Jon, May, and Shige. 45 minute meditation became easier when I used my version of Sachiko's technique of clearing the mind instead of trying to focus on something. Salad, soup, and bread were yummmmy. permalinkhanachan 9:57pm JST Sunday 16 January 2011 (day 14907) I've gotten over the idea of romping with Lin and Sachiko. Now I have a new second girlfriend and Lin's 100% approval. I have loved Hanachan for a long time, and today I finally got a chance to smooch her (because she was so cold). Lin took me to Yokohama station for 3 hours of free hanging out and omg I'm going to miss her so much when I'm gone to Korea for the week starting tomorrow, but we'll do some non-free hanging out on Saturday night when I get back. permalinklist to do 9:58pm JST Sunday 16 January 2011 (day 14907)
|