Django Facebook
django-facebook.readthedocs.org
django-facebook.readthedocs.org
Having said that, I contacted the maintainer of Django-Facebook on Github, and he not only tried to help me at the time, he was kind enough to let me know that a new version came out which should fix the issues I was having. I'll definitely be giving Django-Facebook a try on my next project.
* settings_env/convention.py
* settings_env/project.py
* settings_env/logging.py
* settings_env/local.py
* settings_env/dev.py
* settings_env/staging.py
* settings_env/production.py
Then my settings.py is just: from settings_env.convention import *
from settings_env.project import *
from settings_env.logging import *
env = os.environ.get('DJANGO_ENV')
if env == "production" : from settings_env.production import *
elif env == "staging" : from settings_env.staging import *
elif env == "dev" : from settings_env.dev import *
else : from settings_env.local import *
There are still a lot of settings, but, at least, they're organized logically. And my convention.py doesn't change from project to project, so I can pretty much ignore that. project.py just contains overrides to the conventions.i've considered implementing something that works similarly to the sites contrib app for this, but it always seems that for it to be useful it needs to hook into django internals more than apps "are supposed to".
You are doing settings.py wrong. You should have your own SiteConfig model stored and manipulated in a db.
Settings.py is for static, persistent attributes, not for site-wide variables which need auditing or updated from time to time.
Definitely consider dajngo-facebook if you need a quick and stable way to do Facebook integration.
[1] - https://github.com/tschellenbach/Django-facebook/issues/116
I guess the reason that its bubbling up to the front page is to let people know it exists? I guess I'll lay down my recommendation, then. Its good stuff.
Django Facebook enables your users to easily register using the Facebook API. It converts the Facebook user data and creates regular User and Profile objects. This makes it easy to integrate with your existing Django application. After registration it gives you access to user's graph. Allowing for applications such as:
Open graph/ Timeline functionality Seamless personalization Inviting friends Finding friends Posting to a users profile I've built it for my startup Fashiolista.com and it's currently used in production there with thousands of signups per day. For a demo of the signup flow have a look at Fashiolista's landing page (fashiolista.com)
Before you get started building your application, know that contributions are very welcome. Seriously, if you see a bug or think of an improvement just open a pull request or issue. Feel free to contact me if you have questions.
Updates and tutorials can be found on my blog mellowmorning
Further demos and tutorials will soon be available on django-facebook.com