I haven't yet posted here about my project nanodjango. If you haven't heard of it yet, it is a package which lets you write Django in a single file. I gave a lightning talk at Djangocon US and have written an introductory blog post over at Lincoln Loop, if you want to find out more from a user's perspective - but here I'm going to talk about how it works.
A couple of years ago I took over yet another project where the previous developers had heard "Flask is easier than Django", and I saw they had ...
Read full post
Tagulous is a tagging library for Django which is based on ManyToManyField
and ForeignKey
relationships. I've been developing and using it internally for several years, and have recently tidied it up for release; it supports Django 1.4 to 1.9a, on Python 2.7 to 3.5.
It started with a simple enough idea - rather than use generic relations like other tagging libraries, use a subclass of ManyToManyField
which supports assignment using tag strings, to allow things like this:
class Person(models.Model):
name = models.CharField(max_length=255)
skills = TagField()
person = Person.objects.create(name='Bob', skills='run ...
Read full post