Skip to content

montylounge/django-quoteme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A reusable app for quotes and testimonials.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages