No need to create this variable--  just assign to self.loc.

Actually, it would be good if self.loc was something more descriptive, like self.locked_asset_location (and self.locked_asset_url).

Same for self.loc2 and self.url2.