Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple prebuilt applications.
Python
branch: master

This branch is 24 commits ahead, 170 commits behind nathanborror:master

Merge pull request #1 from danirus/patch-1

Use get_thumbnail from current sorl-thumbnail, or fallback in previous.
latest commit 6ef3604d2b
@montylounge authored
Failed to load latest commit information.
basic
.gitignore added initial .gitignore
AUTHORS Adding authors and license files.
LICENSE Accidently had the wrong name in the license file, oops!
README.rst added acdha commits for migrating legacy blog system and post_detail …
setup.py adds rudimentary setup.py and moves apps inside basic namespace

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

Something went wrong with that request. Please try again.