Announcing django-relationships

Source article: Announcing django-relationships I recently posted on writing an app that allows you to describe relationships between Django’s built-in auth.users. As far as I know the state-of-the-art for this is django-friends and django-simple-friends. django-friends does some things that are missing in my implementation, specifically the support for invitations, but I believe my app improves […]

Easy create or update

Source article: Easy create or update One common database operation that isn’t supported out of the box by Django’s ORM is create_or_update – in other words, given a set of parameters, either update an existing object or create a new one if there isn’t one already. The naive implementation is to do a get() on […]

Easy create or update

Source article: Easy create or update One common database operation that isn’t supported out of the box by Django’s ORM is create_or_update – in other words, given a set of parameters, either update an existing object or create a new one if there isn’t one already. The naive implementation is to do a get() on […]