How would you share a theme between a Django app and a WordPress blog?

Trying to keep a consistent look & feel between a django site and a wordpress blog is turning into somewhat of a pain and I’m wondering if there’s a way to set it up so that stuff only needs to be changed in one place.

Most of the appearance stuff that changes is in the header and footer which for WordPress is in header.php and footer.php, and for Django it’s in a base template.

Read More

I’d prefer to be able to have the Django template be the master thing that’s edited, but either one would be preferable to having to keep both updated manually.

Related posts

Leave a Reply

2 comments

  1. This recent post to the wp-hackers mailing list mentioned the JSON API plugin that was written to do something similar to what you want to do, however with Rails.

    In short, the WordPress installation becomes a data backend that is accessed by JSON from your Django-based frontend. Comments are passed back through your frontend and saved in WordPress.