royleban | Shared With: Everyone - Sep 19 2009 | django, python
royleban | Shared With: Everyone - Oct 28 2008 | google, django, python, profiling, performanceProfiling in GAE
Quoted: To profile your application's performance, first rename your application's main() function to real_main(). Then, add a new main function to your application, named profile_main()such as the one below:
ShareViewed: 3 Times
royleban | Shared With: Everyone - Oct 28 2008 | django, middleware, python, app engine
Quoted: This document explains all middleware components that come with Django. For information on how how to use them and how to write your own middleware, see the middleware usage guide.
ShareViewed: 3 Times
royleban | Shared With: Everyone - Sep 20 2008 | django, python
Quoted: Simple, keyed chunks of content you can insert into your templates
Think of it as flatpages for small bits of reusable content you might want to insert into your templates and manage from the admin interface.
This is really nothing more than a model and a template tag.
By adding chunks to your installed apps list in your Django project and performing a ./manage.py syncdb, you'll be able to add as many "keyed" bits of content chunks to your site.
The idea here is that you can create a chunk of content, name it with a unique key (for example: home_page_left_bottom) and then you can call this content from a normal template.
Why would anyone want this?Well it essentially allows someone to define "chunks" (I had wanted to call it blocks, but that would be very confusing for obvious reasons) of content in your template that can be directly edited from the awesome Django admin interface. Throwing a rich text editor control on top of it make it even easier.
royleban | Shared With: Everyone - Sep 20 2008 | css, django, pythonQuoted: What Does django-clevercss Do?
This project allows you to create CleverCSS stylesheets using the classic Django administration utility. The use of a template tag, get_clever_css, will allow you to use these stylesheets that are stored in your database. The template tag retrieve the stylesheet by its title and spits out a file on the filesystem each time the stylesheet changes in the database. This slightly reduces the amount of overhead because the CleverCSS stylesheet does not need to be parsed for each page request.
royleban | Shared With: Everyone - Sep 15 2008 | app engine, python, django
Didn't read this but it looks like an ok intro.
Quoted: A tutorial on Google's new App Engine, and a sample application which demonstrates the API and database capabilities.
ShareViewed: 5 Times
royleban | Shared With: Everyone - Sep 08 2008 | development, javascript, python, django, app engineShareViewed: 21 Times
royleban | Shared With: Everyone - Aug 30 2008 | python, development, web authoring, web 2.0, django
Quoted: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
ShareViewed: 1 Time
royleban | Shared With: Everyone - Aug 30 2008 | django, web development, python
URL Patterns for Django pattern matching
Quoted: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
ShareViewed: 4 Times


Send Roy a friend request or a personal message instead.