Tag django

DjangoSites is 1337

Since I missed the 1000-site milestone, here's the next best thing. We've got 1337 sites listed on DjangoSites!

DjangoSites Gets New Shoes

After almost twelve months online and well over a thousand sites submitted, DjangoSites has had a facelift and moved to a new hosting home.

DjangoSites Gets OpenID Support

One of the coolest things to happen to the Internet in the past few years is OpenID, the decentralised system that allows you to use a single 'login' mechanism across multiple websites. OpenID support in Django is coming of age, and I've just implemented it at DjangoSites.

Weblog Updates

Apologies for the recent RSS spam, where all of my posts were re-published. The reason was a new blog system I'm using, syndicating my actions around the web into a single 'tumblog' style feed.

WhisperGifts Sees the Light of Day

I've been blogging here about bridal gift registries for well over a year now. All of that talk has resulted in the creation of WhisperGifts, a Django-powered service that allows couples to host their bridal gift registry online with minimal fuss and maximum benefit for everybody: The couple getting married AND their guests. Read on for some benefits of the service.

Jutda: Django-powered Solution Provider

In my previous post I mentioned Jutda, a Django-powered company that I'm working on in my spare time. I would now like to formally introduce Jutda to the Django community and outline a few exciting projects that are on their way. World, meet Jutda!w

Overdue Catchup

A quick update on a few projects including DjangoSites, WhisperGifts, Jutda, a Django-powered Forum package, and my OpenID implementation.

Django Menuing System

Although Django's template system is very easy to get the hang of, it's not for everybody. In particular, it's not for people whose job it is to publish content without having any technical know-how. For this reason, I'm giving away a simple menuing application for Django that lets your content editors addand change menu items without bothering your template authors.

Wanted: Engaged Djangonauts

Getting married? I'm looking for people to help with a final round of Beta testing for my Django-powered Bridal Registry service. We've done some extensive testing so far, and now need a few people getting married in the next few months to finalise testing before a public launch.

DjangoPoweredSites Grows Up

I've spent some significant time over the past weekend moving website listings from the old DjangoPoweredSites wiki page to DjangoSites. That brings the total number of Django-driven websites listed to over 800! We'll now close down the wiki page as it has become redundant, but require a little bit of help cleansing the new list.

Easy Multi-Part E-Mails with Django

Django provides an easy way to send multi-part text/HTML messages. I've recently built on top of this existing framework to provide an ultra-easy way to send templated HTML and plain-text messages with minimal code duplication.

Django: Multiple Aliases for a Single Website

In these days of cheap domains, it's often desirable to own multiple domains for a single website. You've probably got each of the .com, .net and .org domain names, along with a country-specific domain. You want each of these to present exactly the same website to the world, but good design says that each web page should have one, and exactly one, URL. So what's the best way to serve this up without having an Apache config for each domain?

Django: A Diverse Community

Scott Barnham, one of the guys behind the recently-launched Django Gigs website, has posted some statistics from visitors to the Gigs website over the past few days. I've put together some similar stats for the Django Sites website, which has been online for a few months now.

Mixing OpenID into Django's authentication system

OpenID is a de-centralised authentication system that is making a splash in a big way. In this post I give an overview of what OpenID is, and how I'm going about integrating it with Django's user-management / authentication system.

Validating a Username via jQuery with Ajax

The phrase 'simplifying the user experience' (or it's cousins) is thrown around regularly these days, without many examples on HOW to actually make life easier for the end user. In my opinion it's about removing needless junk wherever possible, letting the user focus on what's actually important. A simple example I've extracted from a current project is minimising needless page loads. Read on to find out how I validate availability of a username during the Django registration process.

DjangoSites: We Want YOU!

We're at 260 sites listed on DjangoSites. The DjangoPoweredSites page has 3-4 times that number - so if you've got a website built with Django, why not submit it (for free, no less) and show it off to the world?

Djangosites Updates

Djangosites.org was launched last week as a new way to show off the many websites that are built with Django but that don't get much fanfare within the community as they aren't technology based. I've received some fantastic feedback from the community so have improved the RSS feeds and access to info about source-code.

Introducing Djangosites.org

Over the past few weeks I've been working on a website to allow the Django community to showcase what's out there that's built using the fantastic Django framework. With input from others in the community, the site is now live. I introduce to you, DjangoSites.org

Using The WebThumb API with Python

There is a fantastic free service available to create screenshots of websites using an API at bluga.net. The problem is, there are no samples in Python. As part of a project I'm working on with the Django community, I've written a simple Python interface to the bluga.net webthumb API which lets you pass in a URL and receive back a screenshot.

Helping Sort Django's Error Emails

Running multiple Django sites, all with debugging disabled? Getting confused as to which traceback emails belong to which site? This simple Django tip shows how to alter the e-mails being sent by Django so you can more easily work with these e-mails which are a very useful site management tool.

Blog Spam Protection

I've made a small change to my blog to try and slow down the spammers a bit - the first step in a few that I have planned.

The Pareto principle (Or, why the 80/20 rule always bites us in the ass)

There is a common saying that 80% of a project takes 20% of the time and budget - and the remaining 20% of the work takes 80% of the time. This is no more correct than in the software development environment. Warning: Rant ahead!

ChangeManipulators on only part of a model

There is a cool function in Django for managing forms, and automatically doing data validation and manipulation before updating the database. That same cool function also has a critical issue in it that makes it impossible to reliably only update part of a model - except that critical issue has a critical fix that has been around for almost a year now and has never been documented.

Sending E-Mails via Templates

Django's templates are fantastic for displaying content on your website, but what if you could use the power of the template system in other areas, such as e-mails sent from your application for registration or update purposes? Well, you can do just that - read on for an example.

Using Django's TemplateTags

Often times on a website you will want to include the same block of dynamic data in your template, regardless of the view that generated the page. Common examples are lists of tags or categories, navigation bars (built from the database) and other such lists - such as those on the right side of this page. The good news is that you don't have to modify every single view to add these details to the template context. The better news is that it's fantasmically powerful with Django.

A Django Blog: Redux

A recent upgrade to Django has made some drastic and far-reaching changes, called 'Magic Removal'. As such, all earlier code that relies on Django has to be updated - including my blog tutorials. Read on for a summary of the changes you'll have to make.

XSS Vulnerability

Simon Greenhill, a New Zealand based programmer, has alerted me to a cross-site scripting (XSS) vulnerability in the comments portion of my blog - that seems to extend to the comments module in ALL django applications.

Django: Magic-Removal Upgrade

I've updated my websites to run on the latest Django code base, named 'magic removal'. The updated blog code is coming soon, as it has to be altered in many ways to make it work on the new code. This should be the last major base change to Django before their 1.0 release.

Building A Blog with Django #3

The third portion of my series on building a weblog application with Django: learn how to add the global Django comments module to your application, and list all posts for a given tag.

Building a Blog with Django #2

The second part of my 'Building A Blog with Django' series, showing how to actually make your database visible to the world - you'll be putting your weblog online for all to see. See part 1 for information on creating the database.

Building a Blog with Django

The first in a multi-part series on building a weblog using Django. This first article covers getting started, creating your database, and using the automated Django Administration screens to enter data. Stay tuned for more articles including putting your blog online, adding user comments, and more.

Django: My First Impressions

I've always been a PHP coder - everything web-based that I wrote was in PHP. Until last week. I've discovered Django, and I'm wishing I found it earlier. And why haven't I been using Python until now? Read on for my first impressions of the Django web framework.

Getting Started With Django

I've got a new weblog online built using Django, a Python web application framework.