Skip to content

Instantly share code, notes, and snippets.

View jonykalavera's full-sized avatar

Luis Fernando Villanueva Pérez jonykalavera

View GitHub Profile
@jonykalavera
jonykalavera / tags.py
Last active December 18, 2015 23:49 — forked from bohde/tags.py
from taggit.utils import parse_tags # with this you can accept tags as a string to be parsed :)
from tastypie.fields import ListField
class TaggedResource(ModelResource):
tags = ListField()
class Meta:
queryset = Model.objects.all()
def build_filters(self, filters=None):