Forums

Customise X-Clacks-Overhead

It appears that PythonAnywhere sets the X-Clacks-Overhead as "GNU Terry Pratchett" by default. That's great, of course.

However, I installed django-clacks to customise it so I can add names but it has no effect. Is the PA version set after mine so it overrides? Is there a solution to this so I can control the header?

Edit: I just discovered that it adds, not overrides. That means I can set the header and it will appear twice, once with my provided name and once with GNU Terry Pratchett. Is that the only way to make it work?

We add that header after your code has been executed and added its headers, so there will always be a repeat.

OK, I can live with it. Thanks!