def static_slotname(instance):
    return instance.code
Separate top-level loops from the function
dataset/ETHPy150Open divio/django-cms/cms/models/static_placeholder.py/static_slotname--crossover with--dataset/ETHPy150Open numba/numba/numba/looplifting.py/separate_loops