The latest stable-ish build:
pip install django-flickr
Development version:
pip install hg+https://bitbucket.org/zalew/django-flickr
hg clone https://bitbucket.org/zalew/django-flickr
cd django-flickr
./setup.py install
Add ‘flickr’ to your INSTALLED_APPS and syncdb
Go to ‘Your apps’ on Flickr and generate an API key for your app. Put those data in your settings.py:
FLICKR_KEY = 'xxxxxxxxxxxx'
FLICKR_SECRET = 'xxxxxxx'
FLICKR_PERMS = 'read'
and add flickr.urls to your urls.py
Run your django app, sign in. Go to /flickr/auth/ and click on the link. Authorize your app on flickr. If your app is public, you’ll be redirected to complete the auth process, if not (f.ex. you set up some bogus link), just copy the GET frob variables to your /flickr/auth url. Currently it uses FlickrAuth (set to be deprecated some day probably), not Oauth. (Oauth support is implemented, but untested well. You can try it.)
http://blog.flickr.net/en/2012/01/13/start-the-new-year-fresh/
The Flickr API fully supports oAuth, which is already used by hundreds of Flickr apps, but there are still some apps that use the old authentication system, called FlickrAuth. We are asking all developers to move over to the new standard bu July 31. There is a related blog post on this topic on our engineering blog code.flickr.com.