Not Logged In

django-generic-m2m 0.3.0

relate anything to anything. the image below is a screenshot of the example app
and shows a blog post that has been “related” to 2 “Place” models and a “City” model:

check the documentation for
more examples and an in-depth description of the app (or keep reading for
the 30 second version).

what it does

the purpose of this project is to allow you to create database-level
relationships between various objects using a consistent api.

example app

bundled with the source code is an example app which shows how generic-m2m
can be used to create “tags” between models. it uses nathanborror’s basic apps
with django-completion (shameless plug)
to allow users to “autocomplete” various relationships between models, so if I’m
a user and want to create a new blog post I can tag it with
relationships to objects representing a city, a place, a funny photo of a cat, etc.