Fixed importError urlresolvers

ImportError: No module named urlresolvers in horizon.utils.
Fixed this importError use django.core.urlresolvers.

Change-Id: Ia2591675e3ac75b1cf608e7c18ad0c749d530289
Closes-Bug: #1549077
This commit is contained in:
Jin Nan Zhang 2016-02-29 17:50:53 -05:00
parent a04a1a1767
commit 9cc4126d52
7 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ from django.utils.translation import ugettext_lazy as _
from django.utils.translation import ungettext_lazy
from horizon import tables
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
import disaster_recovery.api.api as freezer_api

View File

@ -16,7 +16,7 @@ from django.utils.translation import ugettext_lazy as _
from django.utils.translation import ungettext_lazy
from horizon import tables
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
import disaster_recovery.api.api as freezer_api

View File

@ -20,7 +20,7 @@ from django.utils.translation import ungettext_lazy
from horizon import tables
from horizon import messages
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
import disaster_recovery.api.api as freezer_api

View File

@ -19,7 +19,7 @@ from django.utils.translation import ugettext_lazy as _
from django.utils.translation import ungettext_lazy
from horizon import tables
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
import disaster_recovery.api.api as freezer_api

View File

@ -15,7 +15,7 @@
import logging
from django.utils.translation import ugettext_lazy as _
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
from horizon import exceptions
from horizon import forms

View File

@ -16,7 +16,7 @@ import datetime
import logging
from django.utils.translation import ugettext_lazy as _
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
from horizon import exceptions
from horizon import forms

View File

@ -15,7 +15,7 @@
import json
from mock import patch
from horizon.utils.urlresolvers import reverse
from django.core.urlresolvers import reverse
import openstack_dashboard.test.helpers as helpers