Please sign in to comment.
Remove jingo.views and tests. Fix #2.
With the changes since #2 was filed, it's no longer necessary to have jingo.views.direct_to_template at all. Django's direct_to_template view works just fine with jingo.Loader. I cleaned up some tests, but jingo.render_to_string is still a different function than django.template.loader.render_to_string, so I wasn't able to drop that.
- Loading branch information...
Showing with 8 additions and 12 deletions.
|@@ -1,5 +0,0 @@|
|-def direct_to_template(request, template, **kwargs):|
|- return jingo.render(request, template, kwargs)|