Importing a Python Module inside Custom Django Templatetags -


I am using virtualenv with my Python Django installation.

Here is my directory structure :

  project / dev_environ / lib / python2.6 / site-packages / ... django / titlecase / # & Lt; - Titlecase module PIL / ... bin / ... dragon # & lt; - Python ... included / django_project / localsite / templatetags / __init__.py smarttitle.py # & lt; - My theme module foo_app / bar_app / settings.py Manage.py   

If I start my Django shell and try to import the titlecase OK, because titlecase is in Sys.path on dev_environ / lib / python2.6 / site-packages / titlecase .

  $: django_project cwilcox $ ../dev_environ/ Bin / python manage.py Shell Python 2.6.1 (R261: 67515, June 24, 2010, 21:47:49) [GCC 4.2 .1 (Construction of Apple Inc. 5646)] Darwin type "help", "copyright", "credit" or "license" (interactive console) for more information; & Gt; & Gt; Import Heading # lt; - No import error! & Gt; & Gt; & Gt;   

I can also make my settings.py file without any error import title </ code>. </ P> <p> Still, I try to import the <title> Import title box </ code> in my template tag library <code> smarttitle.py <I>> get an <code> importError </ code> is. </ P> <p> <strong> smarttitle.py </ strong> is as follows. <String> String Filter = Import from Django import template from Django.template.defaultfilters. Library () Titlecase import titles _to_titlecase @ register.filter @stringfilter def as SmartSearch (value): Return _to_titlecase (value) smarttitle.is_safe = true </ code> </ pre> <p> Not only that, but I I can also import <code> {Code> {% load smarttitle%} </ code> and there is no error in it. </ P> <p> My Django Dev Server starts with ... </ P> <pre> <code> ../ dev_environ / bin / python manage.py driver </ code> </ pre> < P> <em> In summary: </ em> </ p> <p> I can import <code> titlecase </ code> module <em> anywhere </ em> inside this templatetag library, where it Throws a <code> ImportError </ code>! what gives?! Any ideas? </ P> <hr> <p> <strong> Edit </ strong>: I tried to first switch to my shell and switch to <code> source dev_environ / bin / activate </ code> , But it did not help - I'm still importing inside my templatetag module. I was already calling the proper Pyro binary manually. </ P> </ div> <p> <div class = "post-text" itemprop = "text"> <p> As stated in the comments, before you run Devenerver, <code> source bin / activate VirtualAvolution by using </ code> (or just <code> .bin / activate </ code>), even if you are already reaching the correct Python executable. </ P> </ div> </ html><br /><br /> <script type="text/javascript" src="//ylx-1.com/bnr.php?section=General&pub=435796&format=728x90&ga=g"></script> <noscript><a href="https://yllix.com/publishers/435796" target="_blank"><img src="//ylx-aff.advertica-cdn.com/pub/728x90.png" style="border:none;margin:0;padding:0;vertical-align:baseline;" /></a></noscript> </div> <div class='post-footer container'> <div class='post-footer-line post-footer-line-1'> <span class='byline post-timestamp'> <meta content='http://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html'/> <a class='timestamp-link' href='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' rel='bookmark' title='permanent link'> <time class='published' datetime='2014-08-15T03:22:00-07:00' title='2014-08-15T03:22:00-07:00'> 03:22 </time> </a> </span> </div> <div class='post-footer-line post-footer-line-2'> </div> <div class='post-footer-line post-footer-line-3'> </div> <div class='post-share-buttons post-share-buttons-bottom'> <div class='byline post-share-buttons goog-inline-block'> <div aria-owns='sharing-popup-Blog1-byline-559796430495384851' class='sharing' data-title='Importing a Python Module inside Custom Django Templatetags -'> <button aria-controls='sharing-popup-Blog1-byline-559796430495384851' aria-label='Share' class='sharing-button touch-icon-button' id='sharing-button-Blog1-byline-559796430495384851' role='button'> <div class='flat-icon-button ripple'> <svg class='svg-icon-24'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_share_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> </div> </button> <div class='share-buttons-container'> <ul aria-hidden='true' aria-label='Share' class='share-buttons hidden' id='sharing-popup-Blog1-byline-559796430495384851' role='menu'> <li> <span aria-label='Get link' class='sharing-platform-button sharing-element-link' data-href='https://www.blogger.com/share-post.g?blogID=1167099179904954689&postID=559796430495384851&target=' data-url='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' role='menuitem' tabindex='-1' title='Get link'> <svg class='svg-icon-24 touch-icon sharing-link'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_link_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> <span class='platform-sharing-text'>Get link</span> </span> </li> <li> <span aria-label='Share to Facebook' class='sharing-platform-button sharing-element-facebook' data-href='https://www.blogger.com/share-post.g?blogID=1167099179904954689&postID=559796430495384851&target=facebook' data-url='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' role='menuitem' tabindex='-1' title='Share to Facebook'> <svg class='svg-icon-24 touch-icon sharing-facebook'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_facebook_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> <span class='platform-sharing-text'>Facebook</span> </span> </li> <li> <span aria-label='Share to X' class='sharing-platform-button sharing-element-twitter' data-href='https://www.blogger.com/share-post.g?blogID=1167099179904954689&postID=559796430495384851&target=twitter' data-url='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' role='menuitem' tabindex='-1' title='Share to X'> <svg class='svg-icon-24 touch-icon sharing-twitter'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_twitter_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> <span class='platform-sharing-text'>X</span> </span> </li> <li> <span aria-label='Share to Pinterest' class='sharing-platform-button sharing-element-pinterest' data-href='https://www.blogger.com/share-post.g?blogID=1167099179904954689&postID=559796430495384851&target=pinterest' data-url='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' role='menuitem' tabindex='-1' title='Share to Pinterest'> <svg class='svg-icon-24 touch-icon sharing-pinterest'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_pinterest_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> <span class='platform-sharing-text'>Pinterest</span> </span> </li> <li> <span aria-label='Email' class='sharing-platform-button sharing-element-email' data-href='https://www.blogger.com/share-post.g?blogID=1167099179904954689&postID=559796430495384851&target=email' data-url='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' role='menuitem' tabindex='-1' title='Email'> <svg class='svg-icon-24 touch-icon sharing-email'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_email_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> <span class='platform-sharing-text'>Email</span> </span> </li> <li aria-hidden='true' class='hidden'> <span aria-label='Share to other apps' class='sharing-platform-button sharing-element-other' data-url='https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html' role='menuitem' tabindex='-1' title='Share to other apps'> <svg class='svg-icon-24 touch-icon sharing-sharingOther'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_more_horiz_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> <span class='platform-sharing-text'>Other Apps</span> </span> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> <section class='comments embed' data-num-comments='0' id='comments'> <a name='comments'></a> <h3 class='title'>Comments</h3> <div id='Blog1_comments-block-wrapper'> </div> <div class='footer'> <div class='comment-form'> <a name='comment-form'></a> <h4 id='comment-post-message'>Post a Comment</h4> <a href='https://www.blogger.com/comment/frame/1167099179904954689?po=559796430495384851&hl=en-GB&saa=85391&origin=https://brazbraz1h.blogspot.com&skin=emporio' id='comment-editor-src'></a> <iframe allowtransparency='allowtransparency' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='90px' id='comment-editor' name='comment-editor' src='' width='100%'></iframe> <script src='https://www.blogger.com/static/v1/jsbin/2830521187-comment_from_post_iframe.js' type='text/javascript'></script> <script type='text/javascript'> BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html'); </script> </div> </div> </section> </article> </div> </div></div> </main> <div class='vertical-ad-container no-items section' id='ads' name='Ads'> </div> <aside class='sidebar-container container' role='complementary'> <div class='section' id='sidebar_item' name='Sidebar (Item Page)'><div class='widget PopularPosts' data-version='2' id='PopularPosts1'> <h3 class='title'> Popular Posts </h3> <div class='widget-content'> <div role='feed'> <article class='post' role='article'> <h3 class='post-title'><a href='https://brazbraz1h.blogspot.com/2011/01/android-proguard-error-with.html'>Android ProGuard error with org.xmlpull.v1.XmlPullParser -</a></h3> <div class='item-content'> <div class='popular-posts-snippet snippet-container r-snippet-container'> <div class='snippet-item r-snippetized'> When my application is created with Progester, it fails with the following message I was generated by Android SDK Use a default proguard.cfg a few -libraryjars What can I do for it? [2011-03-17 09:27:04 - MyOfics] is back with progressive error code 1. View the console [2011-03-17 09:27: 04 - MyProject ] Note: There were 4247 duplicate class definitions in it. [2011-03-17 09:27:04 - Microsoft] WARNING: Library category android.content.res.XmlResourceParser increases or enforces program class org.xmlpull.v1.XmlPullParser [2011-03-17 09:27 : 04 - MyProject] WARNING: Library class depends on android.content.Intent program class org.xmlpull.v1.XmlPullParser [2011-03-17 09:27:04 - MyProject] Warning: library class android.graphics.drawable .AnimationDrawable program depends on class Org.xmlpull.v1.XmlPullParser [2011-03-17 09:27:04 - MyProject] Warning: library class android.graphics.drawable.bitmapDrawable program class org Depending on .xmlpull.v1.XmlPullParser [2011-03-17 09: 27: 04 ... </div> <a class='snippet-fade r-snippet-fade hidden' href='https://brazbraz1h.blogspot.com/2011/01/android-proguard-error-with.html'></a> </div> </div> </article> <article class='post' role='article'> <h3 class='post-title'><a href='https://brazbraz1h.blogspot.com/2013/04/groovy-groovydoc-as-maven-plugin.html'>groovy - GroovyDoc as Maven Plugin -</a></h3> <div class='item-content'> <div class='popular-posts-snippet snippet-container r-snippet-container'> <div class='snippet-item r-snippetized'> Is there a Maven plugin available, which uses it as a report? I think there is a place to look but the docks are ancient (1.0, while the current version is 1.3) and GMOWEN plug-in does not have any mosaics, as you can see: mvn help: description - DgroupId = org.codehaus.gmaven -DartifactId = gmaven-plugin This plugin has 9 goals: groovy: compilation Description: Groovy compiles sources. groovy: console Description: Launch of Groovy GUI console. Groovy: Execute Description: Perform a Groove script. groovy: generates Description: Generate Java Stubs from Groovy sources. groovy: generateTestStubs Description: Generate Java stub from Groovy test sources. groovy: help Description: Notify support at Athene on GMWEN-plugin. Call mvn groovy: help -Ddetail = true -Dogal = & gt; GoalName & gt; To display the parameter details. groovy: Provider Description: Groovy displays information about runtime providers that are configured and selec... </div> <a class='snippet-fade r-snippet-fade hidden' href='https://brazbraz1h.blogspot.com/2013/04/groovy-groovydoc-as-maven-plugin.html'></a> </div> </div> </article> <article class='post' role='article'> <h3 class='post-title'><a href='https://brazbraz1h.blogspot.com/2014/04/in-django-how-do-you-save-multiple-form.html'>In Django, how do you save multiple form fields into a single model field as a list of values using a ModelForm? -</a></h3> <div class='item-content'> <div class='popular-posts-snippet snippet-container r-snippet-container'> <div class='snippet-item r-snippetized'> दिये गए: से आयात मॉडल वर्ग MyModel (models.Model): ... मालिकों = मॉडल.कारफिल्ड (अधिकतम_लांबी = 255, रिक्त = गलत) जहां स्वामी ईमेल पते की एक पाइप से अलग सूची है। पेज में, एक ही नाम के साथ कई & lt; इनपुट & gt; फ़ील्ड हैं, इसलिए सर्वर को एक सरणी में मान मिलते हैं। फॉर्म के लिए HTML कोड द्वारा हाथ किया गया था और इसमें अंतर्निर्मित टेम्पलेट (जैसे form.as_p ) का उपयोग नहीं करता। क्या Django का ModelForm क्या ऐसा कुछ संभाल सकता है? मॉडल को पुनर्प्राप्त करते समय दोनों डेटा परिवर्तन को संभालने के लिए उचित स्थान क्या है (मुझे कस्टम मॉडल बनाना है। प्रबंधक / ?) और इसे सहेजते समय (जो save () विधि को ओवरराइड करते हैं? मॉडल या ModelForm 's)? - क्लैरिफिकेशन के लिए अद्यतन - डेटाबेस में: + - ---- + --------------------------- + ----- + | ... | मालिकों | ... | + ----- + --------------------------- + ----- + | ... | "A@a.com | बी @ बी.कॉम | c@c.com" | ... | + ----- + --------------------------- + ----- + प्रपत्र: & lt; फ़ॉर्म ... ... </div> <a class='snippet-fade r-snippet-fade hidden' href='https://brazbraz1h.blogspot.com/2014/04/in-django-how-do-you-save-multiple-form.html'></a> </div> </div> </article> </div> </div> </div></div> </aside> <!-- close sidebar-container --> </div> <!-- close centered-bottom --> </div> <!-- close centered --> </div> <!-- close page_body --> <footer class='footer section' id='footer' name='Footer'><div class='widget Attribution' data-version='2' id='Attribution1'> <div class='widget-content'> <div class='blogger'> <a href='https://www.blogger.com' rel='nofollow'> <svg class='svg-icon-24'> <use xlink:href='/responsive/sprite_v1_6.css.svg#ic_post_blogger_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use> </svg> Powered by Blogger </a> </div> </div> </div></footer> </div> <script type="text/javascript" src="https://resources.blogblog.com/blogblog/data/res/2952410523-vegeclub_compiled.js" async="true"></script> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/4033524873-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'ACvIOeBL9NEx_8f8FfPZYv98Om2B:1786748699042';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d1167099179904954689','//brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html','1167099179904954689'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '1167099179904954689', 'title': 'Braz', 'url': 'https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html', 'canonicalUrl': 'http://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html', 'homepageUrl': 'https://brazbraz1h.blogspot.com/', 'searchUrl': 'https://brazbraz1h.blogspot.com/search', 'canonicalHomepageUrl': 'http://brazbraz1h.blogspot.com/', 'blogspotFaviconUrl': 'https://brazbraz1h.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en-GB', 'localeUnderscoreDelimited': 'en_gb', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Braz - Atom\x22 href\x3d\x22https://brazbraz1h.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Braz - RSS\x22 href\x3d\x22https://brazbraz1h.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Braz - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/1167099179904954689/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Braz - Atom\x22 href\x3d\x22https://brazbraz1h.blogspot.com/feeds/559796430495384851/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/d9e3b6f1f0b3dbd1', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en_GB\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'item', 'postId': '559796430495384851', 'pageName': 'Importing a Python Module inside Custom Django Templatetags -', 'pageTitle': 'Braz: Importing a Python Module inside Custom Django Templatetags -'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard', 'ok': 'Ok', 'postLink': 'Post link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': true, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Importing a Python Module inside Custom Django Templatetags -', 'description': ' I am using virtualenv with my Python Django installation. Here is my directory structure : project / dev_environ / lib / python2...', 'url': 'https://brazbraz1h.blogspot.com/2014/08/importing-python-module-inside-custom.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 559796430495384851}}, {'name': 'widgets', 'data': [{'title': 'Braz (Header)', 'type': 'Header', 'sectionId': 'header', 'id': 'Header1'}, {'title': 'Search This Blog', 'type': 'BlogSearch', 'sectionId': 'search_top', 'id': 'BlogSearch1'}, {'title': 'Featured post', 'type': 'FeaturedPost', 'sectionId': 'featured_post', 'id': 'FeaturedPost1', 'postId': '2668506390405076900'}, {'title': '', 'type': 'HTML', 'sectionId': 'page_body', 'id': 'HTML1'}, {'title': 'Blog Posts', 'type': 'Blog', 'sectionId': 'page_body', 'id': 'Blog1', 'posts': [{'id': '559796430495384851', 'title': 'Importing a Python Module inside Custom Django Templatetags -', 'showInlineAds': true}], 'footerBylines': [{'regionName': 'footer1', 'items': [{'name': 'timestamp', 'label': ''}, {'name': 'comments', 'label': ''}, {'name': 'icons', 'label': ''}, {'name': 'share', 'label': ''}]}, {'regionName': 'footer2', 'items': [{'name': 'labels', 'label': ''}]}, {'regionName': 'footer3', 'items': [{'name': 'location', 'label': ''}]}], 'allBylineItems': [{'name': 'timestamp', 'label': ''}, {'name': 'comments', 'label': ''}, {'name': 'icons', 'label': ''}, {'name': 'share', 'label': ''}, {'name': 'labels', 'label': ''}, {'name': 'location', 'label': ''}]}, {'title': 'About Me', 'type': 'Profile', 'sectionId': 'sidebar_feed', 'id': 'Profile1'}, {'title': '', 'type': 'BlogArchive', 'sectionId': 'sidebar_feed', 'id': 'BlogArchive1'}, {'title': '', 'type': 'ReportAbuse', 'sectionId': 'sidebar_feed', 'id': 'ReportAbuse1'}, {'title': 'Navbar', 'type': 'Navbar', 'sectionId': 'sidebar_feed', 'id': 'Navbar1'}, {'title': '', 'type': 'PopularPosts', 'sectionId': 'sidebar_item', 'id': 'PopularPosts1', 'posts': [{'title': 'Android ProGuard error with org.xmlpull.v1.XmlPullParser -', 'id': 3650848291017051757}, {'title': 'groovy - GroovyDoc as Maven Plugin -', 'id': 6514912126318594599}, {'title': 'In Django, how do you save multiple form fields into a single model\nfield as a list of values using a ModelForm? -', 'id': 7024430879584630810}]}, {'type': 'Attribution', 'sectionId': 'footer', 'id': 'Attribution1'}]}]); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogSearchView', new _WidgetInfo('BlogSearch1', 'search_top', document.getElementById('BlogSearch1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeaturedPostView', new _WidgetInfo('FeaturedPost1', 'featured_post', document.getElementById('FeaturedPost1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'page_body', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'page_body', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/2355775168-lbx__en_gb.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/828616780-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar_feed', document.getElementById('Profile1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar_feed', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ReportAbuseView', new _WidgetInfo('ReportAbuse1', 'sidebar_feed', document.getElementById('ReportAbuse1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'sidebar_feed', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_PopularPostsView', new _WidgetInfo('PopularPosts1', 'sidebar_item', document.getElementById('PopularPosts1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer', document.getElementById('Attribution1'), {}, 'displayModeFull')); </script> </body> </html>