<s> from django . conf . urls . defaults import * <EOL> from django . core . urlresolvers import get_callable <EOL> from django . core . urlresolvers import RegexURLPattern <EOL> from lithium . conf import settings <EOL> from lithium . views . date_based import * <EOL> from lithium . blog . models import Post <EOL> from lithium . blog . feeds import LatestPosts , LatestPostsByTag , LatestPostsByAuthor <EOL> from lithium . blog . decorators import private_post_decorator <EOL> list_dict = { <EOL> '<STR_LIT>' : Post . on_site . all ( ) , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : settings . BLOG_PAGINATE_BY , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> detail_dict = { <EOL> '<STR_LIT>' : Post . on_site . all ( ) , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( object_detail ) , detail_dict , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( archive_day ) , list_dict , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( archive_month ) , list_dict , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( archive_year ) , list_dict , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( archive_index ) , list_dict , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( archive_index ) , list_dict , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , private_post_decorator ( archive_index ) , list_dict , '<STR_LIT>' ) , <EOL> ) <EOL> feeds = { <EOL> '<STR_LIT>' : LatestPosts , <EOL> '<STR_LIT>' : LatestPostsByTag , <EOL> '<STR_LIT>' : LatestPostsByAuthor , <EOL> } <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT>' : feeds } , name = '<STR_LIT>' ) , <EOL> ) </s>
