I needed to use Tastypies resource serialization outside the api context, so this is how you do it. Got any suggestions? Fork it.