#NEWLINE# @ staticmethod #NEWLINE# def get_for_uid( uid ) : #NEWLINE# #INDENT# '\n        Return the object (an instance of a subclass of Location) named\n        by ``uid``. The UID should be in the form ``model:id``, as\n        returned by the Location.uid property.\n        ' #NEWLINE# ( model , pk ) = uid . split ( ':' ) #NEWLINE# type = ContentType . objects . get ( model = type ) #NEWLINE# return type . get_object_for_this_type ( pk = pk )