From 0464ac83d8aca12193a7629e72b880d5b8e2707a Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 30 Dec 2015 01:06:24 +0530 Subject: [PATCH] firstboot: Add doc strings for custom tags --- plinth/modules/first_boot/templatetags/firstboot_extras.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plinth/modules/first_boot/templatetags/firstboot_extras.py b/plinth/modules/first_boot/templatetags/firstboot_extras.py index c8e3ab423..47c243e4f 100644 --- a/plinth/modules/first_boot/templatetags/firstboot_extras.py +++ b/plinth/modules/first_boot/templatetags/firstboot_extras.py @@ -15,6 +15,10 @@ # along with this program. If not, see . # +""" +Template tags for first boot module. +""" + from django import template from plinth import kvstore @@ -24,5 +28,6 @@ register = template.Library() @register.simple_tag def firstboot_is_finished(): + """Return whether firstboot process is completed.""" state = kvstore.get_default('firstboot_state', 0) return state >= 10