> ## Documentation Index
> Fetch the complete documentation index at: https://buttercms.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Django starter project

> Get up and running with Django and ButterCMS in under two minutes, with a starter that showcases Pages, Collections, and a Blog engine.

> [!NOTE]
>
> **One-Click Deploy**: Skip local setup and [deploy to Vercel instantly](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FButterCMS%2Fdjango-starter-buttercms\&env=BUTTER_CMS_API_KEY\&envDescription=Your%20ButterCMS%20API%20Token\&envLink=https%3A%2F%2Fbuttercms.com%2Fsettings%2F).

## Quick start

Install dependencies and run setup commands.

```bash theme={null}
$ git clone https://github.com/ButterCMS/django-starter-buttercms.git
$ cd django-starter-buttercms
$ python3 -m venv butterenv && source butterenv/bin/activate
$ pip install --upgrade pip && pip install -r requirements.txt
```

Add your API token as an environment variable and run development server

```bash theme={null}
$ echo 'BUTTERCMS_API_TOKEN=your_token' >> .env
$ python manage.py runserver
```

**Local Development**: [http://localhost:8000/](http://localhost:8000/)

**GitHub Repository**: [https://github.com/ButterCMS/django-starter-buttercms](https://github.com/ButterCMS/django-starter-buttercms)

## What's included

| Feature | Description |
| - | - |
| **Pages & Page Types** | Pre-built page templates with drag-and-drop schema definition |
| **Components** | Modular content blocks for dynamic landing pages |
| **Collections** | Structured data for navigation, testimonials, FAQs |
| **Blog Engine** | Full blog with posts, categories, tags, and search |
| **Media CDN** | Automatic image optimization via Filestack |

## Deploy options

> [card] [Deploy to Heroku](https://heroku.com/deploy?template=https://github.com/ButterCMS/django-starter-buttercms)
>
> Deploy to Heroku with environment configuration

## Resources

> [card] [GitHub Repository](https://github.com/ButterCMS/django-starter-buttercms)
>
> View source code and contribute

> [card] [Django Guide](https://buttercms.com/docs/frameworks/non-javascript-frameworks/django.md)
>
> Framework integration guide

## Additional reading

* [Building an Online Learning Platform with ButterCMS and Django](https://buttercms.com/blog/build-an-online-learning-platform-with-django/)
* [The Great Continuum: Getting Starter with the ButterCMS Django Starter Kit](https://buttercms.com/blog/the-great-continuum-buttercms-django-starter/)
* [How Wedding Together Added a Blog to their Django App in 5 Minutes](https://buttercms.com/blog/options-for-adding-a-blog-to-python-application/)

## Next steps

> [card] [Core Concepts](https://buttercms.com/docs/core-concepts/content-types/pages.md)
>
> Learn about Pages, Collections, and Components

> [card] [API Reference](../../api)
>
> Explore the full ButterCMS API


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.