browse by tag: django in language
sort by
Using raw SQL in django
in Python added by admin, on 3/1/2008 django framework intermediate sql
For a django project I'm working on, I need to run a simple query with COUNT and GROUP BY statements to collect some summary data. I tried working with the model API, and eventually fell back to using raw SQL instead.
comment save reportDjango Performance Tips
in Python added by admin, on 30/11/2007 django intermediate performance
Django handles lots of traffic with ease; Django sites have survived slashdottings, farkings, and more. Here are some notes on how we tweak our servers to get that type of high performance.
comment save reportDjango profiler
in Python added by admin, on 25/11/2007 django framework intermediate
I wrote simple script that can be used to profile any Django-powered web-site and find how many SQL-queries are used per page, how heavy html-pages are, etc.
comment save reportURLConf tips and tricks
in Python added by admin, on 8/11/2007 django framework intermediate
I've written a couple of things recently talking about useful things to be aware of when you're putting together the URL configuration for a Django application - one covering a pitfall you should watch out for with regular expressions and one touching on the utility of the "url" tag and the "permalink" decorator, and the "reverse" utility - but you can never have too much useful information about URL configuration, because for a lot of people it seems to be one of the trickier parts of Django. So let's look at a few more things you might not know about.
comment save reportWriting your first Django app, part 3
in Python added by admin, on 27/10/2007 beginner tutorials django framework
This tutorial begins where Tutorial 2 left off. We're continuing the Web-poll application and will focus on creating the public interface - "views".
comment save reportWriting your first Django app, part 2
in Python added by admin, on 27/10/2007 beginner tutorials django framework
This tutorial begins where Tutorial 1 left off. We're continuing the Web-poll application and will focus on Django's automatically-generated admin site.
comment save reportWriting your first Django app, part 1
in Python added by admin, on 27/10/2007 beginner tutorials django framework
Lets learn by example. Throughout this tutorial, we'll walk you through the creation of a basic poll application. It'll consist of two parts: A public site that lets people view polls and vote in them; An admin site that lets you add, change and delete polls.
comment save report