- Read on Sunday, May 2, 2010
-
-
What Powers Curse
David Cramer provides an inside look into the architecture of a huge django installation. It really worths a read.
Visit -
Media and performance
Great article on how to serve media in a very performant way.
Visit
-
What Powers Curse
- Read on Monday, March 22, 2010
-
-
Integrating Facebook Connect with Django in 15 minutes
Visit -
Django snippets: Better Static Image Serving With Fallback
Serves images from a local directory, but if it doesn't find it locally, then go look for it on a server. This is useful for sites with very large amounts of static content. Instead of copying all your prod images to dev every time you update the database.
Visit
-
Integrating Facebook Connect with Django in 15 minutes
- Read on Monday, March 8, 2010
-
-
SearchableManager
A drop-in chainable manager for providing models with basic search features such as +/- modifiers, quoted exact phrases and ordering by relevance.
Visit
-
SearchableManager
- Read on Friday, February 26, 2010
-
-
Django snippets: jstree in change_list for mptt models
Admin for mptt enabled Models.
Visit -
Django Multipart Templated Email
A replacement for sending mail that takes the name of a template which exists in both text and html formats, and uses these to create a multipart email populated with the given context.
Visit -
Admin App/Model Custom Ordering
This combination of settings.py admin_reorder_tag.py and admin/base_site.html gives you the ability to define custom ordering for the apps and models in the admin app.
Visit
-
Django snippets: jstree in change_list for mptt models
- Read on Friday, February 19, 2010
-
-
Admin actions as buttons instead of a menu
Add this to any admin changelist and your actions drop-down will be replaced with user-friendly buttons.
Visit
-
Admin actions as buttons instead of a menu
- Read on Wednesday, February 10, 2010
-
-
Get admin url for a model
Add this to your model to be able to get their admin change link from anywhere.
Visit
-
Get admin url for a model
- Read on Saturday, February 6, 2010
-
-
Celery v0.9.6
Celery is a task queue/job queue based on distributed message passing. It is focused on real-time operation, but has support for scheduling as well.
Visit
-
Celery v0.9.6
- Read on Tuesday, January 26, 2010
-
-
jQuery Double Click Edit ManyToMany in Admin
Very nice: Put this in your templates/admin/change_form.html template and you will be able to double click a manytomany in a multi select to be able to edit it.
Visit -
Fieldsets for Views
This Snippet allows a view to controle the printed forms on the templates, in a similar way to the fieldsets used by the django admin.
Visit -
Django snippets: jstree integration to django admin
JSTree implementation for Django admin.
Visit -
Admin Apps Names Translation
This Snippet allows for your project's apps names to be displayed as you want in the Admin, including translations.
Visit
-
jQuery Double Click Edit ManyToMany in Admin
- Read on Tuesday, January 5, 2010
-
-
Flexible date form fields
Django: Flexible date form fields accepting (almost) any input at elsdoerfer.name
Visit
-
Flexible date form fields
- Read on Monday, October 19, 2009
- Read on Saturday, July 11, 2009
-
-
django-authority
Looks great: A Django app for per-object-permissions.
Visit
-
django-authority
- Read on Sunday, July 5, 2009
-
-
Improved sortby template tag
Variation on dictsort using attribute access. Nested attributes can be used, like, "obj.attr.attr_attr"
Visit
-
Improved sortby template tag
- Read on Saturday, July 4, 2009
-
-
Django Design Patterns
A great collection of patterns which are occuring commonly with Django.
Visit
-
Django Design Patterns
- Read on Monday, June 29, 2009
-
-
Instant Django
A portable Django development environment for Windows.
Visit
-
Instant Django
- Read on Thursday, June 18, 2009
-
-
South
Intelligent schema migrations for Django apps.
Visit -
Counter model - run multiple persistent counters
This looks really handy.
Visit
-
South
- Read on Sunday, June 14, 2009
-
-
app-engine-patch
Looks pretty good, maybe I'll give it a try.
Visit
-
app-engine-patch
- Read on Friday, June 12, 2009
-
-
Django Test Utils
Seems to be a great application, which helps to build tests.
Visit -
Django Testing
Great slides on how to test Django projects.
Visit -
DRY Fieldsets
A DRY method of declaring django fieldsets, finally! Great Work.
Visit
-
Django Test Utils
- Read on Thursday, June 11, 2009
-
-
Custom nose runner
Uses nose test runner, which will discover ALL tests in the application (not just from the tests module of your applications).
Visit -
LoginAsForm - Login as any User without a password
Visit -
manage.py for eclipse with pydev debugging
Showing how to configure Eclipse with PyDev to give you code complete, and breakpoints.
Visit -
django-markup docs
This app is a generic way to provide filters that convert text into html.
Visit
-
Custom nose runner
- Read on Tuesday, June 2, 2009
-
-
Sometimes Tag
Show part A or part B by chance. Can be useful (replace elements by ads, etc).
Visit
-
Sometimes Tag
- Read on Friday, May 29, 2009
-
-
Custom Cache with SITE_ID in key
Wraps existing cache configured as CUSTOM_CACHE_BACKEND and adds the SITE_ID to cache keys.
Visit
-
Custom Cache with SITE_ID in key
- Read on Sunday, May 17, 2009
-
-
django-imagekit
Automates image processing for Django models. Resize, process and cache multiple versions of your image files. Access newly created files with a standard API. Supports alternate storage schemes such as Amazon S3.
Visit
-
django-imagekit
- Read on Wednesday, May 13, 2009
-
-
Bericht vom dritten Django-UserGroup Treffen in Hamburg
Am Dienstag, den 12.05.2009, hat sich die Django-UserGroup Hamburg zum dritten Mal getroffen.
Visit
-
Bericht vom dritten Django-UserGroup Treffen in Hamburg
- Read on Friday, May 8, 2009
-
-
django-attachments
A generic Django application to attach Files (Attachments) to any model.
Visit
-
django-attachments
- Read on Tuesday, May 5, 2009
-
-
django-multidb
Simple exmample of using Django to work with multiple databases.
Visit -
django-caching
Some examples of transparently caching things in Django.
Visit -
Django Heresies
Some great ideas by Simon.
Visit -
django-granular-permissions
Django Granular Permissions allow you to setup per-row permissions.
Visit
-
django-multidb
- Read on Friday, May 1, 2009
-
-
django-piston
Piston is a relatively small Django application that lets you create APIs for your sites.
Visit -
Der Weg zum schnellen Deployment
Deployment von Webanwendungen kann anstrengend und nervtötend sein - insbesondere dann, wenn stets dieselbe Routine notwendig ist, um die Webanwendung auf dem Server zu aktualisieren und ggf. zu warten. Dieser Artikel erklärt den Einsatz von fabric.
Visit
-
django-piston
- Read on Wednesday, April 29, 2009
-
-
django-memcache-status
This app displays the current load and some statistics for your memcached instances. At this time it's only tested with Django 1.1 (django-trunk).
Visit
-
django-memcache-status
- Read on Monday, April 27, 2009
-
-
django-campaign
A basic newsletter app for the Django webframework.
Visit
-
django-campaign
- Read on Sunday, April 26, 2009
-
-
Shared hosting plans - WebFaction
Visit -
django-storages
Generic storages for Django: S3 storage ImageStorage OverwriteStorage MogileFSStorage FTPStorage Database storage
Visit
-
Shared hosting plans - WebFaction
- Read on Saturday, April 25, 2009
-
-
django_inlines
For embedding anything you'd like into text in your django apps. Django Inlines is an app to let you use include other objects and special bits in your text fields.
Visit
-
django_inlines
- Read on Thursday, April 23, 2009
-
-
django-reversion
Reversion is an extension to the Django web framework that provides comprehensive version control facilities.
Visit
-
django-reversion
- Read on Tuesday, April 21, 2009
-
-
Haystack - Search for Django
Search doesn't have to be hard. Haystack lets you write your search code once and choose the search engine you want it to run on. With a familiar API that should make any Djangonaut feel right at home and an architecture that allows you to swap things in and out as you need to, it's how search ought to be.
Visit
-
Haystack - Search for Django
- Read on Wednesday, April 1, 2009
-
-
Django snippets: Smart i18n date diff (twitter like)
This snippet display a human readable date diff. You give it the your date in parameter and the diff with datetime.datetime.now() is returned. The diff must be positive to be more accurate (future dates are not supported). Will give something like: less than 1 minute ago 13 minutes ago 1 hour ago etc.
Visit
-
Django snippets: Smart i18n date diff (twitter like)
- Read on Tuesday, March 31, 2009
-
-
Add Full-Text Search to your Django project with Whoosh
Visit -
Automatisch lokalisierte Zeitformatierungen
Großartige Anleitung, wie man Django Sprachen-abhängige Datumsanzeigen beibringt.
Visit
-
Add Full-Text Search to your Django project with Whoosh
- Read on Friday, March 27, 2009
- Read on Friday, March 6, 2009
-
-
Smart {% if %} template tag
Save this as smart_if.py in the templatetags folder of one of your apps. Then a simple {% load smartif %} replaces the boring built-in Django {% if %} template with the new smart one.
Visit
-
Smart {% if %} template tag
- Read on Friday, February 27, 2009
-
-
A signal to post new saved objects to Twitter
Post new saved objects to Twitter. (Using string-representative of object an get_abolute_url()-method, which will be tinyurl'zed.)
Visit
-
A signal to post new saved objects to Twitter
- Read on Friday, February 20, 2009
-
-
Getting the related entries with a templatetag using django-tagging
Django tagging by default doesn't provide a templatetag to get the related objects for another object. Even though this is implemented as a model. Still, one can use the existing templatetags to achieve the same outcome.
Visit
-
Getting the related entries with a templatetag using django-tagging
- Read on Sunday, February 8, 2009
-
-
django-command-extensions
Great collection of command, field and admin extensions for my favourite web framework: Django.
Visit
-
django-command-extensions
- Read on Friday, February 6, 2009
-
-
Ping All Search Engines
Pings the popular search engines, Google, Yahoo, ASK, and Windows Live, to let them know that you have updated your site's sitemap. Returns successfully pinged servers.
Visit
-
Ping All Search Engines
- Read on Saturday, January 31, 2009
-
-
World, meet django-flatblocks 0.1.0
Great idea, to have flatpage-snippets (called flatblocks) to load some small texts into any template. Well done zerok!
Visit
-
World, meet django-flatblocks 0.1.0
- Read on Sunday, January 18, 2009
-
-
Creating a Mobile site for django powered
Yashh wrote a great article on how to use django when writing web app for iPhone or iPod touch. Some great hints here!
Visit
-
Creating a Mobile site for django powered
- Read on Monday, December 8, 2008
-
-
django-orm-cache
This project is an attempt to provide a low-level, somewhat magical, approach to handling row-level object caches.
Visit
-
django-orm-cache
- Read on Thursday, November 27, 2008
-
-
@reply links in Twitter messages
This template filter is rewritten, courtesy of Eric Moritz. It is meant to be used when displaying status messages from Twitter. A regular expression is used to replace all @username replies with a link to that user's Twitter page.
Visit
-
@reply links in Twitter messages
- Read on Monday, November 24, 2008
-
-
django simple search
Simple search with Q object you just pass a list of fields and the search string then it will come up with a object to use in a filter.
Visit -
django-xmlrpc
django_xmlrpc offers a means by which a Django developer can expose their views (or indeed any other function) using XML-RPC.
Visit -
An XML-RPC Decorator
Drop this package wherever you want, import the decorator, and use it with one argument to decorate any function you want (@xmlrpc('pingback.ping')). That function is now available on your XML-RPC interface, available through this view.
Visit
-
django simple search
- Read on Wednesday, November 19, 2008
-
-
#7510 (ModelAdmin should be able to use a non-default manager)
Hope this will find it's was very soon into django.
Visit
-
#7510 (ModelAdmin should be able to use a non-default manager)
- Read on Tuesday, November 18, 2008
-
-
Use MEDIA_URL in 500 error page
The default server_error view uses Context instead of RequestContext. If you were depending on a context processor to make MEDIA_URL available in your templates, your 500.html template will not render with the correct image paths. This handler adds MEDIA_URL (and nothing else) back to the context that is sent to the template.
Visit
-
Use MEDIA_URL in 500 error page
- Read on Friday, November 14, 2008
-
-
An autocomplete form widget for ForeignKey model fields
Great post from jezdez showing how to add autocopmletes to foreign key relations. Very interesting, when you have many objects and want it to be userfriendly.
Visit
-
An autocomplete form widget for ForeignKey model fields
- Read on Monday, November 10, 2008
-
-
App Settings
There are times where an app needs to have some value defined by the user. However obtaining this value is somewhat not very clear. Django projects have a settings.py module that stores settings that a site developer might want to adjust based on the site or server.
Visit -
So you want a dynamic form
Build “dynamic forms” in Django, where a “dynamic” form is one whose behavior or fields change depending on, say, the current user or some other bit of current information.
Visit
-
App Settings
- Read on Friday, November 7, 2008
-
-
Secrets of the Django ORM
Django's ORM supports SQL group_by and having clauses, and it has for quite some time.
Visit -
An autocomplete widget for django-tagging form fields
Jannis wrote an often requested feature for django-tagging: Auto complete. This ensures that tags aren't misspelled or anything.
Visit
-
Secrets of the Django ORM
- Read on Tuesday, November 4, 2008
-
-
Writing a custom management command
One of the neat things you can do in Django 1.0 is write custom management commands. Django gives you an API that you can use to easily write code that you can execute on the command line. We are familiar with some of the built-in ones such as syncdb and runserver. This post will cover how to create our own.
Visit
-
Writing a custom management command
- Read on Wednesday, October 29, 2008
-
-
django-db-log
Exception Logging to a Database in Django
Visit -
Debugging Django
Great entry explaining a lot of ways how to debug Django projects.
Visit
-
django-db-log
- Read on Tuesday, October 28, 2008
-
-
Screencast 2: Logging in Django, for fun and profit
This screencast is going to be about how to use the python logging module in Django. It's in the Python standard library, so there is nothing extra to install to use the simple python logging module. The screencast also makes use of the excellent Django-Logging, which should be downloaded and installed beforehand.
Visit
-
Screencast 2: Logging in Django, for fun and profit
- Read on Monday, October 27, 2008
-
-
ExcelResponse
A subclass of HttpResponse which will transform a QuerySet, or sequence of sequences, into either an Excel spreadsheet or CSV file formatted for Excel, depending on the amount of data. All of this is done in-memory and on-the-fly, with no disk writes, thanks to the cStringIO library.
Visit -
ajax form handler generic view
Some ajax heavy apps require a lot of views that are merely a wrapper around the form. This generic view can be used for them.
Visit
-
ExcelResponse
- Read on Wednesday, October 15, 2008
-
-
send_html_mail
This is quite generic, can auto generate text version of the mail if required.
Visit -
Better paginator template tag
Pagination for django, which works with all querysets.
Visit
-
send_html_mail
- Read on Monday, October 13, 2008
-
-
Django model cron jobs
Inspired by snippet 1126, I thought I would post a module that stores crontab entries in a database, with a less powerful, but more end-user friendly API.
Visit
-
Django model cron jobs
- Read on Sunday, October 12, 2008
-
-
Site converted to django-friendly: FriendFeed integration
Information about dajngo-friendly application.
Visit
-
Site converted to django-friendly: FriendFeed integration
- Read on Friday, October 10, 2008
-
-
Gravatar support for Django comments
A templatetag to add Gravatar support for Django comments.
Visit
-
Gravatar support for Django comments
- Read on Monday, October 6, 2008
-
-
10 Insanely Useful Django Tips
There are quite a few great little tricks and tips one could use on their Django projects that would speed up development and save many headaches in the long run. From basic to obscure, these tips can help any skill-level of programmer become more adept with Django and all it's glory.
Visit -
RangeField and RangeWidget
This field and widget is enableing the user to put a start and end value.
Visit -
feedburner middleware
This middleware redirects the request for yoursite.com/feed/whatever/onefeed to your feedburner onefeed feed.
Visit -
django-tables: A QuerySet renderer
You would define a table, which is sort of a cross between a model and a form, define it’s columns (i.e. fields), and then tell it how you want to sort, filter and group the data.
Visit
-
10 Insanely Useful Django Tips
- Read on Friday, September 12, 2008
-
-
WorldIP - access to IP database over API
The WorldIP database provides real-world geographical location. Database is more correct than Whois records and Whois-based databases, that show geographic locations of network owners, and not the geographic location of Internet-connected PC or appliance itself.
Visit -
Retrieve a list of countries from GeoNames
GeoNames provides a useful data file with information about every country in the world (DjangoPeople uses this). Here's an importer that grabs the file from the web and turns it in to a list of dictionaries.
Visit -
django local tests
[DE] Zwei kleine Skripte mit dem man eine django Funktion ganz seperat testen kann, ohne eine echte App. erstellen zu müßen, dies wird im Skript selber gemacht.
Visit -
robhudson's django-debug-toolbar at master
The Django Debug Toolbar is a configurable set of panels that display various debug information about the current request/response. It is a small toolbar that, when activated, situates itself in the top-right location of the browser window. When particular panels are clicked, more details about that panel's content are displayed.
Visit
-
WorldIP - access to IP database over API
- Read on Friday, September 5, 2008
-
-
Django snippets: render_to
Decorator, written for views simplification. Will render dict, returned by view, as context for template, using RequestContext.
Visit -
Automatical superuser creation with Django
Handy tip to auto set a superuser afer ``syncdb``.
Visit
-
Django snippets: render_to
- Read on Tuesday, September 2, 2008
-
-
Wordpress to Django Migration
migrate.py wordpress > django (coltrane, threadedcomments)
Visit
-
Wordpress to Django Migration
- Read on Friday, August 29, 2008
-
-
Using Akismet with Django's new comments framework
Example of how to use Akismet with the new comments framework of django.
Visit -
Preventing Spam
Describes a way of preventing comments in django.
Visit
-
Using Akismet with Django's new comments framework
- Read on Tuesday, August 26, 2008
-
-
Spass mit Newforms-Admin - Rowlevel-Permissions
[DE] Ein oft gewünschtes Feature im Admin-Interface ist "Lasse den Benutzer nur seine eigenen Einträge bearbeiten", anders ausgedrückt: Rowlevel-Permissions. Dieser Beitrag erklärt dies wunderbar.
Visit -
Spass mit Newforms-Admin - Automatische Felder
[DE] In diesem Artikel geht es darum, dem eingeloggten Autor automatisch den Artikel zuzuweisen.
Visit -
Notifications Middleware for Session-Backed Messages
Improved message System for Django with Message Type. (E.g. "error").
Visit -
Django snippets: Login with email or username
A simple backend which allows you to login with either an email address or a username. It should be combined with another backend for checking permissions.
Visit -
models with order (+admin editing)
Use this abstract model if you want to add "order" to a given model. Once you do, you will get automatic "up" and "down" links for each model row.
Visit -
SQL Function Decorator
This decorator will replace a method on a model with a class method that executes SQL in the functions doc string. (Idea of SQL method is great, but the DOC-String solution isn't smart.)
Visit
-
Spass mit Newforms-Admin - Rowlevel-Permissions
- Read on Tuesday, August 19, 2008
-
-
Django: Inserting and Positioning Images
Answer of how to associate images and files with your articles, blog posts, etc.
Visit -
Wiederverwendbare Django-Projekte
[DE] Will man aber ein komplettes Projekt veröffentlichen, sollte man sich auch Gedanken machen, wie man das komplette Projekt möglichst automatisch veröffentlichen kann.
Visit -
debugview
Django middleware that enables to view debugging information in production
Visit -
django_templatecomponents
A django application that makes it easy to organize your component source (JavaScript, CSS) right in your django templates to make your website much faster.
Visit -
Manager method for limiting GenericForeignKey queries
This is a simple manager that offers one additional method called relate, which fetches generic foreign keys (as referenced by content_type and object_id fields) without requiring one additional query for each contained element.
Visit -
StaticGenerator for Django
StaticGenerator is a Python class for Django that makes it easy to create static files for lightning fast performance.
Visit -
django-queue-service
A simple message queuing service created with Django.
Visit
-
Django: Inserting and Positioning Images
- Read on Friday, August 15, 2008
-
-
Upload Status mit Django und AJAX anzeigen
Auf einigen Seiten findet man beim Hochladen einer Datei eine kleine Leiste, mit der der Status des Uploads angezeigt wird. So geht es mit Django.
Visit -
GenericForeignKeys with less queries
When working with generic relations in Django you have to be quite careful not to end up with n+1 queries for a simple fetch of n elements.
Visit -
django-storages
Generic storages for Django
Visit -
ImageFSStorage
A custom FileSystemStorage made for normalizing extensions. It let's PIL look at the file to determine the format and append an always lower-case extension based on the results.
Visit
-
Upload Status mit Django und AJAX anzeigen
- Read on Tuesday, August 12, 2008
-
-
Expire page from cache
A simple helper function that clears the cache for a given URL, assuming no headers.
Visit -
Readonly admin fields
Visit -
Templatetags to output users online, last registered users, and the last logins.
Visit -
Filter to resize a ImageField on demand
A filter to resize a ImageField on demand.
Visit -
HTML to text filter
This filter converts HTML to nicely-formatted text using the text-browser W3M. Handy for constructing e-mail bodies.
Visit -
BestPracticesDateinamen
[DE] Wenn man Applikationen mit Django entwickelt gibt es einige Konventionen für die benennung von Dateien und Ordnern aber gleichzeitig auch viel Freiheit, denn Django arbeitet mit normalen Python-Modulen.
Visit
-
Expire page from cache
- Read on Friday, August 1, 2008
-
-
Django code_swarm
Great video show the development of Django through the passed years.
Visit -
Debugging Django memory leak with TrackRefs and Guppy
Visit -
Top ten things that suck about Django, revisited
As always a good story written by Jeff Croft. Worth a read!
Visit -
Semantic Django - Tools for semantic stuff in Django
A collection of semantic resources in order to ease the implementation of semantic Django web apps.
Visit -
Super User Conditional Page Exception Reporting
Normal users will get your 500.html when debug = False, but If you are logged in as a super user then you get to see the stack trace in all its glory.
Visit
-
Django code_swarm
- Read on Wednesday, July 30, 2008
-
-
Automating an audit trail
As raised in a recent discussion on django-developers, this code is one solution for creating an audit trail for a given model.
Visit
-
Automating an audit trail
- Read on Monday, July 28, 2008
-
-
Automating tests in Django
Visit -
Admin definition converter (for newforms-admin)
Converter for old admin to newformsadmin.
Visit -
Excel Spreadsheet Export
Export data to Excel. Works also with OpenOffice.
Visit
-
Automating tests in Django
- Read on Tuesday, July 15, 2008
-
-
MarkdownTextField
A common pattern in Django is to create a TextField intended for Markdown text (i.e. description) and a companion non-editable TextField for storing the HTML version (i.e. description_html). This field encapsulates this pattern in a single field.
Visit
-
MarkdownTextField
- Read on Friday, July 11, 2008
-
-
Owner required decorator
This decorator allows edit for the owner of the record.
Visit -
Dynamic Django settings context processor
Here's a nice way of easily passing only certain settings variables to the template.
Visit
-
Owner required decorator
- Read on Tuesday, July 8, 2008
-
-
Aufbewahrung in Django der Boolean-Zustände mit Hilfe der Bitmasken
Visit -
Last.fm Charts
This will fetch the Top Artists List for the given username from Last.fm.
Visit
-
Aufbewahrung in Django der Boolean-Zustände mit Hilfe der Bitmasken
- Read on Sunday, July 6, 2008
-
-
Django performance tips
Explanation of how to optimize performance of a django application. (Here is written that PostgreSQL is better than MySQL...)
Visit -
Django performance testing - a real world example
Testing and optimizing a django application. Really great tutorial.
Visit -
Multiple Aktionen in Djangos Administration
Tutorial that explains how to add a mass delete function to django's admin page. [GERMAN]
Visit -
Media moves
James explains, how any why he uses amazon's S3 service.
Visit
-
Django performance tips
- Read on Friday, July 4, 2008
-
-
Django snippets: in_group template filter
Allows you to search if a user belongs to a given group.
Visit
-
Django snippets: in_group template filter
- Read on Tuesday, July 1, 2008
-
-
django-friendfeed
A django application that uses the friendfeed's api to show your lifesteaming.
Visit -
MetaWeblog & Django
Integrate other services into Django-based blog using the "MetaWeblog" remote procedure call API.
& Django">Visit -
Amazon Simple Storage Service
I like this because in the admin interface it looks pretty much like a file field and you can just click to upload.
Visit -
Django and S3 - integrating
Visit
-
django-friendfeed
- Read on Wednesday, June 25, 2008
-
-
Django snippets: backupdb command
backupdb command allows to make a database backup automatically. It's supposed to do this just before a syncdb, reset or flush command in a server deployment.
Visit
-
Django snippets: backupdb command
- Read on Thursday, June 19, 2008
-
-
Model with random ID
An abstract model base class that gives your models a random base-32 string ID.
Visit -
Model manager with row caching
RowCacheManager is a model manager that will try to fetch any 'get' (i.e., single-row) requests from the cache.
Visit
-
Model with random ID
- Read on Wednesday, June 11, 2008
-
-
ExtJS JSON Encoder
This is a subclass of Django's built-in JSONEncoder that adds the ability to output form and field objects as ExtJS-compatible config objects.
Visit -
Login via ExtJS
This is a simple view I'm using to log people into our app using ExtJS's AJAX form submission.
Visit
-
ExtJS JSON Encoder
- Read on Wednesday, June 4, 2008
-
-
A Cache Status View for Django
I wanted an easy way to see what the memcached server is up to, and came up with a a simple Django view that grabs the current status from the server.
Visit
-
A Cache Status View for Django
- Read on Tuesday, June 3, 2008
-
-
Making templatetags global to all templates
I found myself putting {%load ... %} in every template that I was writing, so DRY .. I created an app called 'globaltags' and in its __init__.py, I just pre-load the tags that I use frequently.
Visit -
Template tag to dump database query info
The {%dbinfo%} tag returns a string with the # of database queries and aggregate DB time. The {%dbquerylist%} tag expands to a set of LI elements containing the actual SQL queries executed.
Visit -
ExprTag - Calculating python expression and saving the result to a variable
This tag can be used to calculate a python expression, and save it into a template variable which you can reuse later or directly output to template.
Visit -
PyIf Template Tag (Conditional Tag)
This is an adaptation/enhancement to Django's built in IfNode {% if ... %} that combines if ifequal ifnotequal into one and then adds even more.
Visit -
django-timezones
A Django reusable app to deal with timezone localization for users.
Visit
-
Making templatetags global to all templates
- Read on Saturday, May 31, 2008
-
-
Django, Initial Data & Many To Many Tables | #if debug
The functionality to manage the database through Django is great, however it’s often required to load initial data into a database when it is first created. The initial data might be used for running unit tests against or actually providing some useful
& Many To Many Tables | #if debug">Visit
-
Django, Initial Data & Many To Many Tables | #if debug
- Read on Friday, May 30, 2008
-
-
django-evserver
Visit -
Django and Prototype: Ajax Request (Sending Data Out Of Band)
Another frequent use of Ajax is to send data to your server without forcing your user to reload the entire page they are on.
Visit -
Custom model fields
Sometimes, though, the Django version won’t meet your precise requirements, or you’ll want to use a field that is entirely different from those shipped with Django.
Visit
-
django-evserver
- Read on Thursday, May 29, 2008
-
-
FullHistory
The changelog-type of history in its current implementation, would write log only when using Admin and log would include only information about the change but not the content that was changed. This is not very useful when you would like to revert a change
Visit -
Multiple Database Support
add support for multiple database connections
Visit -
Cook Book ThreadlocalsAndUser
It is important not to specify the project in the path to your middleware class in MIDDLEWARE_CLASSES when using applications within your project and the threadlocals is defined within an application
Visit -
django-hotclub
umbrella for reusable django apps
Visit
-
FullHistory
- Read on Wednesday, May 28, 2008
-
-
ServerArrangements
Because Django uses WSGI, it can run on any WSGI-compatible Web server. Here's how to run Django on various server arrangements.
Visit
-
ServerArrangements
- Read on Tuesday, May 27, 2008
-
-
Proposal: ORM aggregation support
Addition to the django ORM - many people has asked for aggregation.
Visit -
Newforms Admin Branch
This branch aims to integrate Django's admin site with the newforms library. Along the way, we're taking the opportunity to add extra customization hooks to the admin site.
Visit -
Django Pluggables
The Super Juicy List of Pluggable Applications
Visit -
transdb
Translatable Database Fields for Django
Visit -
AjaxCheckMiddleware
Simply adds an attribute is_ajax to a request object, indicating if the request was made via Ajax. Allows you to reuse a lot of POST processing view code to which you'd like to progressively add Ajax: if request.is_ajax: return JsonResponse(some_json) els
Visit -
Ajax required decorator
Checks if the request is an AJAX request, if not it returns an HttpResponseNotFound. It looks for the XMLHttpRequest value in the HTTP_X_REQUESTED_WITH header. Major javascript frameworks (jQuery, etc.) send this header in every AJAX request. (see comment
Visit -
Tag "slug"
Some ideas of how to create an auto-slug field.
Visit -
Query Set Manager - easily add new QuerySet methods using a Model inner class
An easy way to add custom methods to the QuerySet used by a Django model
Visit
-
Proposal: ORM aggregation support
- Read on Monday, May 26, 2008
-
-
Internet lifestream with Django
All that I needed after all was a FriendFeed account that would centralize all my feeds.
Visit
-
Internet lifestream with Django
- Read on Monday, May 19, 2008
-
-
Building a project that exists simultaniously on Facebook and the web
Visit -
django-mobileadmin
A great and easy to use admin interface designed for mobile phones.
Visit -
django-robots
Handling robots.txt dynamically.
Visit -
django-messages
Private messaging system
Visit
-
Building a project that exists simultaniously on Facebook and the web
- Read on Tuesday, May 6, 2008
-
-
DjangoCross Site Request Forgery protection
A must have for every website.
Visit -
Auto Logout Middleware
Middleware to logout a user after a certain time. (Defines in ``settings.AUTO_LOGOUT_DELAY``.)
Visit -
AdminPeepingMiddleware
Handy middleware to switch to a different user for one request. Makes debugging very easy.
Visit -
XhtmlDegraderMiddleware
Enables ``application/xhtml+xml`` content-type for browsers, which support it. Others get the usual ``text/html``.
Visit -
Localized URLs (www-en)
Enables language selection based on the URL itself, instead of saving it into a cookie.
Visit -
Django Master Class
Amazing django information on Unit testing, middleware, signals, forms & ajax, template tags, custom fields, openID and REST
Visit -
django-evolution
``./models.py syncdb`` doesn't track changes in a model, it just checks for new models to be added to the database. Django Evolution enables django to write model changes into the database.
Visit
-
DjangoCross Site Request Forgery protection
- Read on Monday, May 5, 2008
-
-
django-syncr
Visit -
Flickr Integration
Visit -
Django Documentation
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Visit
-
django-syncr

