I would be more than happy to have geodjango support in restframework.
Because about all my apps rely heavily on geodjango.
I'm just thinking that what would it mean?
By looks of that sample implementation it's rather naive and to me it
seemed to contain a bit of questionable coding practices.
11.1.2013 15:10, svartalf kirjoitti:
> I just thought that it will be more clear, if extension will be imported
> from the framework sub-package, instead of a different packages list.
> "Namespaces are one honking great idea", you know.
>
> Well, I'm still interested in the geo support, so I'll continue working
> on the code. Some kind of a code review is also will be awesome, thanks.
>
> On Friday, January 11, 2013 10:02:12 PM UTC+9, Tom Christie wrote:
>
> Hiya,
>
> I'm not sure I really understand the need for the extensions bit.
> From a quick look that just seemed to be a hack to be able to do
> `from rest_framework.ext import foobar`, instead of just using
> `import foobar`. I haven't seen the pattern used in any other
> Django projects, so at least an initial opinion would be, that's a
> flask convention that we don't really need.
>
> The geodjango support however would be *great*. I don't think
> there's anything to stop you building everything you need as a third
> party package, available on PyPI. If that's something you're
> interested in doing I'd be happy to provide review and support for
> getting that done, and to link to the package from the main docs, in
> the same way that we now do for Juan Riaza's MessagePack package
> <
http://django-rest-framework.org/api-guide/parsers.html#messagepack>.
> <
http://flask.pocoo.org/docs/extensiondev/>) is pretty enough,
--
Jani Tiainen
- Well planned is half done and a half done has been sufficient before...