Flask Logo

Flask CMS

ButterCMS is an API-based CMS that integrates with Flask in minutes. Use ButterCMS with Django to build CMS-powered apps quickly. Butter is great for blogs, dynamic pages, and more.

Easily add to your Flask app

Add the ButterCMS Python client to your Flask app:

pip install buttercms-python

Then test out some API calls in your application code:

from butter_cms import ButterCMS

client = ButterCMS('api_token_b22ab734')

// Get page content
butter.content.retrieve(["home"]).then(function(resp) {
  console.log({content: resp.data.data})
});

// Get posts
butter.post.list().then(function(response) {
  console.log({posts: resp.data.data})
})

Check out our example code for building a Flask blog with Butter.

A simple API for content

{
  "data": {
    "homepage_title": "Flask",
    "homepage_headline": "API-first CMS for Flask"
  }
}

About Flask

Flask is a lightweight Python web framework based on Werkzeug and Jinja 2. Applications that use the Flask framework include Pinterest and LinkedIn.

Headless CMS for these technologies and more

Ruby, Rails, Node.js, Python, ASP.NET, Flask, Django, Go, PHP, Laravel, Angular, React, Elixir, Phoenix, Meteor, Vue.js, Javascript, Heroku

Get started now

Sign up with Google Sign up with Github
or