hayley / django-basic-apps forked from nathanborror/django-basic-apps

fork of nathan borror's django-basic-apps

This URL has Read+Write access

name age message
file AUTHORS Tue Mar 24 15:54:50 -0700 2009 Adding authors and license files. [nathanborror]
file LICENSE Loading commit data...
file README.rst Fri Mar 13 20:49:09 -0700 2009 Hopefully a better README file than before. [nathanborror]
file __init__.py Sat Sep 26 22:25:37 -0700 2009 Cleaning up whitespace, removing MetaProxy, and... [nathanborror]
directory blog/
directory bookmarks/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory books/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory events/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory inlines/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory media/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory movies/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory music/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory people/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory places/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory profiles/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
directory relationships/ Wed Apr 22 20:55:42 -0700 2009 adds rudimentary setup.py and moves apps inside... [lincolnloop]
README.rst

Django Basic Apps

Simple apps for Django projects.

To install any of the apps listed simply create a folder on your PYTHONPATH named 'basic' and place the apps you wish to use in that folder. Then added basic.<app_name> to your project's settings.py file. (replace <app_name> with the apps you wish to use, naturally).

Below are a list of per app dependancies:

Dependancies

Inlines

Inlines is a template filter that can be used in conjunction with inline markup to insert content objects into other pieces of content. An example would be inserting a photo into a blog post body.

An example of the markup is:
<inline type="media.photo" id="1" />

The type attribute is app_name.model_name and the id is the object id. Pretty simple.

In your template you would say:

{% load inlines %}

{{ post.body|render_inlines }}