docs: Add missing imports in tutorial as pointed in #2078

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Carlos Henrique Lima Melara authored and Sunil Mohan Adapa committed 2021-04-17 09:54:54 -07:00
1 parent 213e01abcd
commit 08a7c7870e
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ function normally.
.. code-block:: python3
:caption: ``__init__.py``
from django.utils.translation import ugettext_lazy as _
from plinth import app as app_module
from . import manifest
+1 -1
View File
@@ -36,7 +36,7 @@ a link in FreedomBox web interface. Let us add a link in the apps list. In
.. code-block:: python3
:caption: ``__init__.py``
from plinth.menu import main_menu
from plinth import menu
class TransmissionApp(app_module.App):
...