def _get_obj_to_save(self):
     """"""
     return StoresDB(
         store_id=self.store_id,
         store_name=self.store_name,
         url_prefix=Parser.parse_url_prefix_from_url(self.url_prefix),
         tag_name=self.tag_name,
         query=self.query,
         description=self.description,
     )
 def does_item_belong_to_store(cls, store_id, item_url):
     """"""
     store = StoresDB.objects.filter(
         store_id=store_id).only('url_prefix').first()
     return Parser.parse_url_prefix_from_url(item_url) == store.url_prefix