def get_queryset(self): try: Package.lookup() except Exception as e: logger.error(e, exc_info=True) return super().get_queryset()
def auto_lookup_packages(): try: Package.lookup() except: pass
def get_queryset(self): Package.lookup() return super().get_queryset()
def load_package(): Package.lookup()