<s> """<STR_LIT>""" <EOL> from django . db . models import ProtectedError , signals <EOL> from django . dispatch import receiver <EOL> from registration . models import RegistrationProfile <EOL> from . mtmodel import ConcurrencyError <EOL> from . core . models import MTModel , Product , ProductVersion , ApiKey <EOL> from . core . auth import User , Role , Permission <EOL> from . environments . models import Environment , Profile , Element , Category <EOL> from . execution . models import Run , RunSuite , RunCaseVersion , Result , StepResult <EOL> from . library . bulk import BulkParser <EOL> from . library . models import ( <EOL> Case , CaseVersion , CaseAttachment , CaseStep , Suite , SuiteCase ) <EOL> from . tags . models import Tag <EOL> API_VERSION = "<STR_LIT>" <EOL> @ receiver ( signals . post_save , sender = Tag ) <EOL> @ receiver ( signals . post_save , sender = User ) <EOL> @ receiver ( signals . post_save , sender = Role ) <EOL> @ receiver ( signals . post_save , sender = Element ) <EOL> @ receiver ( signals . post_save , sender = Suite ) <EOL> @ receiver ( signals . post_save , sender = Run ) <EOL> @ receiver ( signals . post_save , sender = Product ) <EOL> @ receiver ( signals . post_save , sender = ProductVersion ) <EOL> def invalidate_model_choices ( sender , instance , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> MTModel . delete_modelfilter_choices_cache ( sender ) </s>
