Exemple #1
0
 def get_queryset(self):
     try:
         Package.lookup()
     except Exception as e:
         logger.error(e, exc_info=True)
     return super().get_queryset()
Exemple #2
0
def auto_lookup_packages():
    try:
        Package.lookup()
    except:
        pass
Exemple #3
0
 def get_queryset(self):
     Package.lookup()
     return super().get_queryset()
Exemple #4
0
def load_package():
    Package.lookup()