Hedged down: django - 0 views
Commented On - Blog - 0 views
Kevin Kelly - 0 views
Detached Designs: Category Page - 0 views
Using jQuery Slider to Scroll a Div - 0 views
Abhijat Mahajan » Blog Archive » The Technology Behind Document Streaming App... - 0 views
-
The Technology Behind Document Streaming
-
Scribd uses http://www.swftools.org/ they have written open source libraries to convert pdf into flash files that can be rendered on the webbrowser.
In the Woods - Home - 0 views
Jquery Image Loader - 0 views
NetBeans for PHP : weblog - 0 views
NetBeans for PHP : weblog - 0 views
Crunchberry Project - 0 views
Big list of Django tips (and some python tips too) | Surfing in Kansas - 0 views
-
Big list of Django tips
-
Writing managers is really simple, and they provide a better user interface to your code. This code snippet simply adds a latest() method to the default objects manager class ForecastDayManager(Manager): def __init__(self, *args, **kwargs): super(ForecastDayManager, self).__init__(*args, **kwargs) def latest(self): return self.get_query_set().order_by('forecast_date')[0] It can be called ForecastDay.objects.latest(). This is a trivial example, but there is a lot of power that lies in this functionality.