Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nathanborror/django-basic-apps

Simple prebuilt applications.
https://github.com/nathanborror/django-basic-apps

Last synced: about 2 months ago
JSON representation

Simple prebuilt applications.

Awesome Lists containing this project

README

        

=================
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.`` to your project's ``settings.py`` file. (replace with the apps you wish to use, naturally).

Below are a list of per app dependancies:

Dependencies
============

* Basic Inlines are required to use the Blog app
* Django Comments (http://www.djangoproject.com/documentation/add_ons/#comments) are required for the blog app
* Django Tagging (http://code.google.com/p/django-tagging)
* Markdown (http://www.djangoproject.com/documentation/add_ons/#markup)
* BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) is required to use the blog and, subsequently, the inlines app.
* Dateutil (http://labix.org/python-dateutil)
* Django Registration for the invitations app

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:

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