Re: What do you use to build facebook applications with django?

2011-03-16 Thread OrazioPirataDelloSpazio (Lorenzo)
Hello,
I was in your same situation some weeks ago.
I checked almost all the django-facebook integration projects and each
one of the uses old and not-documented api (facebook recently changed
apis, and deprecated other stuff such as fbml in favor of the modern
graph api).

At the end I gave up.
Now I am using only javascript with fb official graph api the works well.


Lorenzo


Il 16/03/11 15:46, mongoose ha scritto:
> Hi,
> 
> I've been struggling so much trying to get a Facebook app to work on
> the Django framework. Mostly battling with pyFacebook. For some
> particular reason the login just doesn't work for me. I've posted some
> help questions and still come up with nothing. Perhaps the pyFacebook
> is outdated?
> 
> But my question is What do you use to build facebook applications with
> django? Why am I having such a hard time when I believe this is
> supposed to be reasonably easy to accomplish.
> 




signature.asc
Description: OpenPGP digital signature


Dynamic nested forms

2011-01-15 Thread OrazioPirataDelloSpazio (Lorenzo)
Hello,
I had to make a page with some dynamically added nested formset (all in
a page), for example:

Blog title:
Blog info:
--Entry title:
--Entry text:
Tags:
Add new Tag
-- Add New Entry
...
Add new Blog

Which is the cleanest way to do it with django?
I did it using 3 formset (blog, entry and tags), but code looks like a
mess.
Is there some easier way, as there is for Rails [1], for this quite
common task?

Lorenzo

[1]http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes



signature.asc
Description: OpenPGP digital signature