Dose of reading – unlearn, young programmer
Very interesting article from BlueGrayBox and Ted Neward - Unlearn, Young Programmer
HTML5, video and subtitles
HTML5 provides a new tag - video. It let's you embed a movie in your website. It can have two subelements - source which is used to provide the source file of the video and track which is used to provide text track for the multimedia. The problem is that (as far as I know) none of the browsers support the track element at the moment. However it's pretty simple to DIY.
Django – fixtures are not loaded during tests
If you don't have models.py in your app, fixtures from this app won't be loaded. Putting empty models.py in your app will be enough to load the fixture.
Django nonrel-search and pagination problem
Do you use nonrel-search? Do you want to paginate your search results and it does not work?
Go and see this issue: https://bitbucket.org/Wilfred/nonrel-search/issue/4/slicing-issue-in-relationindexquery-class
The provided patch seems to work for me.
No module named fancy_urllib
Got this error? No module named fancy_urllib? Is Django + Google App Engine your set up?
Probably you have GAE SDK in your PYTHONPATH. It should be in your PATH only, NOT PYTHONPATH (it's mentioned in installation manual but who reads them ...
).
Dose of Reading 2011-11-14
Dropped the daily out of title - couldn't keep up the tempo. Dates are easier to put in than to remember the last used number