/django-basic-apps

Simple prebuilt applications.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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:

Revisions

All Apps

  • Django Tagging has been replaced in favor of the more actively maintained django-taggit

Basic.Blog

  • Added a visit counter for each post.
  • Added django-markup for markup language support.
  • Updated feeds for Django 1.2+
  • Added a blog settings file
  • Added support for Django WMD
  • Added a Wordpress import script (./manage.py wordpress_import)
  • Tag cloud!
  • Massive template clean-up.
  • Added an auto-excerpt feature.
  • Disqus support.

Basic.Media

  • Added a property to access exif data.
  • Added an original creation date to all photos, based on exif.

Basic.Search

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