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


Ignore:
Timestamp:
08/02/16 20:57:28 (7 years ago)
Author:
Aymeric Augustin
Comment:

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