mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
docs: Add missing imports in tutorial as pointed in #2078
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
213e01abcd
commit
08a7c7870e
2 files changed
+3
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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):
|
||||
...
|
||||
|
||||
Reference in new issue
Block a user