Django does not Override Settings in Template Tag Testing

2019-12-11 Thread Eray Erdin
I have actually provided quite much verbose information in Stackoverflow <https://stackoverflow.com/questions/59251954/django-does-not-override-settings-in-template-tag-testing>. I have a problem overriding settings as testing template tags. I leave this here in case you are inte

Re: Template tag testing

2009-06-23 Thread brianmac44
On Jun 23, 12:00 pm, Michael wrote: > On Tue, Jun 23, 2009 at 11:53 AM, brianmac44 wrote: > I don't know if this is best practice, but here is the way I test my > template tags essentially by rendering the templates: > > http://bitbucket.org/newmaniese/newmanutils/src/tip/newmanutils/tests.py

Re: Template tag testing

2009-06-23 Thread Michael
On Tue, Jun 23, 2009 at 11:53 AM, brianmac44 wrote: > > I tried to test template tags with doctests and unittests but I'm not > sure what token and/or context to use. What's the best practice for > testing template tags? > I don't know if this is best practice, but here is the way I test my temp

Template tag testing

2009-06-23 Thread brianmac44
I tried to test template tags with doctests and unittests but I'm not sure what token and/or context to use. What's the best practice for testing template tags? Thanks, Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google