def get_nodes(self, request):
nodes = []<EOL>archives = []<EOL>attributes = {'<STR_LIT>': HIDE_ENTRY_MENU}<EOL>for entry in Entry.published.all():<EOL><INDENT>year = entry.creation_date.strftime('<STR_LIT>')<EOL>month = entry.creation_date.strftime('<STR_LIT>')<EOL>month_text = format(entry.creation_date, '<STR_LIT:b>').capitalize()<EOL>day = entry.creation_date.strftime('<STR_LIT>')<EOL>key_archive_year = '<STR_LIT>' % year<EOL>key_archive_month = '<STR_LIT>' % (year, month)<EOL>key_archive_day = '<STR_LIT>' % (year, month, day)<EOL>if key_archive_year not in archives:<EOL><INDENT>nodes.append(NavigationNode(<EOL>year, reverse('<STR_LIT>', args=[year]),<EOL>key_archive_year, attr=attributes))<EOL>archives.append(key_archive_year)<EOL><DEDENT>if key_archive_month not in archives:<EOL><INDENT>nodes.append(NavigationNode(<EOL>month_text,<EOL>reverse('<STR_LIT>', args=[year, month]),<EOL>key_archive_month, key_archive_year,<EOL>attr=attributes))<EOL>archives.append(key_archive_month)<EOL><DEDENT>if key_archive_day not in archives:<EOL><INDENT>nodes.append(NavigationNode(<EOL>day, reverse('<STR_LIT>',<EOL>args=[year, month, day]),<EOL>key_archive_day, key_archive_month,<EOL>attr=attributes))<EOL>archives.append(key_archive_day)<EOL><DEDENT>nodes.append(NavigationNode(entry.title, entry.get_absolute_url(),<EOL>entry.pk, key_archive_day))<EOL><DEDENT>return nodes<EOL>
Return menu's node for entries