Configuring a StaticLiveTestCase Server In A Docker Container

2019-12-23 Thread 'Ross' via Django users
Hi, I am able to spawn a separate live development server process for a selenium test which inherits from LiveServerTestCase with the following - #globals HTTP = "http://"# ip address of host machine on the default docker network LOCALHOST = settings.HOST_LOCALHOST# port number on host the

Re: Custom Template Tags Render Method

2019-11-24 Thread 'Ross' via Django users
I meant to write "indeed this section of the same article seems to support this - https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/#auto-escaping-considerations " On Sunday, November 24, 2019 at 6:43:44 PM UTC, Ross wrote: > > To create our own custom template tags we have to

Custom Template Tags Render Method

2019-11-24 Thread 'Ross' via Django users
To create our own custom template tags we have to define a Node subclass which implements a render method. Example from https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/#auto-escaping-considerations import datetimefrom django import template class