jefftriplett / django-tumblr forked from bjornkri/django-tumblr

Tumblr for Django

This URL has Read+Write access

name age message
file .gitignore Thu Jan 08 23:53:56 -0800 2009 .gitignore checked in [Björn Kristinsson]
file README.markdown Mon Dec 28 17:22:59 -0800 2009 moved from REST to Markdown which fits my brain... [jefftriplett]
directory djumblr/ Tue Dec 29 00:31:51 -0800 2009 initial templatetag for rendering the tumble vi... [jefftriplett]
directory templates/ Tue Dec 29 00:20:01 -0800 2009 initial frontend for adding content [jefftriplett]
README.markdown

djumblr: Tumblr for Django

Instructions

Download djumblr and put it on your pythonpath. Include it in your INSTALLED_APPS, and syncdb. You now have models for tumblr content!

To sync, you first need to define the user(s) that have tumblr accounts. This is done with the TUMBLR_USERS settings in settings.py.

An example (from djumblr.scripts.populate_all()): John has the username john on his django website, but ignorantcarrot on tumblr. His TUMBLR_USERS would be:

TUMBLR_USERS = { 'john': 
    { 'tumblr_user': 'ignorantcarrot', }
}

If he wants to use the django site both for posting and syncing, he would have to update the TUMBLR_USERS variable with the email address and password he uses to log in to tumblr.com:

TUMBLR_USERS = { 'john': 
    {
        'tumblr_user': 'ignorantcarrot',
        'email': 'john.carrot@fullbladder.net',
        'password': 'secret',
    }
}

Alternatively, run populate_models(tumblr_user, user) from the scripts module, where tumblr_user is a string containing the username of the tumblr user, and user is a User object.