Up to tag cloud
Subscribe to an RSS feed for this tag

Entries tagged with django

  1. Title: Migrating the 'This Week in Django' Concept
    Tags: django

    This Week in Django had a fantastic site design, and pausing to examine the new layout I wondered: why hasn't the TWID concept spread to other projects?

  2. Title: Dynamic Ad Targeting With django-monetize
    Tags: django django_monetize

    For the past few days I have been working out this project in my head, and I finally sat down this morning to finish the implementation. django_monetize is a pluggable Django application for easily using a diverse array of monetization techniques in your Django project, and also for targeting different ads/monetization options based on the viewer and page content.

  3. Title: An Introduction to Using CouchDB with Django
    Tags: CouchDB django
    Series: Loose Coupling in Django

    This is the final installment of my series of articles looking at how Django's loose coupling philosophy impacts day to day development. Here we'll be looking at using CouchDB with Django to create a simple web application.

  4. Title: A Syntax Coloring Template Filter for Django
    Tags: django python

    I spent a bit of time this evening writing a template filter for Django that accepts a string of code (and optionally the name of the Pygments lexer to use for highlighting) and returns the code nicely syntax colored. A simple but slightly helpful addition to your templating arsenal.

  5. Title: Replacing Django's ORM with SQLAlchemy
    Tags: django
    Series: Loose Coupling in Django

    The second example in the Loose Coupling in Django series. This one looks at a place where Django's loose coupling is at its tightest: the Django ORM.

  6. Title: Replacing Django's Template Language With Jinja2
    Tags: Jinja django
    Series: Loose Coupling in Django

    The first example in the Loosely Coupled Django series, this entry looks at replacing Django's template language with the freshly released Jinja2 template language.

  7. Title: An Introduction to Django's Loose Coupling
    Tags: django
    Series: Loose Coupling in Django

    One of the most valuable parts of Django is its loose coupling philosophy . This means you can plug in your own pieces into the Django stack without fighting against the defaults. However, it can be a bit difficult to understand how to take advantage of the loose coupling philosophy when you are just getting started, and this series will attempt to erase that confusion.

  8. Title: Polishing Up Our Django & BOSS Search Service
    Tags: BOSS django
    Series: Django & Yahoo BOSS Mashup

    This is a continuation to the first entry on using Django and Yahoo's BOSS Mashup Framework, and takes our search service from something very small and ugly to something that is fairly usable.

  9. Title: Yahoo's Build your Own Search Service in Django
    Tags: BOSS django
    Series: Django & Yahoo BOSS Mashup

    This is a fairly simple look at how to use Yahoo's BOSS Mashup Framework with Django. In the tutorial we create a simple news search.

  10. Title: JSON, Object Oriented Views, and Starting a Real App
    Tags: django python
    Series: Wielding Django

    The third installment of Ken Arnold's series, *Wielding Django*. After examining some Django basics for the first two entries, Ken starts looking at more advanced techniques in this entry, some of which can really transform how you'll look at Django views in the future. He also lays the foundation for the application he'll be using to demonstrate more Django techniques and practices as his series continues.

  11. Title: Ambush Code Review Learns Code Diffs
    Tags: Google App Engine django

    I spent two or three hours working on Ambush Code Review today to implement some ideas I had last night. The basic problem was that it didn't make it easy to post improvements to code, but I think that it has reached a much more usable place. Actually, I think its become useful. Fancy that.

  12. Title: Overview of Using Django on the Google App Engine
    Tags: Google App Engine django

    A look at the advantages and disadvantages of using Django with the Google App Engine. Touches on the GAE platform itself, as well as looking at areas where ported Django projects will have to be adapted to the App Engine's unique environment.

  13. Title: A Sunday Project: Ambush Code Review
    Tags: Google App Engine django

    This past Sunday I decided to delve into the mysterious world of Google App Engine development and had a pretty good experience with it. This is a quick look at what I built, and a promise to discuss the development process in the near future.

  14. Title: Up to Speed
    Tags: django
    Series: Wielding Django

    This is part two in Ken's series, where he quickly gets us started with a simple Django project with some Ajax, and establishes the foundation that the rest of the series will build upon.

  15. Title: A Django Anti-Pattern, Rolling Your Own REST
    Tags: REST anti-pattern django

    Almost every web project ends up with a little slice of REST to call its own. One of the great conveniences of working with Django is that it makes rolling these slices of REST very simple. Simple enough that we as a community are still haven't come up with a compelling unified REST solution. Hopefully we can refocus on this problem a bit with the new 1.0 roadmap, and have something really useful ready to go when Django 1.0 hits the newsstands.

  16. Title: Minimalism
    Tags: django python
    Series: Wielding Django

    The first part of a series written by <a href="/author/ken-arnold">Kenneth Arnold</a>. The series, Wielding Django, looks at stripping the complexity away from Django so that it is easy--perhaps even PHP-like--to use it for small projects.

  17. Title: Working on LifeFlow's Public Face
    Tags: django lifeflow
    Series: LifeFlow Development

    The current version of LifeFlow under progress, 0.91, is focused on improving the public faces of LifeFlow. This means improving the quality of the code so that other developers have an easier time getting involved, but it also means improving the usability and appearance of the publicly viewed templates as well.

  18. Title: Release of LifeFlow Version 0.90
    Tags: django lifeflow lifeflow-editor
    Series: LifeFlow Development

    The first version of LifeFlow that actually has a number. I think it certainly deserves a number, and hopefully you will too after looking at some of the new improvements here.

  19. Title: Using Optional Parameters in Django Urls
    Tags: django python

    A simple but helpful trick for using optional parameters in Django views to allow one view to serve multiple urls with varying parameters.

  20. Title: Technical Aspects of the Life Flow Editor
    Tags: django lifeflow lifeflow-editor

    A discussion about some of the technical aspects involved in the implementation of the LifeFlow Editor. Some Django snippets included.

  21. Title: Installing a Development Deployment of LifeFlow, a Django Blog Solution
    Tags: blog django install lifeflow
    Series: Learning LifeFlow

    Comprehensive instructions on installing and setting up a local deployment of LifeFlow (for those who are moderately in the Django know). This should be all you need to get started using LifeFlow, but I will have another entry soon detailing the little tricks and tips that make LifeFlow helpful.

  22. Title: Implementing Threaded Comments in LifeFlow
    Tags: django lifeflow

    A brief discussion on implementing comments in LifeFlow.

  23. Title: Two-Faced Django Part 7: PyFacebook and FBJS Ajax
    Tags: Facebook PyFacebook django
    Series: Two-Faced Django

    The seventh (and final!) entry in the Two-Faced Django series. We look at implementing Ajax functionality in the Facebook app we have been developing with PyFacebook.

  24. Title: Two-Faced Django: Live install
    Tags: PyFacebook django dreamhost
    Series: Two-Faced Django

    The example application built in this series is now alive and <a href="http://krit.willarson.com/">accessible</a>. Although, its extraordinarily bland. I will acknowledge that. The Facebook portion is also alive <a href="http://apps.facebook.com/twofaced/">here</a>.

  25. Title: Two-Faced-Django Part 6: PyFacebook
    Tags: Facebook PyFacebook django
    Series: Two-Faced Django

    The sixth section of the Two-Faced Django tutorial where we begin implementing the FaceBook portion of our project.

  26. Title: Two-Faced Django Part 5: JQuery Ajax
    Tags: JQuery django
    Series: Two-Faced Django

    Moving along in the Two-Faced-Django series, we look at using JQuery for Ajax in the webapp portion of our program.

  27. Title: Two-Faced Django Part 4: The Webapp
    Tags: django
    Series: Two-Faced Django

    Segment four of the Two-Faced Django series. Implementing our web application (except for the Ajax).

  28. Title: Two-Faced Django Part 3: Newforms
    Tags: django newforms
    Series: Two-Faced Django

    Part three of the Two-faced Django series looks at using newforms for validation.

  29. Title: Two-Faced Django Part 2: Models and Django Testing
    Tags: django testing
    Series: Two-Faced Django

    In the second part of this series we put together our models for this project, and also introduce the Django testing framework.

  30. Title: Two-Faced Django Part 1: Building a project that exists simultaniously on Facebook and the web
    Tags: PyFacebook django
    Series: Two-Faced Django

    The first article of an eight article series on using Django to create apps that exist simultaneously as independent web applications and as Facebook applications. This segment covers putting together our development setup.

  31. Title: Using JQuery with Django for Autocomplete Fields
    Tags: JQuery django

    A rather rough and tumble walkthrough for using Django and JQuery to make autocomplete input fields.

  32. Title: Using PyFacebook without the Facebook middleware
    Tags: Facebook PyFacebook django python

    I've been working on a Facebook application with a couple of friends recently. We decided to use <a href="http://www.djangoproject.com>Django</a> and the <a href="http://code.google.com/p/pyfacebook/">PyFacebook</a> library, but there was a brief period of intense confusion on my part about how to use the PyFacebook library without the included middleware. I worked through it, though, and this article has some advice on how you can do the same.

  33. Title: Dreamier Dream Server with Nginx
    Tags: apache django memcache nginx postgresql slicehost ubuntu
    Series: Django Server Setup

    Upon posting my first dream server setup, it became apparent that it was less dreamy than I had thought. This article is a reworking of the earlier post, but using nginx as a frontend to an Apache2 backend. Rather than... Apache2 as a frontend to Lighttpd. It has also been pared down a bit, removing the security topics (it didn't cover them well anyway). And its more concise, as in its very much unlike this description.

  34. Title: Adding Social Bookmarking To a Django App
    Tags: django python
    Series: Django Blog Series

    Adding support for submitting your Django content to social bookmarking and news sites is a nice addition to any website. Here are my instructions for doing so, based on my experience of adding social support to this blog.

  35. Title: Syntax Highlighting with MarkDown, and a pinch of Automagick for Django
    Tags: django python
    Series: Django Blog Series

    It can be a bit awkward to implement MarkDown and Code Syntax highlighting together in your Django applications. But making them play nicely together doesn't have to be a hassle. Beyond that, its about time to teach your Django blog to automagickly create MarkDown references for you. If only it would stop begging at the dinner table...

  36. Title: Extracting Models From Django Datadump
    Tags: django python

    Last week I made a sweep of breaking changes (hopefully the last one for a long time) in my blogging software, and it would have required heroic efforts to coerce my old data into my new models. Instead I wrote a quick script that goes through dumped data and builds a folder hierarchy with each model in its own file. This makes changes easy enough to transfer your data by hand, but also makes it easier to write more detailed conversion scripts that only have to deal with one model at a time.

  37. Title: Creating my Dream Server for Django
    Tags: django lighttpd memcache postgresql slicehost ubuntu
    Series: Django Server Setup

    Recently I redid my server to have a solid Django serving atmosphere: apache2, Python 2.5, memcached, lighttpd for serving static media. These are the cleaned up and formatted notes I used to guide myself through the installation process on my 256 meg SliceHost slice.

  38. Title: How to Migrate Data Across Model Changes
    Tags: django python

    If you've built a large program in Django (or, ya know, anything that uses a database), you know about migrating data. Specifically, you know that you hate migrating data, and that you'd rather use a badly thought out model and waste hours with a bad design decision than simply fixing the tables and the existing data. Well, say goodbye to your data migration angst, 'cause baby, its going away.

  39. Title: Writing Custom Contexts for Django
    Tags: django python

    Writing custom contexts for Django is a powerful way to extend generic templates, or to simply avoid writing repetitive code when you need the same content to be available to a number of templates. They are also fantastically simple to use