<s> from django . db import models <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> from leonardo . module . nav . forms import NavigationForm <EOL> from leonardo . module . nav . models import NavigationWidget <EOL> class ContentNavigationWidget ( NavigationWidget ) : <EOL> include_contextual_pages = models . BooleanField ( <EOL> verbose_name = _ ( "<STR_LIT>" ) , default = False ) <EOL> include_text_headers = models . BooleanField ( <EOL> verbose_name = _ ( "<STR_LIT>" ) , default = False ) <EOL> class Meta : <EOL> abstract = True <EOL> verbose_name = _ ( "<STR_LIT>" ) <EOL> verbose_name_plural = _ ( '<STR_LIT>' ) <EOL> feincms_item_editor_form = NavigationForm <EOL> def get_template_data ( self , options ) : <EOL> request = options [ '<STR_LIT>' ] <EOL> page = request . webcms_page <EOL> return { <EOL> '<STR_LIT>' : [ ] , <EOL> '<STR_LIT>' : page , <EOL> } </s>
