About Archive Tag Cloud Translations RSS

You are writing a comment about Using PyFacebook without the Facebook middleware, here is a quick summary:

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.


You are responding to this comment written by Eric Moritz on October 15th 2008, 16:37.

Couldn't you have used the

django.utils.decorators.decorator_from_middleware

function to apply the middleware to only the views you need it on?

Eric.


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")