Skip to content
bjornkri edited this page Sep 13, 2010 · 2 revisions

Djumblr Quickstart

What you need.

Place Djumblr on your pythonpath and include it in your INSTALLED_APPS in settings.py. Also add your tumblr user information to the settings file. As an example, a user called John with a tumblr username of ignorantcarrot will have the following set up:

TUMBLR_USERS = { ‘john’: { ‘tumblr_user’: ‘ignorantcarrot’, } }

You can add as many users as you like in this way.

Now you can run ./manage.py syncdb to set up the database, and then the scripts.py without any arguments with PYTHONPATH and DJANGO_SETTINGS_MODULE set appropriately. Voilà, your tumblr content has been synced.

To do things the other way ’round, i.e. entering content into the admin interface and getting it to sync with tumblr is still very experimental. Use at your own risk.

This will require more information in the TUMBLR_USERS setting: an email and a password:

TUMBLR_USERS = { ‘john’: { ‘tumblr_user’: ‘ignorantcarrot’, ‘email’: ‘[email protected]’, ‘password’: ‘secret’, } }
Clone this wiki locally