MCPcopy
hub / github.com/django/django / enable

Method enable

django/test/utils.py:904–906  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

902 super().__init__()
903
904 def enable(self):
905 self.old_prefix = get_script_prefix()
906 set_script_prefix(self.prefix)
907
908 def disable(self):
909 set_script_prefix(self.old_prefix)

Callers

nothing calls this directly

Calls 2

get_script_prefixFunction · 0.90
set_script_prefixFunction · 0.90

Tested by

no test coverage detected