Subscribe to an RSS feed for this tag
Entries tagged with django
-
Title: JSON, Object Oriented Views, and Starting a Real App
Tags: django python
Series: Wielding DjangoThe 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.
-
Title: Ambush Code Review Learns Code Diffs
Tags: Google App Engine djangoI 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.
-
Title: Overview of Using Django on the Google App Engine
Tags: Google App Engine djangoA 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.
-
Title: A Sunday Project: Ambush Code Review
Tags: Google App Engine djangoThis 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.
-
Title: Up to Speed
Tags: django
Series: Wielding DjangoThis 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.
-
Title: A Django Anti-Pattern, Rolling Your Own REST
Tags: REST anti-pattern djangoAlmost 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.
-
Title: Minimalism
Tags: django python
Series: Wielding DjangoThe 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.
-
Title: Working on LifeFlow's Public Face
Tags: django lifeflow
Series: LifeFlow DevelopmentThe 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.
-
Title: Release of LifeFlow Version 0.90
Tags: django lifeflow lifeflow-editor
Series: LifeFlow DevelopmentThe 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.
-
Title: Using Optional Parameters in Django Urls
Tags: django pythonA simple but helpful trick for using optional parameters in Django views to allow one view to serve multiple urls with varying parameters.
-
Title: Technical Aspects of the Life Flow Editor
Tags: django lifeflow lifeflow-editorA discussion about some of the technical aspects involved in the implementation of the LifeFlow Editor. Some Django snippets included.
-
Title: Installing a Development Deployment of LifeFlow, a Django Blog Solution
Tags: blog django install lifeflow
Series: Learning LifeFlowComprehensive 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.
-
Title: Implementing Threaded Comments in LifeFlow
Tags: django lifeflowA brief discussion on implementing comments in LifeFlow.
-
Title: Two-Faced Django Part 7: PyFacebook and FBJS Ajax
Tags: Facebook PyFacebook django
Series: Two-Faced DjangoThe 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.
-
Title: Two-Faced Django: Live install
Tags: PyFacebook django dreamhost
Series: Two-Faced DjangoThe 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>.
-
Title: Two-Faced-Django Part 6: PyFacebook
Tags: Facebook PyFacebook django
Series: Two-Faced DjangoThe sixth section of the Two-Faced Django tutorial where we begin implementing the FaceBook portion of our project.
-
Title: Two-Faced Django Part 5: JQuery Ajax
Tags: JQuery django
Series: Two-Faced DjangoMoving along in the Two-Faced-Django series, we look at using JQuery for Ajax in the webapp portion of our program.
-
Title: Two-Faced Django Part 4: The Webapp
Tags: django
Series: Two-Faced DjangoSegment four of the Two-Faced Django series. Implementing our web application (except for the Ajax).
-
Title: Two-Faced Django Part 3: Newforms
Tags: django newforms
Series: Two-Faced DjangoPart three of the Two-faced Django series looks at using newforms for validation.
-
Title: Two-Faced Django Part 2: Models and Django Testing
Tags: django testing
Series: Two-Faced DjangoIn the second part of this series we put together our models for this project, and also introduce the Django testing framework.
-
Title: Two-Faced Django Part 1: Building a project that exists simultaniously on Facebook and the web
Tags: PyFacebook django
Series: Two-Faced DjangoThe 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.
-
Title: Using JQuery with Django for Autocomplete Fields
Tags: JQuery djangoA rather rough and tumble walkthrough for using Django and JQuery to make autocomplete input fields.
-
Title: Using PyFacebook without the Facebook middleware
Tags: Facebook PyFacebook django pythonI'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.
-
Title: Dreamier Dream Server with Nginx
Tags: apache django memcache nginx postgresql slicehost ubuntu
Series: Django Server SetupUpon 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.
-
Title: Adding Social Bookmarking To a Django App
Tags: django python
Series: Django Blog SeriesAdding 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.
-
Title: Syntax Highlighting with MarkDown, and a pinch of Automagick for Django
Tags: django python
Series: Django Blog SeriesIt 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...
-
Title: Extracting Models From Django Datadump
Tags: django pythonLast 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.
-
Title: Creating my Dream Server for Django
Tags: django lighttpd memcache postgresql slicehost ubuntu
Series: Django Server SetupRecently 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.
-
Title: How to Migrate Data Across Model Changes
Tags: django pythonIf 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.
-
Title: Writing Custom Contexts for Django
Tags: django pythonWriting 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