fusionbox / django-widgy

A CMS framework for Django built on a heterogenous tree editor.
http://wid.gy
Other
333 stars 52 forks source link

Deprecate update_context #373

Open gavinwahl opened 8 years ago

gavinwahl commented 8 years ago

Contexts have been made context managers in django (https://docs.djangoproject.com/en/1.9/ref/templates/api/#django.template.Context.update), so widgy.utils.update_context is obviated. We should remove internal uses of it, and throw a deprecation warning when it's called from user code.

rockymeza commented 8 years ago

yay!

-rocky

On Thu, Apr 28, 2016 at 7:09 AM, Gavin Wahl notifications@github.com wrote:

Contexts have been made context managers in django ( https://docs.djangoproject.com/en/1.9/ref/templates/api/#django.template.Context.update), so widgy.utils.update_context is obviated. We should remove internal uses of it, and throw a deprecation warning when it's called from user code.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/fusionbox/django-widgy/issues/373