diff --git a/doc/source/contributor/tutorials/table_actions.rst b/doc/source/contributor/tutorials/table_actions.rst index e7e50e2d6c..ce8aee4ea9 100644 --- a/doc/source/contributor/tutorials/table_actions.rst +++ b/doc/source/contributor/tutorials/table_actions.rst @@ -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