A reusable app for quotes and testimonials.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
example
quoteme
.gitignore
AUTHORS
LICENSE
MANIFEST.in
setup.py

README.textile

Introduction

A reusable Django application for managing quotes and testimonials.

I"ve created this both for my old blog howiworkdaily.com and for my company site montylounge.com so why not make it reusable?

It was also made reusable as a reference reusable app for a forthcoming PyMag article.

Notes

Out of the box the application provides a list and detail view for Quote objects and a list view for Testimonial objects, as well as a template tag for for generating random display of Quote or Testinmonial objects.

The application also provides an example project to quickly demo its features.

Project Dependencies

The reusable app only depends on django-tagging.

The example application depends on:

  • Django-FlatBlocks
  • Django-Tagging

Quickstart
The below are the instructions for demo-ing the project.

  1. mkvirtualenv quoteme
  2. easy_install pip
  3. cd quoteme
  4. git clone git://github.com/montylounge/django-quoteme.git
  5. cd into django-quoteme/example
  6. pip install -r requirements
  7. ./manage.py syncdb
  8. ./manage.py runserver
  9. open browser → http://127.0.0.1:8000

Integrate into your app

  1. Add the quoteme directory on your PYTHON
  2. Add quoteme to the INSTALLED_APPS setting of your Django project.
  3. Add this line to your site’s root URLConf
(r'^quotes/', include('quoteme.urls')),
  1. execute syncdb to add initial_data