django.core.urlresolvers -> django.urls in doc

Change-Id: I75adb9aad6d5deed027625fca8e07b6ed5a1cf42
This commit is contained in:
YAMAMOTO Takashi 2019-04-04 15:35:57 +09:00
parent f29460a8b5
commit f722d2bb17
1 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ calling the nova api to create the snapshot.
Create the ``forms.py`` file under the ``mypanel`` directory and add the
following::
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _
from horizon import exceptions
@ -105,8 +105,8 @@ Open the ``views.py`` file under the ``mypanel`` directory and add the code
for the CreateSnapshotView and the necessary imports. The complete
file should now look something like this::
from django.core.urlresolvers import reverse
from django.core.urlresolvers import reverse_lazy
from django.urls import reverse
from django.urls import reverse_lazy
from django.utils.translation import ugettext_lazy as _
from horizon import tabs