This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Mar 01 11:30:07 -0800 2009 | |
| |
AUTHORS | Sun Mar 01 11:30:07 -0800 2009 | |
| |
LICENSE | Sun Mar 01 11:48:53 -0800 2009 | |
| |
README.rst | Sun Mar 01 11:30:07 -0800 2009 | |
| |
quotes/ | Sun Mar 01 13:07:40 -0800 2009 |
README.rst
Django Quotes
Django Quotes is a simple way to place random quotes in a website. Currently the quotes are stored in the app.
Features
- Simple Quotes model
- Template tag for pulling Quotes into templates
Installation
- Add the quotes directory to your Python path.
- Add quotes to your INSTALLED_APPS.
- Run the command manage.py syncdb to install the models.
Usage
Once content is available in the quotes model, it can be accessed via the templates using the provided template tags:
{% load quote_tags %}
<div class="hello">
{% show_random_quote %}
</div>
The above will gather the quotes from the model and then randomly display them one at a time.







