Simple prebuilt applications.
Switch branches/tags
Nothing to show
Clone or download
nathanborror [relationships] Updating models to use AUTH_USER_MODEL instead of acc…
…essing the User model directly. Updating tests and removing the need for a fixture.
Latest commit 3a90090 Apr 5, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
basic [relationships] Updating models to use AUTH_USER_MODEL instead of acc… Apr 5, 2014
.gitignore added initial .gitignore Jun 22, 2009
AUTHORS Adding authors and license files. Mar 24, 2009
LICENSE Updating BSD license Jul 13, 2013
README.rst fixed typo in README.rst Jul 14, 2010
setup.py Updating setup.py Dec 12, 2009

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:

Dependencies

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 }}