<s> from django import template <EOL> from announcement . models import Announcement <EOL> def public_announcement_list ( ) : <EOL> return Announcement . objects . filter ( visible = True ) . order_by ( "<STR_LIT>" ) <EOL> register = template . Library ( ) <EOL> register . assignment_tag ( public_announcement_list , name = "<STR_LIT>" ) </s>
