Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 182327051c
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (14 sloc) 0.564 kb

Usage

Using marturion is fairly straight forward. You consume quotes through the use of two different template tags. One that returns a queryset of all testimonials and one that returns a randomized queryset:

{% load marturion_tags %}

{% random_testimonials <number> as quotes %}

or:

{% load marturion_tags %}

{% testimonials <number> as quotes %}

If you just want a single random testimonial you can use:

{% random_testimonial as quote %}

To input quotes, you simply add them through the Django admin.

Jump to Line
Something went wrong with that request. Please try again.