All Projects → contentful → contentful_django_tutorial

contentful / contentful_django_tutorial

Licence: other
A Simple Django Application using Contentful

Programming Languages

CSS
56736 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language

Django Blog Demo

Simple Django and Contentful Application. This application is for Demo purposes.

Contentful provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.

Setup

  • Install dependencies
pip install -r requirements.txt
  • Run Server
python manage.py runserver

Viewing Data

The project comes pre-loaded with a Read-Only Demo space. You can view the content here

Using Custom Data

You can create your own Custom Data by following these steps:

Ruby 1.9+ and Bundler are required for this step if you want to do it automatically.

  • Install Contentful Bootstrap:
bundle install
  • Create your space:
bundle exec contentful_bootstrap create_space django_demo -j bootstrap/template.json

After following the steps, the tool will provide you with a Space ID and Access Token. Then run the following commands replacing the values where they correspond:

export CTF_SPACE_ID=YOUR_SPACE_ID
export CTF_DELIVERY_KEY=YOUR_ACCESS_TOKEN

Then you can restart your application and use your own content.

To edit content, you can go to https://app.contentful.com and start editing.

Tutorial

For a Tutorial on how to create your own Django Application using Contentful, you can read here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].