Skip to content

Commit

Permalink
Merge pull request #103 from antoviaque/django1.8-import-warning
Browse files Browse the repository at this point in the history
Django 1.8 warning: Use importlib instead of django.db.models.loading
  • Loading branch information
coleifer committed Jun 30, 2015
2 parents ddbe0fe + 6a2e474 commit dce841d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion huey/djhuey/management/commands/run_huey.py
Expand Up @@ -4,7 +4,10 @@

from django.conf import settings
from django.core.management.base import BaseCommand
from django.utils.importlib import import_module
try:
from importlib import import_module
except ImportError:
from django.utils.importlib import import_module

try:
from django.apps import apps as django_apps
Expand Down

0 comments on commit dce841d

Please sign in to comment.