<s> from __future__ import absolute_import , unicode_literals <EOL> from django . conf . urls import url <EOL> from django . core import urlresolvers <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> from wagtail . wagtailadmin . menu import MenuItem <EOL> from wagtail . wagtailcore import hooks <EOL> from . import views <EOL> @ hooks . register ( '<STR_LIT>' ) <EOL> def register_admin_urls ( ) : <EOL> return [ <EOL> url ( r'<STR_LIT>' , views . index , name = '<STR_LIT>' ) , <EOL> ] <EOL> @ hooks . register ( '<STR_LIT>' ) <EOL> def register_styleguide_menu_item ( ) : <EOL> return MenuItem ( <EOL> _ ( '<STR_LIT>' ) , <EOL> urlresolvers . reverse ( '<STR_LIT>' ) , <EOL> classnames = '<STR_LIT>' , <EOL> order = <NUM_LIT:1000> <EOL> ) </s>
