joshourisman / django-tablib

django-tablib is a helper library for Django that allows Django models to be used to generate tablib datasets with introspection of the fields on the models if no headers are provided. If headers are provided they can reference any attribute, fields, properties, or methods on the model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tablib.ext namepace

kennethreitz opened this issue · comments

This isn't an issue, but a discussion. If there's a better place to do this, let me know.

I'm hoping to add the tablib.ext (or tablibext) namespace to Tablib soon, where new modules (tablib-modname) can install themselves and extend the functionality of Tablib.

Since you are the only extension at this time, I'd like to get your feedback on a few things.

  1. Would you move your module to the new namespace?

    Here's what I had in mind;

    from tablibext.django import ModelDataset
    from tablibext.django.admin import TablibAdmin
    
  2. Are there any features that you think would be useful?

    I plan on adding a way for extensions to add new available formats to Dataset, as well as new methods. Are there other features/abilities that you would find useful?

I really appreciate the feedback.

This sounds like a pretty good plan to me. Makes a lot of sense for django-tablib to be an extension of tablib rather than a separate project depending (pretty much entirely) on it.

I can't think of any other new features off the top of my head, but I'll put some thought into it.