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:
parent
a04a1a1767
commit
9cc4126d52
@ -17,7 +17,7 @@ from django.utils.translation import ugettext_lazy as _
|
|||||||
from django.utils.translation import ungettext_lazy
|
from django.utils.translation import ungettext_lazy
|
||||||
|
|
||||||
from horizon import tables
|
from horizon import tables
|
||||||
from horizon.utils.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
|
|
||||||
import disaster_recovery.api.api as freezer_api
|
import disaster_recovery.api.api as freezer_api
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ from django.utils.translation import ugettext_lazy as _
|
|||||||
from django.utils.translation import ungettext_lazy
|
from django.utils.translation import ungettext_lazy
|
||||||
|
|
||||||
from horizon import tables
|
from horizon import tables
|
||||||
from horizon.utils.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
|
|
||||||
import disaster_recovery.api.api as freezer_api
|
import disaster_recovery.api.api as freezer_api
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ from django.utils.translation import ungettext_lazy
|
|||||||
|
|
||||||
from horizon import tables
|
from horizon import tables
|
||||||
from horizon import messages
|
from horizon import messages
|
||||||
from horizon.utils.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
|
|
||||||
import disaster_recovery.api.api as freezer_api
|
import disaster_recovery.api.api as freezer_api
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ from django.utils.translation import ugettext_lazy as _
|
|||||||
from django.utils.translation import ungettext_lazy
|
from django.utils.translation import ungettext_lazy
|
||||||
|
|
||||||
from horizon import tables
|
from horizon import tables
|
||||||
from horizon.utils.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
|
|
||||||
import disaster_recovery.api.api as freezer_api
|
import disaster_recovery.api.api as freezer_api
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
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 exceptions
|
||||||
from horizon import forms
|
from horizon import forms
|
||||||
|
@ -16,7 +16,7 @@ import datetime
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
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 exceptions
|
||||||
from horizon import forms
|
from horizon import forms
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import json
|
import json
|
||||||
from mock import patch
|
from mock import patch
|
||||||
|
|
||||||
from horizon.utils.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
import openstack_dashboard.test.helpers as helpers
|
import openstack_dashboard.test.helpers as helpers
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user