Changes between Initial Version and Version 1 of Ticket #26996, comment 4


Ignore:
Timestamp:
Aug 2, 2016, 3:57:28 PM (8 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26996, comment 4

    initial v1  
    11Well, technically, you could try passing a subclass of `dict` as the `context` argument of `render_to_response`.
    22
    3 I have no idea whether this is a reasonable way to achieve your goals, since I don't know what you're trying to do, and this is likely not the first thing I would attempt. I'd probably go for a custom template backend if I needed this level of customization. Look at `django.template.backends.django`, there isn't a lot of code in there.
     3I have no idea whether this is a reasonable way to achieve your goals, since I don't know what you're trying to do, and this is likely not the first thing I would attempt.
     4
     5I'd probably go for a custom template backend if I needed this level of customization. Look at `django.template.backends.django`, there isn't a lot of code in there.
     6
     7To discuss this further, you'll have to explain your use case...
Back to Top