django-relationships

Descriptive relationships between auth.users
Download

django-relationships Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Charles Leifer
  • Publisher web site:
  • http://www.charlesleifer.com/blog/

django-relationships Tags


django-relationships Description

Descriptive relationships between auth.users django-relationships is a Django plugin for descriptive relationships between auth.users:In : john.relationships.friends()Out: In : john.relationships.following()Out: In : john.relationships.followers()Out: In : john.relationships.blockers()Out: In : paul.relationships.blocking()Out: You can create as many types of relationships as you like, or just use the default ones, 'following' and 'blocking'.From, To and SymmetricalRelationship types define each of the following cases: * from - 'following', who I am following * to - 'followers', who is following me * symmetrical - 'friends', we follow eachotherRelationship types can be login_required, or private, and if you want to make a relationship type unviewable (i.e. you may not want to allow users to see who is blocking them), simply give it a unmatchable slug, like '!blockers'.Admin InterfaceRelationships hook right into the pre-existing User admin, and appear below the 'Groups' inline.Installation:python setup.py installORput the relationships folder on your python-path Requirements: · Python · Django


django-relationships Related Software