Hello,
My processor sets some template variables based on request.user and some
DB/redis query results, which are displayed on each page on a header bar,
so I only need to create a mocked request with user set to something
(AnonymousUser or a valid user object).
I'm already using Mock[2] for
Hi Gergely,
On 03/17/2015 10:52 AM, Gergely Polonkai wrote:
> I wrote a context processor which makes some global variables of mine
> available for templates. I cannot find a good (cough… any) article on
> how to test such processors. Could you give me some directions on where
> to start with
Hello,
I wrote a context processor which makes some global variables of mine
available for templates. I cannot find a good (cough… any) article on how
to test such processors. Could you give me some directions on where to
start with writing one?
Thanks in advance!
Best,
Gergely
--
You
3 matches
Mail list logo