Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Recipe blog posts for Mezzanine CMS

Project description

This plugin gives you a “Recipe” blog post type for your Mezzanine sites.


  • Embed an image of the meal
  • Provide an ingredient list
  • Let your visitors add a comment and rating to recipes
  • The usual stuff - ingredients, times, categories
  • REST-API for external applications


  • Run pip install mezzanine-recipes (or, if you want to hack on mezzanine-recipes, clone it and run pip install -e path/to/repo)

  • Create a Mezzanine CMS project

  • Add "mezzanine_recipes" followed by "tastypie" on top of your INSTALLED_APPS

  • Migrate your database with python migrate mezzanine_recipes

  • Install fixtures with python loaddata mezzanine_required.json

  • To enable Recipe-Blog and REST API put following code to your

    from mezzanine.conf import settings
    from tastypie.api import Api
    from mezzanine_recipes.api import *
    v1_api = Api(api_name='v1')
    urlpatterns = patterns("",
        ("^api/", include(v1_api.urls)),
        ("^%s/" % settings.BLOG_SLUG, include("mezzanine_recipes.urls")),
  • Look at if you need a much more detailed installation instruction


mezzanine-recipe provides the blog post type “Recipe”. The Recipe blog post type represents a single recipe.

Create a Recipe blog post in the Mezzanine admin (naming it something like “Recipe”).

Creating Templates

The template for the Recipe List can be found at templates/recipe/recipe_list.html and for a Recipe Blog Post at templates/recipe/recipe_detail.html.

The Recipe object is available at mezzanine_recipes.models.recipe. It has the following properties:

  • Periods and times: WorkingHours, CookingTime, RestPeriod
  • Cooking info: ingredients, portions, difficulty, categories
  • Text data: title, summary, content, comments, ratings

To Do

  • Implement some tests
  • Add single cooking steps to Recipe

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mezzanine-recipes, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size mezzanine-recipes-1.0.0.tar.gz (25.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page