<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>ValueError at /</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; }
h2 { margin-bottom:.8em; }
h2 span { font-size:80%; color:#666; font-weight:normal; }
h3 { margin:1em 0 .5em 0; }
h4 { margin:0 0 .5em 0; font-weight: normal; }
code, pre { font-size: 100%; white-space: pre-wrap; }
table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
tbody td, tbody th { vertical-align:top; padding:2px 3px; }
thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
table.vars { margin:5px 0 2px 40px; }
table.vars td, table.req td { font-family:monospace; }
table td.code { width:100%; }
table td.code pre { overflow:hidden; }
table.source th { color:#666; }
table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
ul.traceback { list-style-type:none; color: #222; }
ul.traceback li.frame { padding-bottom:1em; color:#666; }
ul.traceback li.user { background-color:#e0e0e0; color:#000 }
div.context { padding:10px 0; overflow:hidden; }
div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; }
div.context ol li pre { display:inline; }
div.context ol.context-line li { color:#505050; background-color:#dfdfdf; }
div.context ol.context-line li span { position:absolute; right:32px; }
.user div.context ol.context-line li { background-color:#bbb; color:#000; }
.user div.context ol li { color:#666; }
div.commands { margin-left: 40px; }
div.commands a { color:#555; text-decoration:none; }
.user div.commands a { color: black; }
#summary { background: #ffc; }
#summary h2 { font-weight: normal; color: #666; }
#explanation { background:#eee; }
#template, #template-not-exist { background:#f6f6f6; }
#template-not-exist ul { margin: 0 0 0 20px; }
#unicode-hint { background:#eee; }
#traceback { background:#eee; }
#requestinfo { background:#f6f6f6; padding-left:120px; }
#summary table { border:none; background:transparent; }
#requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
#requestinfo h3 { margin-bottom:-1em; }
.error { background: #ffc; }
.specific { color:#cc3300; font-weight:bold; }
h2 span.commands { font-size:.7em;}
span.commands a:link {color:#5E5694;}
pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
</style>
<script type="text/javascript">
//<!--
function getElementsByClassName(oElm, strTagName, strClassName){
// Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com
var arrElements = (strTagName == "*" && document.all)? document.all :
oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\-");
var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
}
}
return (arrReturnElements)
}
function hideAll(elems) {
for (var e = 0; e < elems.length; e++) {
elems[e].style.display = 'none';
}
}
window.onload = function() {
hideAll(getElementsByClassName(document, 'table', 'vars'));
hideAll(getElementsByClassName(document, 'ol', 'pre-context'));
hideAll(getElementsByClassName(document, 'ol', 'post-context'));
hideAll(getElementsByClassName(document, 'div', 'pastebin'));
}
function toggle() {
for (var i = 0; i < arguments.length; i++) {
var e = document.getElementById(arguments[i]);
if (e) {
e.style.display = e.style.display == 'none' ? 'block' : 'none';
}
}
return false;
}
function varToggle(link, id) {
toggle('v' + id);
var s = link.getElementsByTagName('span')[0];
var uarr = String.fromCharCode(0x25b6);
var darr = String.fromCharCode(0x25bc);
s.innerHTML = s.innerHTML == uarr ? darr : uarr;
return false;
}
function switchPastebinFriendly(link) {
s1 = "Switch to copy-and-paste view";
s2 = "Switch back to interactive view";
link.innerHTML = link.innerHTML == s1 ? s2 : s1;
toggle('browserTraceback', 'pastebinTraceback');
return false;
}
//-->
</script>
</head>
<body>
<div id="summary">
<h1>ValueError at /</h1>
<pre class="exception_value">invalid literal for int() with base 10: 'None'</pre>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://opengeo.grida.no/</td>
</tr>
<tr>
<th>Django Version:</th>
<td>1.6.11</td>
</tr>
<tr>
<th>Exception Type:</th>
<td>ValueError</td>
</tr>
<tr>
<th>Exception Value:</th>
<td><pre>invalid literal for int() with base 10: 'None'</pre></td>
</tr>
<tr>
<th>Exception Location:</th>
<td>/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py in get_prep_value, line 613</td>
</tr>
<tr>
<th>Python Executable:</th>
<td>/usr/bin/python</td>
</tr>
<tr>
<th>Python Version:</th>
<td>2.7.6</td>
</tr>
<tr>
<th>Python Path:</th>
<td><pre>['/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/var/www']</pre></td>
</tr>
<tr>
<th>Server time:</th>
<td>Tue, 19 Apr 2016 04:02:28 -0500</td>
</tr>
</table>
</div>
<div id="template">
<h2>Error during template rendering</h2>
<p>In template <code>/usr/local/lib/python2.7/dist-packages/geonode/templates/index.html</code>, error at line <strong>27</strong></p>
<h3>invalid literal for int() with base 10: 'None'</h3>
<table class="source cut-top cut-bottom">
<tr><th>17</th>
<td> <p>{% blocktrans %}If you have any questions about the software or service, join our <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">mailing list</a>.{% endblocktrans %}</p>
</td></tr>
<tr><th>18</th>
<td> <span>{% trans 'Need help?' %} <a href="http://docs.geonode.org/en/latest/tutorials/users/quickstart/index.html">{% trans 'Getting Started' %}</a></span>
</td></tr>
<tr><th>19</th>
<td> </div>
</td></tr>
<tr><th>20</th>
<td> </div>
</td></tr>
<tr><th>21</th>
<td> {% endblock %}
</td></tr>
<tr><th>22</th>
<td>
</td></tr>
<tr><th>23</th>
<td> {% block mainbody %}
</td></tr>
<tr><th>24</th>
<td> <div class="container">
</td></tr>
<tr><th>25</th>
<td> <div class="row home-facets">
</td></tr>
<tr><th>26</th>
<td> {% with facet_type='home' %}
</td></tr>
<tr class="error"><th>27</th>
<td> <span class="specific">{% facets as facets %}</span>
</td></tr>
<tr><th>28</th>
<td> <div class="col-md-4">
</td></tr>
<tr><th>29</th>
<td> <p><a href="{% url "layer_browse" %}"><i class="fa fa-square-o fa-5x rotate-45"></i></a></p>
</td></tr>
<tr><th>30</th>
<td> <h2><a href="{% url "layer_browse" %}">{{ facets.layer|default:_("No") }} {% blocktrans count counter=facets.layer %}Layer{% plural %}Layers{% endblocktrans %}</a></h2>
</td></tr>
<tr><th>31</th>
<td> <p>{% trans "Click to search for geospatial data published by other users, organizations and public sources. Download data in standard formats." %}</p>
</td></tr>
<tr><th>32</th>
<td> {% if user.is_authenticated %}
</td></tr>
<tr><th>33</th>
<td> <p class="text-center"><a class="btn btn-default" href="{% url "layer_upload" %}" role="button">{% trans "Add layers" %} »</a></p>
</td></tr>
<tr><th>34</th>
<td> {% else %}
</td></tr>
<tr><th>35</th>
<td> <p class="text-center"><a class="btn btn-default" href="{% url "layer_browse" %}" role="button">{% trans "Explore layers" %} »</a></p>
</td></tr>
<tr><th>36</th>
<td> {% endif %}
</td></tr>
<tr><th>37</th>
<td> </div>
</td></tr>
</table>
</div>
<div id="traceback">
<h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2>
<div id="browserTraceback">
<ul class="traceback">
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/core/handlers/base.py</code> in <code>get_response</code>
<div class="context" id="c140488293812776">
<ol start="130" class="pre-context" id="pre140488293812776"><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre></pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> # If the response supports deferred rendering, apply template</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> # response middleware and then render the response</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> if hasattr(response, 'render') and callable(response.render):</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> for middleware_method in self._template_response_middleware:</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> response = middleware_method(request, response)</pre></li></ol>
<ol start="137" class="context-line"><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> response = response.render()</pre> <span>...</span></li></ol>
<ol start='138' class="post-context" id="post140488293812776"><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre></pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> except http.Http404 as e:</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> logger.warning('Not Found: %s', request.path,</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> extra={</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> 'status_code': 404,</pre></li><li onclick="toggle('pre140488293812776', 'post140488293812776')"><pre> 'request': request</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812776')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812776">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>callback_args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>resolver_match</td>
<td class="code"><pre>ResolverMatch(func=<function TemplateView at 0x7fc5fb955410>, args=(), kwargs={}, url_name='home', app_name='None', namespace='')</pre></td>
</tr>
<tr>
<td>middleware_method</td>
<td class="code"><pre><bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fc611817290>></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x7fc6183acc90></pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>"<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',\n '__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',\n '_ga': 'GA1.2.786045677.1451979462',\n 'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',\n 'DOCUMENT_ROOT': '/var/www',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us',\n 'HTTP_CACHE_CONTROL': 'max-age=0',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',\n 'HTTP_HOST': 'opengeo.grida.no',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.2.101.118',\n 'REMOTE_PORT': '63548',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '10.2.101.96',\n 'SERVER_ADMIN': 'webmaster@localhost',\n 'SERVER_NAME': 'opengeo.grida.no',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',\n 'mod_wsgi.application_group': 'localhost|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'geonode',\n 'mod_wsgi.queue_start': '1461056545427540',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td>
</tr>
<tr>
<td>callback</td>
<td class="code"><pre><function TemplateView at 0x7fc5fb955410></pre></td>
</tr>
<tr>
<td>wrapped_callback</td>
<td class="code"><pre><function TemplateView at 0x7fc5fb955410></pre></td>
</tr>
<tr>
<td>resolver</td>
<td class="code"><pre><RegexURLResolver 'geonode.urls' (None:None) ^/></pre></td>
</tr>
<tr>
<td>callback_kwargs</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>response</td>
<td class="code"><pre><django.template.response.TemplateResponse object at 0x7fc5fb202710></pre></td>
</tr>
<tr>
<td>urlconf</td>
<td class="code"><pre>'geonode.urls'</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/response.py</code> in <code>render</code>
<div class="context" id="c140488293812704">
<ol start="98" class="pre-context" id="pre140488293812704"><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre></pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> If the content has already been rendered, this is a no-op.</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre></pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> Returns the baked response instance.</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> """</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> retval = self</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> if not self._is_rendered:</pre></li></ol>
<ol start="105" class="context-line"><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> self.content = self.rendered_content</pre> <span>...</span></li></ol>
<ol start='106' class="post-context" id="post140488293812704"><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> for post_callback in self._post_render_callbacks:</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> newretval = post_callback(retval)</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> if newretval is not None:</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> retval = newretval</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre> return retval</pre></li><li onclick="toggle('pre140488293812704', 'post140488293812704')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812704')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812704">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.template.response.TemplateResponse object at 0x7fc5fb202710></pre></td>
</tr>
<tr>
<td>retval</td>
<td class="code"><pre><django.template.response.TemplateResponse object at 0x7fc5fb202710></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/response.py</code> in <code>rendered_content</code>
<div class="context" id="c140488293812632">
<ol start="75" class="pre-context" id="pre140488293812632"><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre></pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> This *does not* set the final content of the response. To set the</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> response content, you must either call render(), or set the</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> content explicitly using the value of this property.</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> """</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> template = self.resolve_template(self.template_name)</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> context = self.resolve_context(self.context_data)</pre></li></ol>
<ol start="82" class="context-line"><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> content = template.render(context)</pre> <span>...</span></li></ol>
<ol start='83' class="post-context" id="post140488293812632"><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> return content</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre></pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> def add_post_render_callback(self, callback):</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> """Adds a new post-rendering callback.</pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre></pre></li><li onclick="toggle('pre140488293812632', 'post140488293812632')"><pre> If the response has already been rendered,</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812632')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812632">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.template.response.TemplateResponse object at 0x7fc5fb202710></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
<tr>
<td>template</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fb202c90></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293812560">
<ol start="133" class="pre-context" id="pre140488293812560"><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> def _render(self, context):</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> return self.nodelist.render(context)</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre></pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> try:</pre></li></ol>
<ol start="140" class="context-line"><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> return self._render(context)</pre> <span>...</span></li></ol>
<ol start='141' class="post-context" id="post140488293812560"><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> finally:</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> context.render_context.pop()</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre></pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre>def compile_string(template_string, origin):</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> "Compiles template_string into NodeList ready for rendering"</pre></li><li onclick="toggle('pre140488293812560', 'post140488293812560')"><pre> if settings.TEMPLATE_DEBUG:</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812560')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812560">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fb202c90></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>_render</code>
<div class="context" id="c140488293812488">
<ol start="127" class="pre-context" id="pre140488293812488"><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre></pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> yield subnode</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre></pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> def _render(self, context):</pre></li></ol>
<ol start="134" class="context-line"><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol>
<ol start='135' class="post-context" id="post140488293812488"><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre></pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> try:</pre></li><li onclick="toggle('pre140488293812488', 'post140488293812488')"><pre> return self._render(context)</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812488')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812488">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fb202c90></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293812416">
<ol start="833" class="pre-context" id="pre140488293812416"><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre></pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> bits = []</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> for node in self:</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> if isinstance(node, Node):</pre></li></ol>
<ol start="840" class="context-line"><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol>
<ol start='841' class="post-context" id="post140488293812416"><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> else:</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> bit = node</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre></pre></li><li onclick="toggle('pre140488293812416', 'post140488293812416')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812416')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812416">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><ExtendsNode: extends "site_base.html"></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ExtendsNode: extends "site_base.html">]</pre></td>
</tr>
<tr>
<td>bits</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code>
<div class="context" id="c140488293812344">
<ol start="71" class="pre-context" id="pre140488293812344"><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre></pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> try:</pre></li></ol>
<ol start="78" class="context-line"><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> return node.render(context)</pre> <span>...</span></li></ol>
<ol start='79' class="post-context" id="post140488293812344"><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre> raise</pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre></pre></li><li onclick="toggle('pre140488293812344', 'post140488293812344')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812344')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812344">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><ExtendsNode: extends "site_base.html"></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ExtendsNode: extends "site_base.html">]</pre></td>
</tr>
<tr>
<td>e</td>
<td class="code"><pre>ValueError("invalid literal for int() with base 10: 'None'",)</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code>
<div class="context" id="c140488293812272">
<ol start="116" class="pre-context" id="pre140488293812272"><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> blocks = dict([(n.name, n) for n in</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> compiled_parent.nodelist.get_nodes_by_type(BlockNode)])</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> block_context.add_blocks(blocks)</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> break</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre></pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> # Call Template._render explicitly so the parser context stays</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> # the same.</pre></li></ol>
<ol start="123" class="context-line"><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> return compiled_parent._render(context)</pre> <span>...</span></li></ol>
<ol start='124' class="post-context" id="post140488293812272"><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre></pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre>class BaseIncludeNode(Node):</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> def __init__(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> self.extra_context = kwargs.pop('extra_context', {})</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> self.isolated_context = kwargs.pop('isolated_context', False)</pre></li><li onclick="toggle('pre140488293812272', 'post140488293812272')"><pre> super(BaseIncludeNode, self).__init__(*args, **kwargs)</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812272')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812272">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td>
</tr>
<tr>
<td>block_context</td>
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7fc5fb15b410></pre></td>
</tr>
<tr>
<td>compiled_parent</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fadf7610></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><ExtendsNode: extends "site_base.html"></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>_render</code>
<div class="context" id="c140488293812200">
<ol start="127" class="pre-context" id="pre140488293812200"><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre></pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> yield subnode</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre></pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> def _render(self, context):</pre></li></ol>
<ol start="134" class="context-line"><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol>
<ol start='135' class="post-context" id="post140488293812200"><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre></pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> try:</pre></li><li onclick="toggle('pre140488293812200', 'post140488293812200')"><pre> return self._render(context)</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812200')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812200">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fadf7610></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293812128">
<ol start="833" class="pre-context" id="pre140488293812128"><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre></pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> bits = []</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> for node in self:</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> if isinstance(node, Node):</pre></li></ol>
<ol start="840" class="context-line"><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol>
<ol start='841' class="post-context" id="post140488293812128"><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> else:</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> bit = node</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre></pre></li><li onclick="toggle('pre140488293812128', 'post140488293812128')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812128')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812128">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ExtendsNode: extends "base.html">]</pre></td>
</tr>
<tr>
<td>bits</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code>
<div class="context" id="c140488293812056">
<ol start="71" class="pre-context" id="pre140488293812056"><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre></pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> try:</pre></li></ol>
<ol start="78" class="context-line"><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> return node.render(context)</pre> <span>...</span></li></ol>
<ol start='79' class="post-context" id="post140488293812056"><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre> raise</pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre></pre></li><li onclick="toggle('pre140488293812056', 'post140488293812056')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293812056')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293812056">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ExtendsNode: extends "base.html">]</pre></td>
</tr>
<tr>
<td>e</td>
<td class="code"><pre>ValueError("invalid literal for int() with base 10: 'None'",)</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code>
<div class="context" id="c140488293811984">
<ol start="116" class="pre-context" id="pre140488293811984"><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> blocks = dict([(n.name, n) for n in</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> compiled_parent.nodelist.get_nodes_by_type(BlockNode)])</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> block_context.add_blocks(blocks)</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> break</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre></pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> # Call Template._render explicitly so the parser context stays</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> # the same.</pre></li></ol>
<ol start="123" class="context-line"><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> return compiled_parent._render(context)</pre> <span>...</span></li></ol>
<ol start='124' class="post-context" id="post140488293811984"><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre></pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre>class BaseIncludeNode(Node):</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> def __init__(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> self.extra_context = kwargs.pop('extra_context', {})</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> self.isolated_context = kwargs.pop('isolated_context', False)</pre></li><li onclick="toggle('pre140488293811984', 'post140488293811984')"><pre> super(BaseIncludeNode, self).__init__(*args, **kwargs)</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811984')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811984">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><django.template.defaulttags.LoadNode object at 0x7fc5fadad910></pre></td>
</tr>
<tr>
<td>blocks</td>
<td class="code"><pre>{u'body': <Block Node: body. Contents: []>,
u'body_class': <Block Node: body_class. Contents: []>,
u'body_outer': <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>,
u'extra_head': <Block Node: extra_head. Contents: [<Text Node: '
'>]>,
u'extra_script': <Block Node: extra_script. Contents: []>,
u'extra_tab': <Block Node: extra_tab. Contents: [<Text Node: '
'>]>,
u'extra_user_menu': <Block Node: extra_user_menu. Contents: [<Text Node: '
'>]>,
u'footer': <Block Node: footer. Contents: [<Text Node: '
<footer class="foote'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94c50>, <Text Node: ' <a href="http://geonode.'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94cd0>, <Text Node: '</a> <em>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94e90>, <Text Node: ' '>, <Variable Node: VERSION>, <Text Node: '</em> |
<a hr'>, <django.template.defaulttags.URLNode object at 0x7fc5fadc74d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad990d0>, <Text Node: '</a> |
<a hre'>, <django.template.defaulttags.URLNode object at 0x7fc5fadc7a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadc7a90>, <Text Node: '</a>
</div>
'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadc7b90>, <Text Node: '</label>
'>, <IfNode>, <Text Node: '
</div>
'>]>,
u'head': <Block Node: head. Contents: [<Text Node: '
'>, <IfNode>, <Text Node: '
<link href="'>, <Variable Node: STATIC_URL>, <Text Node: 'geonode/css/ext-compatibi'>, <Variable Node: VERSION>, <Text Node: '" rel="stylesheet" />
'>, <Variable Node: STATIC_URL>, <Text Node: 'geonode/css/base.css?v='>, <Variable Node: VERSION>, <Text Node: '" rel="stylesheet" />
'>, <Block Node: extra_head. Contents: [<Text Node: '
'>]>, <Text Node: '
'>]>,
u'header': <Block Node: header. Contents: [<Text Node: '
<nav class="navbar n'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b690>, <Text Node: '">GeoNode</a>
</d'>, <Block Node: tabs. Contents: [<Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4650>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b8d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0b9d0>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4850>, <Text Node: '</a>
</li>
'>, <Block Node: extra_tab. Contents: [<Text Node: '
'>]>, <Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bb90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0bd10>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bd50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4a50>, <Text Node: '</a>
</li>
'>]>, <Text Node: '
</ul>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bf90>, <Text Node: '" >
<div clas'>, <IfNode>, <Text Node: '
<span cl'>, <IfNode>, <Text Node: '
'>, <IfNode>, <Text Node: '
</ul>
'>]>,
u'middle': <Block Node: middle. Contents: [<Text Node: '
<div class="containe'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94890>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94910>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94750>, <Text Node: '
'>, <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>, <Text Node: '
</div>
'>]>,
u'sidebar': <Block Node: sidebar. Contents: []>,
u'tabs': <Block Node: tabs. Contents: [<Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4650>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b8d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0b9d0>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4850>, <Text Node: '</a>
</li>
'>, <Block Node: extra_tab. Contents: [<Text Node: '
'>]>, <Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bb90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0bd10>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bd50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4a50>, <Text Node: '</a>
</li>
'>]>,
u'title': <Block Node: title. Contents: [<Variable Node: SITE_NAME>]>}</pre></td>
</tr>
<tr>
<td>block_context</td>
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7fc5fb15b410></pre></td>
</tr>
<tr>
<td>n</td>
<td class="code"><pre><Block Node: extra_script. Contents: []></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
<tr>
<td>compiled_parent</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fadf75d0></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>_render</code>
<div class="context" id="c140488293811912">
<ol start="127" class="pre-context" id="pre140488293811912"><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre></pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> yield subnode</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre></pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> def _render(self, context):</pre></li></ol>
<ol start="134" class="context-line"><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol>
<ol start='135' class="post-context" id="post140488293811912"><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre></pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> try:</pre></li><li onclick="toggle('pre140488293811912', 'post140488293811912')"><pre> return self._render(context)</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811912')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811912">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.template.base.Template object at 0x7fc5fadf75d0></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293811840">
<ol start="833" class="pre-context" id="pre140488293811840"><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre></pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> bits = []</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> for node in self:</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> if isinstance(node, Node):</pre></li></ol>
<ol start="840" class="context-line"><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol>
<ol start='841' class="post-context" id="post140488293811840"><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> else:</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> bit = node</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre></pre></li><li onclick="toggle('pre140488293811840', 'post140488293811840')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811840')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811840">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><Block Node: middle. Contents: [<Text Node: '
<div class="containe'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94890>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94910>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94750>, <Text Node: '
'>, <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>, <Text Node: '
</div>
'>]></pre></td>
</tr>
<tr>
<td>bit</td>
<td class="code"><pre>u'\n\n <div class="alert alert-danger alert-dismissible" role="alert" id="ieflag" style="display:none">\n <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h1>You are using an outdated browser that is not supported by GeoNode.</h1>\n <p>Please use a <strong>modern browser</strong> like Mozilla Firefox, Google Chrome or Safari.</p>\n </div>\n\n <div id="wrap">\n '</pre></td>
</tr>
<tr>
<td>bits</td>
<td class="code"><pre>[u'',
u'\n<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1"> \n <title>',
u' Welcome! - GeoNode ',
u'</title>\n ',
u'\n \n <link href="/static/lib/css/assets.min.css?v=2.4" rel="stylesheet"/>\n \n <link href="/static/geonode/css/ext-compatibility.css?v=2.4" rel="stylesheet" />\n <link href="/static/geonode/css/base.css?v=2.4" rel="stylesheet" />\n <style type="text/css">[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}</style>\n \n \n ',
u'\n <!--[if IE]>\n <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>\n <style>\n #ieflag{\n display: block !important;\n height: 150px;\n text-align: center;\n }\n </style>\n <![endif]-->\n <link rel="search" type="application/opensearchdescription+xml" href="/catalogue/opensearch" title="GeoNode Search"/>\n </head>\n \n <body class="',
u'home',
u'">\n\n ',
u'\n <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">\n <div class="container">\n <div class="navbar-header">\n <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n <a class="navbar-brand" href="/">GeoNode</a>\n </div>\n <div id="navbar" class="navbar-collapse collapse">\n <ul class="nav navbar-nav">\n \n <li id="nav_layers">\n <a href="/layers/">Layers</a>\n </li>\n <li id="nav_maps">\n <a href="/maps/">Maps</a>\n </li>\n <li id="nav_documents">\n <a href="/documents/">Documents</a>\n </li>\n \n \n <li id="nav_people">\n <a href="/people/">People</a>\n </li>\n <li id="nav_groups">\n <a href="/groups/">Groups</a>\n </li>\n \n </ul>\n <form class="navbar-form" id="search" action="/search/" >\n <div class="col-md-3">\n <div class="input-group">\n \n <input id="search_input" type="text" placeholder="Search" class="form-control" name="title__icontains">\n \n <span class="input-group-btn">\n <button class="btn btn-primary" type="submit"><i class="fa fa-search"></i></button>\n </span>\n </div>\n </div>\n </form>\n <ul class="nav navbar-nav navbar-right">\n \n \n <li>\n <a href="#" data-toggle="modal" data-target="#SigninModal" role="button" >\n Sign in \n </a>\n </li>\n \n </ul>\n </div><!--/.nav-collapse -->\n </div>\n </nav>\n ',
u'\n\n <div class="alert alert-danger alert-dismissible" role="alert" id="ieflag" style="display:none">\n <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h1>You are using an outdated browser that is not supported by GeoNode.</h1>\n <p>Please use a <strong>modern browser</strong> like Mozilla Firefox, Google Chrome or Safari.</p>\n </div>\n\n <div id="wrap">\n ']</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<django.template.defaulttags.LoadNode object at 0x7fc5fadad910>,
<Text Node: '
<!DOCTYPE html>
<html la'>,
<Block Node: title. Contents: [<Variable Node: SITE_NAME>]>,
<Text Node: '</title>
'>,
<Block Node: head. Contents: [<Text Node: '
'>, <IfNode>, <Text Node: '
<link href="'>, <Variable Node: STATIC_URL>, <Text Node: 'geonode/css/ext-compatibi'>, <Variable Node: VERSION>, <Text Node: '" rel="stylesheet" />
'>, <Variable Node: STATIC_URL>, <Text Node: 'geonode/css/base.css?v='>, <Variable Node: VERSION>, <Text Node: '" rel="stylesheet" />
'>, <Block Node: extra_head. Contents: [<Text Node: '
'>]>, <Text Node: '
'>]>,
<Text Node: '
<!--[if IE]>
<'>,
<Block Node: body_class. Contents: []>,
<Text Node: '">
'>,
<Block Node: header. Contents: [<Text Node: '
<nav class="navbar n'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b690>, <Text Node: '">GeoNode</a>
</d'>, <Block Node: tabs. Contents: [<Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4650>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b8d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0b9d0>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4850>, <Text Node: '</a>
</li>
'>, <Block Node: extra_tab. Contents: [<Text Node: '
'>]>, <Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bb90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0bd10>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bd50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4a50>, <Text Node: '</a>
</li>
'>]>, <Text Node: '
</ul>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bf90>, <Text Node: '" >
<div clas'>, <IfNode>, <Text Node: '
<span cl'>, <IfNode>, <Text Node: '
'>, <IfNode>, <Text Node: '
</ul>
'>]>,
<Text Node: '
<div class="alert a'>,
<Block Node: middle. Contents: [<Text Node: '
<div class="containe'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94890>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94910>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94750>, <Text Node: '
'>, <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>, <Text Node: '
</div>
'>]>,
<Text Node: '
</div>
'>,
<Block Node: footer. Contents: [<Text Node: '
<footer class="foote'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94c50>, <Text Node: ' <a href="http://geonode.'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94cd0>, <Text Node: '</a> <em>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94e90>, <Text Node: ' '>, <Variable Node: VERSION>, <Text Node: '</em> |
<a hr'>, <django.template.defaulttags.URLNode object at 0x7fc5fadc74d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad990d0>, <Text Node: '</a> |
<a hre'>, <django.template.defaulttags.URLNode object at 0x7fc5fadc7a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadc7a90>, <Text Node: '</a>
</div>
'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadc7b90>, <Text Node: '</label>
'>, <IfNode>, <Text Node: '
</div>
'>]>,
<Text Node: '
<!-- Modal must st'>,
<IfNode>,
<Text Node: '
<!-- End of Modal --'>,
<IfNode>,
<Text Node: '
<script src="'>,
<Variable Node: STATIC_URL>,
<Text Node: 'geonode/js/utils/utils.js'>,
<Variable Node: VERSION>,
<Text Node: '"></script>
<script s'>,
<Variable Node: STATIC_URL>,
<Text Node: 'geonode/js/base/base.js?v'>,
<Variable Node: VERSION>,
<Text Node: '"></script>
'>,
<django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fadad590>,
<Text Node: '
<script type="text/j'>,
<django.template.defaulttags.URLNode object at 0x7fc5fad5dd50>,
<Text Node: '"></script>
'>,
<Block Node: extra_script. Contents: []>,
<Text Node: '
<script type="text/j'>,
<django.template.defaulttags.URLNode object at 0x7fc5fadad710>,
<Text Node: '',
choiceSele'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fad5de90>,
<Text Node: '',
appendAuto'>,
<django.template.defaulttags.URLNode object at 0x7fc5fad626d0>,
<Text Node: '"></script>
</body>
</'>]</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code>
<div class="context" id="c140488293811768">
<ol start="71" class="pre-context" id="pre140488293811768"><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre></pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> try:</pre></li></ol>
<ol start="78" class="context-line"><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> return node.render(context)</pre> <span>...</span></li></ol>
<ol start='79' class="post-context" id="post140488293811768"><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre> raise</pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre></pre></li><li onclick="toggle('pre140488293811768', 'post140488293811768')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811768')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811768">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><Block Node: middle. Contents: [<Text Node: '
<div class="containe'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94890>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94910>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94750>, <Text Node: '
'>, <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>, <Text Node: '
</div>
'>]></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<django.template.defaulttags.LoadNode object at 0x7fc5fadad910>,
<Text Node: '
<!DOCTYPE html>
<html la'>,
<Block Node: title. Contents: [<Variable Node: SITE_NAME>]>,
<Text Node: '</title>
'>,
<Block Node: head. Contents: [<Text Node: '
'>, <IfNode>, <Text Node: '
<link href="'>, <Variable Node: STATIC_URL>, <Text Node: 'geonode/css/ext-compatibi'>, <Variable Node: VERSION>, <Text Node: '" rel="stylesheet" />
'>, <Variable Node: STATIC_URL>, <Text Node: 'geonode/css/base.css?v='>, <Variable Node: VERSION>, <Text Node: '" rel="stylesheet" />
'>, <Block Node: extra_head. Contents: [<Text Node: '
'>]>, <Text Node: '
'>]>,
<Text Node: '
<!--[if IE]>
<'>,
<Block Node: body_class. Contents: []>,
<Text Node: '">
'>,
<Block Node: header. Contents: [<Text Node: '
<nav class="navbar n'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b690>, <Text Node: '">GeoNode</a>
</d'>, <Block Node: tabs. Contents: [<Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4650>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0b8d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0b9d0>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fadb4810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4850>, <Text Node: '</a>
</li>
'>, <Block Node: extra_tab. Contents: [<Text Node: '
'>]>, <Text Node: '
<li id="nav_'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bb90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fae0bd10>, <Text Node: '</a>
</li>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bd50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadb4a50>, <Text Node: '</a>
</li>
'>]>, <Text Node: '
</ul>
'>, <django.template.defaulttags.URLNode object at 0x7fc5fae0bf90>, <Text Node: '" >
<div clas'>, <IfNode>, <Text Node: '
<span cl'>, <IfNode>, <Text Node: '
'>, <IfNode>, <Text Node: '
</ul>
'>]>,
<Text Node: '
<div class="alert a'>,
<Block Node: middle. Contents: [<Text Node: '
<div class="containe'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94890>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94910>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94750>, <Text Node: '
'>, <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>, <Text Node: '
</div>
'>]>,
<Text Node: '
</div>
'>,
<Block Node: footer. Contents: [<Text Node: '
<footer class="foote'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94c50>, <Text Node: ' <a href="http://geonode.'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94cd0>, <Text Node: '</a> <em>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad94e90>, <Text Node: ' '>, <Variable Node: VERSION>, <Text Node: '</em> |
<a hr'>, <django.template.defaulttags.URLNode object at 0x7fc5fadc74d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fad990d0>, <Text Node: '</a> |
<a hre'>, <django.template.defaulttags.URLNode object at 0x7fc5fadc7a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadc7a90>, <Text Node: '</a>
</div>
'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fadc7b90>, <Text Node: '</label>
'>, <IfNode>, <Text Node: '
</div>
'>]>,
<Text Node: '
<!-- Modal must st'>,
<IfNode>,
<Text Node: '
<!-- End of Modal --'>,
<IfNode>,
<Text Node: '
<script src="'>,
<Variable Node: STATIC_URL>,
<Text Node: 'geonode/js/utils/utils.js'>,
<Variable Node: VERSION>,
<Text Node: '"></script>
<script s'>,
<Variable Node: STATIC_URL>,
<Text Node: 'geonode/js/base/base.js?v'>,
<Variable Node: VERSION>,
<Text Node: '"></script>
'>,
<django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fadad590>,
<Text Node: '
<script type="text/j'>,
<django.template.defaulttags.URLNode object at 0x7fc5fad5dd50>,
<Text Node: '"></script>
'>,
<Block Node: extra_script. Contents: []>,
<Text Node: '
<script type="text/j'>,
<django.template.defaulttags.URLNode object at 0x7fc5fadad710>,
<Text Node: '',
choiceSele'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fad5de90>,
<Text Node: '',
appendAuto'>,
<django.template.defaulttags.URLNode object at 0x7fc5fad626d0>,
<Text Node: '"></script>
</body>
</'>]</pre></td>
</tr>
<tr>
<td>e</td>
<td class="code"><pre>ValueError("invalid literal for int() with base 10: 'None'",)</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code>
<div class="context" id="c140488293811696">
<ol start="55" class="pre-context" id="pre140488293811696"><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> push = block = block_context.pop(self.name)</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> if block is None:</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> block = self</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> # Create new block so we can store context without thread-safety issues.</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> block = BlockNode(block.name, block.nodelist)</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> block.context = context</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> context['block'] = block</pre></li></ol>
<ol start="62" class="context-line"><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> result = block.nodelist.render(context)</pre> <span>...</span></li></ol>
<ol start='63' class="post-context" id="post140488293811696"><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> if push is not None:</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> block_context.push(self.name, push)</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> context.pop()</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> return result</pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre></pre></li><li onclick="toggle('pre140488293811696', 'post140488293811696')"><pre> def super(self):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811696')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811696">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>push</td>
<td class="code"><pre><Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]></pre></td>
</tr>
<tr>
<td>block_context</td>
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7fc5fb15b410></pre></td>
</tr>
<tr>
<td>block</td>
<td class="code"><pre><Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><Block Node: middle. Contents: [<Text Node: '
<div class="containe'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94890>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94910>, <Text Node: '
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7fc5fad94750>, <Text Node: '
'>, <Block Node: body_outer. Contents: [<Text Node: '
<div class="row">
'>, <Block Node: body. Contents: []>, <Text Node: '
</div>
<'>, <Block Node: sidebar. Contents: []>, <Text Node: '
</div>
</d'>]>, <Text Node: '
</div>
'>]></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293811624">
<ol start="833" class="pre-context" id="pre140488293811624"><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre></pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> bits = []</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> for node in self:</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> if isinstance(node, Node):</pre></li></ol>
<ol start="840" class="context-line"><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol>
<ol start='841' class="post-context" id="post140488293811624"><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> else:</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> bit = node</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre></pre></li><li onclick="toggle('pre140488293811624', 'post140488293811624')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811624')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811624">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]></pre></td>
</tr>
<tr>
<td>bit</td>
<td class="code"><pre>u'\n\n '</pre></td>
</tr>
<tr>
<td>bits</td>
<td class="code"><pre>[u'\n ',
u'\n <div class="container">\n <div class="alert alert-warn" id="status-message" hidden="hidden">\n <a class="close" onclick="$(\'.alert\').hide()">\xd7</a>\n <strong><p id="status-message-text">Placeholder for status-message</p></strong> \n <p id="status-message-text-body">Placeholder for status-message-body</p>\n</div>\n\n \n\n\n\n\n \n\n \n <div class="row">\n <div class="col-md-8">\n \n </div>\n <div class="col-md-4">\n \n </div>\n </div>\n \n </div>\n ',
u'\n ',
u'\n <div class="jumbotron">\n <div class="container">\n <h1>Welcome</h1>\n <p>GeoNode is an open source platform for sharing geospatial data and maps.</p>\n <p>If you have any questions about the software or service, join our <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">mailing list</a>.</p>\n <span>Need help? <a href="http://docs.geonode.org/en/latest/tutorials/users/quickstart/index.html">Getting Started</a></span>\n </div>\n </div>\n ',
u'\n\n ']</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<Text Node: '
'>,
<Variable Node: block.super>,
<Text Node: '
'>,
<Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>,
<Text Node: '
'>,
<Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>,
<Text Node: '
'>]</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code>
<div class="context" id="c140488293811552">
<ol start="71" class="pre-context" id="pre140488293811552"><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre></pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> try:</pre></li></ol>
<ol start="78" class="context-line"><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> return node.render(context)</pre> <span>...</span></li></ol>
<ol start='79' class="post-context" id="post140488293811552"><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre> raise</pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre></pre></li><li onclick="toggle('pre140488293811552', 'post140488293811552')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811552')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811552">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<Text Node: '
'>,
<Variable Node: block.super>,
<Text Node: '
'>,
<Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>,
<Text Node: '
'>,
<Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>,
<Text Node: '
'>]</pre></td>
</tr>
<tr>
<td>e</td>
<td class="code"><pre>ValueError("invalid literal for int() with base 10: 'None'",)</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code>
<div class="context" id="c140488293811480">
<ol start="55" class="pre-context" id="pre140488293811480"><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> push = block = block_context.pop(self.name)</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> if block is None:</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> block = self</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> # Create new block so we can store context without thread-safety issues.</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> block = BlockNode(block.name, block.nodelist)</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> block.context = context</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> context['block'] = block</pre></li></ol>
<ol start="62" class="context-line"><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> result = block.nodelist.render(context)</pre> <span>...</span></li></ol>
<ol start='63' class="post-context" id="post140488293811480"><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> if push is not None:</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> block_context.push(self.name, push)</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> context.pop()</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> return result</pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre></pre></li><li onclick="toggle('pre140488293811480', 'post140488293811480')"><pre> def super(self):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811480')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811480">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>push</td>
<td class="code"><pre><Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]></pre></td>
</tr>
<tr>
<td>block_context</td>
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7fc5fb15b410></pre></td>
</tr>
<tr>
<td>block</td>
<td class="code"><pre><Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293811408">
<ol start="833" class="pre-context" id="pre140488293811408"><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre></pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> bits = []</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> for node in self:</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> if isinstance(node, Node):</pre></li></ol>
<ol start="840" class="context-line"><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol>
<ol start='841' class="post-context" id="post140488293811408"><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> else:</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> bit = node</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre></pre></li><li onclick="toggle('pre140488293811408', 'post140488293811408')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811408')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811408">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><WithNode></pre></td>
</tr>
<tr>
<td>bit</td>
<td class="code"><pre>u'\n <div class="container">\n <div class="row home-facets">\n '</pre></td>
</tr>
<tr>
<td>bits</td>
<td class="code"><pre>[u'\n <div class="container">\n <div class="row home-facets">\n ']</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<Text Node: '
<div class="container"'>,
<WithNode>,
<Text Node: '
</div>
</div>
'>,
<django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>,
<Text Node: '
'>]</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code>
<div class="context" id="c140488293811336">
<ol start="71" class="pre-context" id="pre140488293811336"><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre></pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> try:</pre></li></ol>
<ol start="78" class="context-line"><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> return node.render(context)</pre> <span>...</span></li></ol>
<ol start='79' class="post-context" id="post140488293811336"><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre> raise</pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre></pre></li><li onclick="toggle('pre140488293811336', 'post140488293811336')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811336')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811336">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><WithNode></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<Text Node: '
<div class="container"'>,
<WithNode>,
<Text Node: '
</div>
</div>
'>,
<django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>,
<Text Node: '
'>]</pre></td>
</tr>
<tr>
<td>e</td>
<td class="code"><pre>ValueError("invalid literal for int() with base 10: 'None'",)</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/defaulttags.py</code> in <code>render</code>
<div class="context" id="c140488293811264">
<ol start="499" class="pre-context" id="pre140488293811264"><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> def __repr__(self):</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> return "<WithNode>"</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre></pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> values = dict([(key, val.resolve(context)) for key, val in</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> six.iteritems(self.extra_context)])</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> context.update(values)</pre></li></ol>
<ol start="506" class="context-line"><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> output = self.nodelist.render(context)</pre> <span>...</span></li></ol>
<ol start='507' class="post-context" id="post140488293811264"><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> context.pop()</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> return output</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre></pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre>@register.tag</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre>def autoescape(parser, token):</pre></li><li onclick="toggle('pre140488293811264', 'post140488293811264')"><pre> """</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811264')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811264">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><WithNode></pre></td>
</tr>
<tr>
<td>val</td>
<td class="code"><pre><django.template.base.FilterExpression object at 0x7fc5fb195e90></pre></td>
</tr>
<tr>
<td>values</td>
<td class="code"><pre>{u'facet_type': u'home'}</pre></td>
</tr>
<tr>
<td>key</td>
<td class="code"><pre>u'facet_type'</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293811192">
<ol start="833" class="pre-context" id="pre140488293811192"><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre></pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> bits = []</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> for node in self:</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> if isinstance(node, Node):</pre></li></ol>
<ol start="840" class="context-line"><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol>
<ol start='841' class="post-context" id="post140488293811192"><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> else:</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> bit = node</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre></pre></li><li onclick="toggle('pre140488293811192', 'post140488293811192')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811192')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811192">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><django.template.base.AssignmentNode object at 0x7fc5fb195f10></pre></td>
</tr>
<tr>
<td>bit</td>
<td class="code"><pre>u'\n '</pre></td>
</tr>
<tr>
<td>bits</td>
<td class="code"><pre>[u'\n ']</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<Text Node: '
'>,
<django.template.base.AssignmentNode object at 0x7fc5fb195f10>,
<Text Node: '
<div class="col-md'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb1be690>,
<Text Node: '"><i class="fa fa-square-'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb1be790>,
<Text Node: '">'>,
<Variable Node: facets.layer|default:_("No")>,
<Text Node: ' '>,
<django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb19e210>,
<Text Node: '</a></h2>
<p>'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb19e290>,
<Text Node: '</p>
'>,
<IfNode>,
<Text Node: '
</div>
<div '>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19e6d0>,
<Text Node: '"><i class="fa fa-map-mar'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19e690>,
<Text Node: '">'>,
<Variable Node: facets.map|default:_("No")>,
<Text Node: ' '>,
<django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb19e950>,
<Text Node: '</a></h2>
<p>'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb19e9d0>,
<Text Node: '</p>
'>,
<IfNode>,
<Text Node: '
</div>
<div '>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19edd0>,
<Text Node: '"><i class="fa fa-user fa'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19ed90>,
<Text Node: '">'>,
<Variable Node: facets.user|default:_("No")>,
<Text Node: ' '>,
<django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb1a8090>,
<Text Node: '</a></h2>
<p>'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb1a8110>,
<Text Node: '</p>
<p><a class='>,
<django.template.defaulttags.URLNode object at 0x7fc5fb1cf650>,
<Text Node: '" role="button">'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb1cf690>,
<Text Node: ' »</a></p>
</'>]</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code>
<div class="context" id="c140488293811048">
<ol start="71" class="pre-context" id="pre140488293811048"><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre></pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> try:</pre></li></ol>
<ol start="78" class="context-line"><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> return node.render(context)</pre> <span>...</span></li></ol>
<ol start='79' class="post-context" id="post140488293811048"><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre> raise</pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre></pre></li><li onclick="toggle('pre140488293811048', 'post140488293811048')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293811048')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293811048">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td class="code"><pre><django.template.base.AssignmentNode object at 0x7fc5fb195f10></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<Text Node: '
'>,
<django.template.base.AssignmentNode object at 0x7fc5fb195f10>,
<Text Node: '
<div class="col-md'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb1be690>,
<Text Node: '"><i class="fa fa-square-'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb1be790>,
<Text Node: '">'>,
<Variable Node: facets.layer|default:_("No")>,
<Text Node: ' '>,
<django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb19e210>,
<Text Node: '</a></h2>
<p>'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb19e290>,
<Text Node: '</p>
'>,
<IfNode>,
<Text Node: '
</div>
<div '>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19e6d0>,
<Text Node: '"><i class="fa fa-map-mar'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19e690>,
<Text Node: '">'>,
<Variable Node: facets.map|default:_("No")>,
<Text Node: ' '>,
<django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb19e950>,
<Text Node: '</a></h2>
<p>'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb19e9d0>,
<Text Node: '</p>
'>,
<IfNode>,
<Text Node: '
</div>
<div '>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19edd0>,
<Text Node: '"><i class="fa fa-user fa'>,
<django.template.defaulttags.URLNode object at 0x7fc5fb19ed90>,
<Text Node: '">'>,
<Variable Node: facets.user|default:_("No")>,
<Text Node: ' '>,
<django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb1a8090>,
<Text Node: '</a></h2>
<p>'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb1a8110>,
<Text Node: '</p>
<p><a class='>,
<django.template.defaulttags.URLNode object at 0x7fc5fb1cf650>,
<Text Node: '" role="button">'>,
<django.templatetags.i18n.TranslateNode object at 0x7fc5fb1cf690>,
<Text Node: ' »</a></p>
</'>]</pre></td>
</tr>
<tr>
<td>e</td>
<td class="code"><pre>ValueError("invalid literal for int() with base 10: 'None'",)</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code>
<div class="context" id="c140488293810976">
<ol start="1150" class="pre-context" id="pre140488293810976"><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> class AssignmentNode(TagHelperNode):</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> def __init__(self, takes_context, args, kwargs, target_var):</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> super(AssignmentNode, self).__init__(takes_context, args, kwargs)</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> self.target_var = target_var</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre></pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> resolved_args, resolved_kwargs = self.get_resolved_arguments(context)</pre></li></ol>
<ol start="1157" class="context-line"><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> context[self.target_var] = func(*resolved_args, **resolved_kwargs)</pre> <span>...</span></li></ol>
<ol start='1158' class="post-context" id="post140488293810976"><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> return ''</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre></pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> function_name = (name or</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> getattr(func, '_decorated_function', func).__name__)</pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre></pre></li><li onclick="toggle('pre140488293810976', 'post140488293810976')"><pre> def compile_func(parser, token):</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810976')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810976">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>resolved_kwargs</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.template.base.AssignmentNode object at 0x7fc5fb195f10></pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
<tr>
<td>func</td>
<td class="code"><pre><function facets at 0x7fc5fb1c1c08></pre></td>
</tr>
<tr>
<td>resolved_args</td>
<td class="code"><pre>[[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code>/usr/local/lib/python2.7/dist-packages/geonode/base/templatetags/base_tags.py</code> in <code>facets</code>
<div class="context" id="c140488293810904">
<ol start="27" class="pre-context" id="pre140488293810904"><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> request = context['request']</pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> title_filter = request.GET.get('title__icontains', '')</pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre></pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> facet_type = context['facet_type'] if 'facet_type' in context else 'all'</pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre></pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> if not settings.SKIP_PERMS_FILTER:</pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> authorized = get_objects_for_user(</pre></li></ol>
<ol start="34" class="context-line"><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> request.user, 'base.view_resourcebase').values('id')</pre> <span>...</span></li></ol>
<ol start='35' class="post-context" id="post140488293810904"><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre></pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> if facet_type == 'documents':</pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre></pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> documents = Document.objects.filter(title__icontains=title_filter)</pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre></pre></li><li onclick="toggle('pre140488293810904', 'post140488293810904')"><pre> if settings.RESOURCE_PUBLISHING:</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810904')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810904">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>facet_type</td>
<td class="code"><pre>u'home'</pre></td>
</tr>
<tr>
<td>title_filter</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>"<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',\n '__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',\n '_ga': 'GA1.2.786045677.1451979462',\n 'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',\n 'DOCUMENT_ROOT': '/var/www',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us',\n 'HTTP_CACHE_CONTROL': 'max-age=0',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',\n 'HTTP_HOST': 'opengeo.grida.no',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.2.101.118',\n 'REMOTE_PORT': '63548',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '10.2.101.96',\n 'SERVER_ADMIN': 'webmaster@localhost',\n 'SERVER_NAME': 'opengeo.grida.no',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',\n 'mod_wsgi.application_group': 'localhost|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'geonode',\n 'mod_wsgi.queue_start': '1461056545427540',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'view': <django.views.generic.base.TemplateView object at 0x7fc5fb2026d0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fc5fb1a8950>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5fb15b0d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fc5fb15b1d0>>}, {}, {u'LANGUAGES': (('en', 'English'), ('es', 'Espa\xc3\xb1ol'), ('it', 'Italiano'), ('fr', 'Fran\xc3\xa7ais'), ('de', 'Deutsch'), ('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'), ('id', 'Bahasa Indonesia'), ('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'), ('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'), ('fa', 'Persian'), ('ar', 'Arabic'), ('bn', 'Bengali'), ('ne', 'Nepali'), ('sq', 'Albanian'), ('af', 'Afrikaans'), ('sw', 'Swahili'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('vi', 'Vietnamese'), ('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'), ('am', 'Amharic'), ('km', 'Khmer'), ('pl', 'Polish'), ('sv', 'Swedish'), ('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'), ('uk', 'Ukranian'), ('si', 'Sinhala'), ('ta', 'Tamil'), ('tl', 'Tagalog')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en'}, {u'TIME_ZONE': 'America/Chicago'}, {u'MEDIA_URL': '/uploaded/'}, {u'STATIC_URL': '/static/'}, {u'request': <WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '260051035.786045677.1451979462.1460634052.1460705735.40',
'__utmz': '260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
'_ga': 'GA1.2.786045677.1451979462',
'csrftoken': '1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'},
META:{'CONTEXT_DOCUMENT_ROOT': '/var/www',
'CONTEXT_PREFIX': '',
u'CSRF_COOKIE': u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3',
'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462',
'HTTP_HOST': 'opengeo.grida.no',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/geonode/wsgi/geonode.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.2.101.118',
'REMOTE_PORT': '63548',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/geonode/wsgi/geonode.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.101.96',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'opengeo.grida.no',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.4.7 (Ubuntu)',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'geonode',
'mod_wsgi.queue_start': '1461056545427540',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7fc6130e56b0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fc61317c828>,
'wsgi.input': <mod_wsgi.Input object at 0x7fc6131f0bf0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5fb202490>}, {u'ACCOUNT_OPEN_SIGNUP': True, u'account': <account.models.AnonymousAccount object at 0x7fc5fb15b250>}, {'SITE_DOMAIN': u'opengeo.grida.no', 'SITE_NAME': u'GeoNode', 'SEARCH_FILTERS': {'REGION_ENABLED': True, 'KEYWORDS_ENABLED': True, 'CATEGORIES_ENABLED': True, 'TYPE_ENABLED': True, 'OWNERS_ENABLED': True, 'EXTENT_ENABLED': True, 'DATE_ENABLED': True, 'TEXT_ENABLED': True}, 'OPENGRAPH_ENABLED': True, 'THEME_ACCOUNT_CONTACT_EMAIL': 'admin@example.com', 'TWITTER_HASHTAGS': ['geonode'], 'EXIF_ENABLED': False, 'SOCIAL_BUTTONS': True, 'STATIC_URL': '/static/', 'CATALOGUE_BASE_URL': 'http://opengeo.grida.no/catalogue/csw', 'LICENSES_ENABLED': True, 'VERSION': '2.4', 'SKIP_PERMS_FILTER': False, 'USE_NOTIFICATIONS': False, 'LICENSES_METADATA': 'verbose', 'SRID_DETAIL': 'never', 'TWITTER_SITE': '@GeoNode', 'HAYSTACK_SEARCH': False, 'DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION': True, 'LICENSES_DETAIL': 'above', 'DEBUG_STATIC': False, 'NLP_ENABLED': False, 'HAYSTACK_FACET_COUNTS': False, 'RESOURCE_PUBLISHING': False, 'TWITTER_CARD': True, 'REGISTRATION_OPEN': False, 'CLIENT_RESULTS_LIMIT': 100, 'DEFAULT_ANONYMOUS_VIEW_PERMISSION': True, 'PROXY_URL': '/proxy/?url='}, {'GEOSERVER_BASE_URL': 'http://opengeo.grida.no/geoserver/', 'UPLOADER_URL': '/layers/upload', 'MAPFISH_PRINT_ENABLED': True, 'TIME_ENABLED': False, 'GEONODE_SECURITY_ENABLED': True, 'PRINT_NG_ENABLED': True, 'GEOGIG_ENABLED': False}, {'block': <Block Node: middle. Contents: [<Text Node: '
'>, <Variable Node: block.super>, <Text Node: '
'>, <Block Node: hero. Contents: [<Text Node: '
<div class="jumbotron"'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195690>, <Text Node: '</h1>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195a10>, <Text Node: '</p>
<p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fc5fb195b50>, <Text Node: '</p>
<span>'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195c10>, <Text Node: ' <a href="http://docs.geo'>, <django.templatetags.i18n.TranslateNode object at 0x7fc5fb195950>, <Text Node: '</a></span>
</div>
'>]>, <Text Node: '
'>, <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>, <Text Node: '
'>]>}, {'block': <Block Node: mainbody. Contents: [<Text Node: '
<div class="container"'>, <WithNode>, <Text Node: '
</div>
</div>
'>, <django.template.defaulttags.VerbatimNode object at 0x7fc5fb1a8490>, <Text Node: '
'>]>}, {u'facet_type': u'home'}]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code>/usr/lib/python2.7/dist-packages/guardian/shortcuts.py</code> in <code>get_objects_for_user</code>
<div class="context" id="c140488293810832">
<ol start="416" class="pre-context" id="pre140488293810832"><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> keyfunc = lambda t: t[0] # sorting/grouping by pk (first in result tuple)</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> data = sorted(data, key=keyfunc)</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> pk_list = []</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> for pk, group in groupby(data, keyfunc):</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> obj_codenames = set((e[1] for e in group))</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> if codenames.issubset(obj_codenames):</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> pk_list.append(pk)</pre></li></ol>
<ol start="423" class="context-line"><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> objects = queryset.filter(pk__in=pk_list)</pre> <span>...</span></li></ol>
<ol start='424' class="post-context" id="post140488293810832"><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> return objects</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre></pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> if not any_perm:</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> counts = user_obj_perms_queryset.values(fields[0]).annotate(object_pk_count=Count(fields[0]))</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre> user_obj_perms_queryset = counts.filter(object_pk_count__gte=len(codenames))</pre></li><li onclick="toggle('pre140488293810832', 'post140488293810832')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810832')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810832">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>new_ctype</td>
<td class="code"><pre><ContentType: resource base></pre></td>
</tr>
<tr>
<td>user_obj_perms_queryset</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>perms</td>
<td class="code"><pre>['base.view_resourcebase']</pre></td>
</tr>
<tr>
<td>queryset</td>
<td class="code"><pre>[<ResourceBase: Sill geomorphic feature layer>, <ResourceBase: Slope geomorphic feature layer>, <ResourceBase: Spreading ridges geomorphic feature layer>, <ResourceBase: Terrace geomorphic feature layer>, <ResourceBase: Trench geomorphic feature layer>, <ResourceBase: Trough geomorphic feature layer>, <ResourceBase: Abyss geomorphic feature layer>, <ResourceBase: Abyssal classification geomorphic feature layer>, <ResourceBase: Basin geomorphic feature layer>, <ResourceBase: Bridge geomorphic feature layer>, <ResourceBase: Canyon geomorphic feature layer>, <ResourceBase: Escarpment geomorphic feature layer>, <ResourceBase: Fan geomorphic feature layer>, <ResourceBase: Glacial trough geomorphic feature layer>, <ResourceBase: Guyot geomorphic feature layer>, <ResourceBase: Hadal geomorphic feature layer>, <ResourceBase: Plateau geomorphic feature layer>, <ResourceBase: Ridge geomorphic feature layer>, <ResourceBase: Rift valley geomorphic feature layer>, <ResourceBase: Rise geomorphic feature layer>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>group_model</td>
<td class="code"><pre><class 'guardian.models.GroupObjectPermission'></pre></td>
</tr>
<tr>
<td>pk_list</td>
<td class="code"><pre>[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']</pre></td>
</tr>
<tr>
<td>keyfunc</td>
<td class="code"><pre><function <lambda> at 0x7fc5fadbc8c0></pre></td>
</tr>
<tr>
<td>new_app_label</td>
<td class="code"><pre>u'base'</pre></td>
</tr>
<tr>
<td>user_model</td>
<td class="code"><pre><class 'guardian.models.UserObjectPermission'></pre></td>
</tr>
<tr>
<td>group</td>
<td class="code"><pre><itertools._grouper object at 0x7fc5fad80350></pre></td>
</tr>
<tr>
<td>perm</td>
<td class="code"><pre>'base.view_resourcebase'</pre></td>
</tr>
<tr>
<td>pk</td>
<td class="code"><pre>u'None'</pre></td>
</tr>
<tr>
<td>codename</td>
<td class="code"><pre>u'view_resourcebase'</pre></td>
</tr>
<tr>
<td>groups_obj_perms_queryset</td>
<td class="code"><pre>[<GroupObjectPermission: Sill geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Slope geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Spreading ridges geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Terrace geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Trench geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Trough geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Abyss geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Abyssal classification geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Basin geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Bridge geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Canyon geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Escarpment geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Fan geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Glacial trough geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Guyot geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Hadal geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Plateau geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Ridge geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Rift valley geomorphic feature layer | anonymous | view_resourcebase>, <GroupObjectPermission: Rise geomorphic feature layer | anonymous | view_resourcebase>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>use_groups</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>any_perm</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ctype</td>
<td class="code"><pre><ContentType: resource base></pre></td>
</tr>
<tr>
<td>groups_obj_perms</td>
<td class="code"><pre>[(u'1', u'view_resourcebase'), (u'2', u'view_resourcebase'), (u'3', u'view_resourcebase'), (u'4', u'view_resourcebase'), (u'5', u'view_resourcebase'), (u'6', u'view_resourcebase'), (u'7', u'view_resourcebase'), (u'8', u'view_resourcebase'), (u'9', u'view_resourcebase'), (u'10', u'view_resourcebase'), (u'11', u'view_resourcebase'), (u'12', u'view_resourcebase'), (u'13', u'view_resourcebase'), (u'14', u'view_resourcebase'), (u'15', u'view_resourcebase'), (u'16', u'view_resourcebase'), (u'17', u'view_resourcebase'), (u'18', u'view_resourcebase'), (u'19', u'view_resourcebase'), (u'20', u'view_resourcebase'), '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>user</td>
<td class="code"><pre><Profile: AnonymousUser></pre></td>
</tr>
<tr>
<td>obj_codenames</td>
<td class="code"><pre>set([u'view_resourcebase'])</pre></td>
</tr>
<tr>
<td>data</td>
<td class="code"><pre>[(u'1', u'view_resourcebase'),
(u'10', u'view_resourcebase'),
(u'11', u'view_resourcebase'),
(u'12', u'view_resourcebase'),
(u'13', u'view_resourcebase'),
(u'14', u'view_resourcebase'),
(u'15', u'view_resourcebase'),
(u'16', u'view_resourcebase'),
(u'17', u'view_resourcebase'),
(u'18', u'view_resourcebase'),
(u'19', u'view_resourcebase'),
(u'2', u'view_resourcebase'),
(u'20', u'view_resourcebase'),
(u'21', u'view_resourcebase'),
(u'22', u'view_resourcebase'),
(u'23', u'view_resourcebase'),
(u'24', u'view_resourcebase'),
(u'25', u'view_resourcebase'),
(u'26', u'view_resourcebase'),
(u'27', u'view_resourcebase'),
(u'28', u'view_resourcebase'),
(u'29', u'view_resourcebase'),
(u'3', u'view_resourcebase'),
(u'30', u'view_resourcebase'),
(u'31', u'view_resourcebase'),
(u'32', u'view_resourcebase'),
(u'33', u'view_resourcebase'),
(u'34', u'view_resourcebase'),
(u'35', u'view_resourcebase'),
(u'36', u'view_resourcebase'),
(u'37', u'view_resourcebase'),
(u'38', u'view_resourcebase'),
(u'39', u'view_resourcebase'),
(u'4', u'view_resourcebase'),
(u'40', u'view_resourcebase'),
(u'41', u'view_resourcebase'),
(u'42', u'view_resourcebase'),
(u'43', u'view_resourcebase'),
(u'5', u'view_resourcebase'),
(u'6', u'view_resourcebase'),
(u'7', u'view_resourcebase'),
(u'8', u'view_resourcebase'),
(u'9', u'view_resourcebase'),
(u'None', u'view_resourcebase')]</pre></td>
</tr>
<tr>
<td>fields</td>
<td class="code"><pre>[u'object_pk', u'permission__codename']</pre></td>
</tr>
<tr>
<td>codenames</td>
<td class="code"><pre>set([u'view_resourcebase'])</pre></td>
</tr>
<tr>
<td>klass</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>app_label</td>
<td class="code"><pre>u'base'</pre></td>
</tr>
<tr>
<td>group_filters</td>
<td class="code"><pre>{u'group__user': <Profile: AnonymousUser>,
u'permission__codename__in': set([u'view_resourcebase']),
u'permission__content_type': <ContentType: resource base>}</pre></td>
</tr>
<tr>
<td>user_obj_perms</td>
<td class="code"><pre>[]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/query.py</code> in <code>filter</code>
<div class="context" id="c140488293810760">
<ol start="586" class="pre-context" id="pre140488293810760"><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> return self._clone()</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre></pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> def filter(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> """</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> Returns a new QuerySet instance with the args ANDed to the existing</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> set.</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> """</pre></li></ol>
<ol start="593" class="context-line"><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> return self._filter_or_exclude(False, *args, **kwargs)</pre> <span>...</span></li></ol>
<ol start='594' class="post-context" id="post140488293810760"><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre></pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> def exclude(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> """</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> Returns a new QuerySet instance with NOT (args) ANDed to the existing</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> set.</pre></li><li onclick="toggle('pre140488293810760', 'post140488293810760')"><pre> """</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810760')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810760">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre>[<ResourceBase: Sill geomorphic feature layer>, <ResourceBase: Slope geomorphic feature layer>, <ResourceBase: Spreading ridges geomorphic feature layer>, <ResourceBase: Terrace geomorphic feature layer>, <ResourceBase: Trench geomorphic feature layer>, <ResourceBase: Trough geomorphic feature layer>, <ResourceBase: Abyss geomorphic feature layer>, <ResourceBase: Abyssal classification geomorphic feature layer>, <ResourceBase: Basin geomorphic feature layer>, <ResourceBase: Bridge geomorphic feature layer>, <ResourceBase: Canyon geomorphic feature layer>, <ResourceBase: Escarpment geomorphic feature layer>, <ResourceBase: Fan geomorphic feature layer>, <ResourceBase: Glacial trough geomorphic feature layer>, <ResourceBase: Guyot geomorphic feature layer>, <ResourceBase: Hadal geomorphic feature layer>, <ResourceBase: Plateau geomorphic feature layer>, <ResourceBase: Ridge geomorphic feature layer>, <ResourceBase: Rift valley geomorphic feature layer>, <ResourceBase: Rise geomorphic feature layer>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{'pk__in': [u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']}</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code>/usr/lib/python2.7/dist-packages/polymorphic/query.py</code> in <code>_filter_or_exclude</code>
<div class="context" id="c140488293810688">
<ol start="81" class="pre-context" id="pre140488293810688"><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> Implementation in _translate_polymorphic_filter_defnition."""</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> return self.filter(not_instance_of=args)</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre></pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> def _filter_or_exclude(self, negate, *args, **kwargs):</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> "We override this internal Django functon as it is used for all filter member functions."</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> translate_polymorphic_filter_definitions_in_args(self.model, args) # the Q objects</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> additional_args = translate_polymorphic_filter_definitions_in_kwargs(self.model, kwargs) # filter_field='data'</pre></li></ol>
<ol start="88" class="context-line"><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> return super(PolymorphicQuerySet, self)._filter_or_exclude(negate, *(list(args) + additional_args), **kwargs)</pre> <span>...</span></li></ol>
<ol start='89' class="post-context" id="post140488293810688"><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre></pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> def order_by(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> """translate the field paths in the args, then call vanilla order_by."""</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> new_args = [translate_polymorphic_field_path(self.model, a) for a in args]</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre> return super(PolymorphicQuerySet, self).order_by(*new_args, **kwargs)</pre></li><li onclick="toggle('pre140488293810688', 'post140488293810688')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810688')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810688">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>negate</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>additional_args</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ResourceBase: Sill geomorphic feature layer>, <ResourceBase: Slope geomorphic feature layer>, <ResourceBase: Spreading ridges geomorphic feature layer>, <ResourceBase: Terrace geomorphic feature layer>, <ResourceBase: Trench geomorphic feature layer>, <ResourceBase: Trough geomorphic feature layer>, <ResourceBase: Abyss geomorphic feature layer>, <ResourceBase: Abyssal classification geomorphic feature layer>, <ResourceBase: Basin geomorphic feature layer>, <ResourceBase: Bridge geomorphic feature layer>, <ResourceBase: Canyon geomorphic feature layer>, <ResourceBase: Escarpment geomorphic feature layer>, <ResourceBase: Fan geomorphic feature layer>, <ResourceBase: Glacial trough geomorphic feature layer>, <ResourceBase: Guyot geomorphic feature layer>, <ResourceBase: Hadal geomorphic feature layer>, <ResourceBase: Plateau geomorphic feature layer>, <ResourceBase: Ridge geomorphic feature layer>, <ResourceBase: Rift valley geomorphic feature layer>, <ResourceBase: Rise geomorphic feature layer>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{'pk__in': [u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']}</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code>/usr/lib/python2.7/dist-packages/modeltranslation/manager.py</code> in <code>_filter_or_exclude</code>
<div class="context" id="c140488293810616">
<ol start="285" class="pre-context" id="pre140488293810616"><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> if not self._rewrite:</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> return super(MultilingualQuerySet, self)._filter_or_exclude(negate, *args, **kwargs)</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> args = map(self._rewrite_q, args)</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> for key, val in list(kwargs.items()):</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> new_key = rewrite_lookup_key(self.model, key)</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> del kwargs[key]</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> kwargs[new_key] = self._rewrite_f(val)</pre></li></ol>
<ol start="292" class="context-line"><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> return super(MultilingualQuerySet, self)._filter_or_exclude(negate, *args, **kwargs)</pre> <span>...</span></li></ol>
<ol start='293' class="post-context" id="post140488293810616"><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre></pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> def _get_original_fields(self):</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> return [f.attname for f in self.model._meta.fields if not isinstance(f, TranslationField)]</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre></pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> def order_by(self, *field_names):</pre></li><li onclick="toggle('pre140488293810616', 'post140488293810616')"><pre> """</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810616')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810616">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>val</td>
<td class="code"><pre>[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ResourceBase: Sill geomorphic feature layer>, <ResourceBase: Slope geomorphic feature layer>, <ResourceBase: Spreading ridges geomorphic feature layer>, <ResourceBase: Terrace geomorphic feature layer>, <ResourceBase: Trench geomorphic feature layer>, <ResourceBase: Trough geomorphic feature layer>, <ResourceBase: Abyss geomorphic feature layer>, <ResourceBase: Abyssal classification geomorphic feature layer>, <ResourceBase: Basin geomorphic feature layer>, <ResourceBase: Bridge geomorphic feature layer>, <ResourceBase: Canyon geomorphic feature layer>, <ResourceBase: Escarpment geomorphic feature layer>, <ResourceBase: Fan geomorphic feature layer>, <ResourceBase: Glacial trough geomorphic feature layer>, <ResourceBase: Guyot geomorphic feature layer>, <ResourceBase: Hadal geomorphic feature layer>, <ResourceBase: Plateau geomorphic feature layer>, <ResourceBase: Ridge geomorphic feature layer>, <ResourceBase: Rift valley geomorphic feature layer>, <ResourceBase: Rise geomorphic feature layer>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>args</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>key</td>
<td class="code"><pre>'pk__in'</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{'pk__in': [u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']}</pre></td>
</tr>
<tr>
<td>negate</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>new_key</td>
<td class="code"><pre>'pk__in'</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/query.py</code> in <code>_filter_or_exclude</code>
<div class="context" id="c140488293810544">
<ol start="604" class="pre-context" id="pre140488293810544"><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> assert self.query.can_filter(), \</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> "Cannot filter a query once a slice has been taken."</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre></pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> clone = self._clone()</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> if negate:</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> clone.query.add_q(~Q(*args, **kwargs))</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> else:</pre></li></ol>
<ol start="611" class="context-line"><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> clone.query.add_q(Q(*args, **kwargs))</pre> <span>...</span></li></ol>
<ol start='612' class="post-context" id="post140488293810544"><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> return clone</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre></pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> def complex_filter(self, filter_obj):</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> """</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre> Returns a new QuerySet instance with filter_obj added to the filters.</pre></li><li onclick="toggle('pre140488293810544', 'post140488293810544')"><pre></pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810544')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810544">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>negate</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>clone</td>
<td class="code"><pre>[<ResourceBase: Sill geomorphic feature layer>, <ResourceBase: Slope geomorphic feature layer>, <ResourceBase: Spreading ridges geomorphic feature layer>, <ResourceBase: Terrace geomorphic feature layer>, <ResourceBase: Trench geomorphic feature layer>, <ResourceBase: Trough geomorphic feature layer>, <ResourceBase: Abyss geomorphic feature layer>, <ResourceBase: Abyssal classification geomorphic feature layer>, <ResourceBase: Basin geomorphic feature layer>, <ResourceBase: Bridge geomorphic feature layer>, <ResourceBase: Canyon geomorphic feature layer>, <ResourceBase: Escarpment geomorphic feature layer>, <ResourceBase: Fan geomorphic feature layer>, <ResourceBase: Glacial trough geomorphic feature layer>, <ResourceBase: Guyot geomorphic feature layer>, <ResourceBase: Hadal geomorphic feature layer>, <ResourceBase: Plateau geomorphic feature layer>, <ResourceBase: Ridge geomorphic feature layer>, <ResourceBase: Rift valley geomorphic feature layer>, <ResourceBase: Rise geomorphic feature layer>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>[<ResourceBase: Sill geomorphic feature layer>, <ResourceBase: Slope geomorphic feature layer>, <ResourceBase: Spreading ridges geomorphic feature layer>, <ResourceBase: Terrace geomorphic feature layer>, <ResourceBase: Trench geomorphic feature layer>, <ResourceBase: Trough geomorphic feature layer>, <ResourceBase: Abyss geomorphic feature layer>, <ResourceBase: Abyssal classification geomorphic feature layer>, <ResourceBase: Basin geomorphic feature layer>, <ResourceBase: Bridge geomorphic feature layer>, <ResourceBase: Canyon geomorphic feature layer>, <ResourceBase: Escarpment geomorphic feature layer>, <ResourceBase: Fan geomorphic feature layer>, <ResourceBase: Glacial trough geomorphic feature layer>, <ResourceBase: Guyot geomorphic feature layer>, <ResourceBase: Hadal geomorphic feature layer>, <ResourceBase: Plateau geomorphic feature layer>, <ResourceBase: Ridge geomorphic feature layer>, <ResourceBase: Rift valley geomorphic feature layer>, <ResourceBase: Rise geomorphic feature layer>, '...(remaining elements truncated)...']</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{'pk__in': [u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']}</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py</code> in <code>add_q</code>
<div class="context" id="c140488293785184">
<ol start="1197" class="pre-context" id="pre140488293785184"><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> """</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> if not self.need_having(q_object):</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> where_part, having_parts = q_object, []</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> else:</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> where_part, having_parts = self.split_having_parts(</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> q_object.clone(), q_object.negated)</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> used_aliases = self.used_aliases</pre></li></ol>
<ol start="1204" class="context-line"><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> clause = self._add_q(where_part, used_aliases)</pre> <span>...</span></li></ol>
<ol start='1205' class="post-context" id="post140488293785184"><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> self.where.add(clause, AND)</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> for hp in having_parts:</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> clause = self._add_q(hp, used_aliases)</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> self.having.add(clause, AND)</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> if self.filter_is_sticky:</pre></li><li onclick="toggle('pre140488293785184', 'post140488293785184')"><pre> self.used_aliases = used_aliases</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293785184')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293785184">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>where_part</td>
<td class="code"><pre><django.db.models.query_utils.Q object at 0x7fc5fad80850></pre></td>
</tr>
<tr>
<td>used_aliases</td>
<td class="code"><pre>set([u'base_resourcebase'])</pre></td>
</tr>
<tr>
<td>having_parts</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.sql.query.Query object at 0x7fc5fad80250></pre></td>
</tr>
<tr>
<td>q_object</td>
<td class="code"><pre><django.db.models.query_utils.Q object at 0x7fc5fad80850></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py</code> in <code>_add_q</code>
<div class="context" id="c140488293785256">
<ol start="1233" class="pre-context" id="pre140488293785256"><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> if isinstance(child, Node):</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> child_clause = self._add_q(</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> child, used_aliases, branch_negated,</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> current_negated)</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> else:</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> child_clause = self.build_filter(</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> child, can_reuse=used_aliases, branch_negated=branch_negated,</pre></li></ol>
<ol start="1240" class="context-line"><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> current_negated=current_negated)</pre> <span>...</span></li></ol>
<ol start='1241' class="post-context" id="post140488293785256"><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> target_clause.add(child_clause, connector)</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> if effective_connector == OR:</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> used = alias_diff(refcounts_before, self.alias_refcount)</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> for alias in used:</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> alias_usage_counts[alias] = alias_usage_counts.get(alias, 0) + 1</pre></li><li onclick="toggle('pre140488293785256', 'post140488293785256')"><pre> if effective_connector == OR:</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293785256')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293785256">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>effective_connector</td>
<td class="code"><pre>u'AND'</pre></td>
</tr>
<tr>
<td>used_aliases</td>
<td class="code"><pre>set([u'base_resourcebase'])</pre></td>
</tr>
<tr>
<td>current_negated</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>target_clause</td>
<td class="code"><pre><django.db.models.sql.where.WhereNode object at 0x7fc5fad808d0></pre></td>
</tr>
<tr>
<td>branch_negated</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.sql.query.Query object at 0x7fc5fad80250></pre></td>
</tr>
<tr>
<td>child</td>
<td class="code"><pre>('pk__in',
[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None'])</pre></td>
</tr>
<tr>
<td>connector</td>
<td class="code"><pre>u'AND'</pre></td>
</tr>
<tr>
<td>q_object</td>
<td class="code"><pre><django.db.models.query_utils.Q object at 0x7fc5fad80850></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py</code> in <code>build_filter</code>
<div class="context" id="c140488293810472">
<ol start="1124" class="pre-context" id="pre140488293810472"><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> targets, alias, join_list = self.trim_joins(sources, join_list, path)</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre></pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> if hasattr(field, 'get_lookup_constraint'):</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> constraint = field.get_lookup_constraint(self.where_class, alias, targets, sources,</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> lookup_type, value)</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> else:</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> constraint = (Constraint(alias, targets[0].column, field), lookup_type, value)</pre></li></ol>
<ol start="1131" class="context-line"><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> clause.add(constraint, AND)</pre> <span>...</span></li></ol>
<ol start='1132' class="post-context" id="post140488293810472"><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> if current_negated and (lookup_type != 'isnull' or value is False):</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> self.promote_joins(join_list)</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> if (lookup_type != 'isnull' and (</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> self.is_nullable(targets[0]) or</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> self.alias_map[join_list[-1]].join_type == self.LOUTER)):</pre></li><li onclick="toggle('pre140488293810472', 'post140488293810472')"><pre> # The condition added here will be SQL like this:</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810472')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810472">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>current_negated</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>branch_negated</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>sources</td>
<td class="code"><pre>(<django.db.models.fields.AutoField: id>,)</pre></td>
</tr>
<tr>
<td>num_parts</td>
<td class="code"><pre>2</pre></td>
</tr>
<tr>
<td>arg</td>
<td class="code"><pre>'pk__in'</pre></td>
</tr>
<tr>
<td>targets</td>
<td class="code"><pre>(<django.db.models.fields.AutoField: id>,)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.sql.query.Query object at 0x7fc5fad80250></pre></td>
</tr>
<tr>
<td>field</td>
<td class="code"><pre><django.db.models.fields.AutoField: id></pre></td>
</tr>
<tr>
<td>parts</td>
<td class="code"><pre>['pk']</pre></td>
</tr>
<tr>
<td>filter_expr</td>
<td class="code"><pre>('pk__in',
[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None'])</pre></td>
</tr>
<tr>
<td>join_list</td>
<td class="code"><pre>[u'base_resourcebase']</pre></td>
</tr>
<tr>
<td>path</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>can_reuse</td>
<td class="code"><pre>set([u'base_resourcebase'])</pre></td>
</tr>
<tr>
<td>field_name</td>
<td class="code"><pre>'pk'</pre></td>
</tr>
<tr>
<td>allow_many</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>lookup_model</td>
<td class="code"><pre><class 'geonode.base.models.ResourceBase'></pre></td>
</tr>
<tr>
<td>constraint</td>
<td class="code"><pre>(<django.db.models.sql.where.Constraint object at 0x7fc5fad80990>,
'in',
[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None'])</pre></td>
</tr>
<tr>
<td>lookup_type</td>
<td class="code"><pre>'in'</pre></td>
</tr>
<tr>
<td>counter</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>clause</td>
<td class="code"><pre><django.db.models.sql.where.WhereNode object at 0x7fc5fad80950></pre></td>
</tr>
<tr>
<td>value</td>
<td class="code"><pre>[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']</pre></td>
</tr>
<tr>
<td>alias</td>
<td class="code"><pre>u'base_resourcebase'</pre></td>
</tr>
<tr>
<td>opts</td>
<td class="code"><pre><Options for ResourceBase></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/utils/tree.py</code> in <code>add</code>
<div class="context" id="c140488293810400">
<ol start="97" class="pre-context" id="pre140488293810400"><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> regardless if the node other got squashed or not.</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre></pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> If `squash` is False the data is prepared and added as a child to</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> this tree without further logic.</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> """</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> if data in self.children:</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> return data</pre></li></ol>
<ol start="104" class="context-line"><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> data = self._prepare_data(data)</pre> <span>...</span></li></ol>
<ol start='105' class="post-context" id="post140488293810400"><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> if not squash:</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> self.children.append(data)</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> return data</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> if self.connector == conn_type:</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> # We can reuse self.children to append or squash the node other.</pre></li><li onclick="toggle('pre140488293810400', 'post140488293810400')"><pre> if (isinstance(data, Node) and not data.negated</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810400')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810400">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>conn_type</td>
<td class="code"><pre>'AND'</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.sql.where.WhereNode object at 0x7fc5fad80950></pre></td>
</tr>
<tr>
<td>data</td>
<td class="code"><pre>(<django.db.models.sql.where.Constraint object at 0x7fc5fad80990>,
'in',
[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None'])</pre></td>
</tr>
<tr>
<td>squash</td>
<td class="code"><pre>True</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/sql/where.py</code> in <code>_prepare_data</code>
<div class="context" id="c140488293810328">
<ol start="72" class="pre-context" id="pre140488293810328"><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> value_annotation = datetime.datetime</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> elif hasattr(value, 'value_annotation'):</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> value_annotation = value.value_annotation</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> else:</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> value_annotation = bool(value)</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre></pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> if hasattr(obj, "prepare"):</pre></li></ol>
<ol start="79" class="context-line"><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> value = obj.prepare(lookup_type, value)</pre> <span>...</span></li></ol>
<ol start='80' class="post-context" id="post140488293810328"><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> return (obj, lookup_type, value_annotation, value)</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre></pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> def as_sql(self, qn, connection):</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> """</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> Returns the SQL version of the where clause and the value to be</pre></li><li onclick="toggle('pre140488293810328', 'post140488293810328')"><pre> substituted in. Returns '', [] if this node matches everything,</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810328')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810328">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>value_annotation</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>obj</td>
<td class="code"><pre><django.db.models.sql.where.Constraint object at 0x7fc5fad80990></pre></td>
</tr>
<tr>
<td>lookup_type</td>
<td class="code"><pre>'in'</pre></td>
</tr>
<tr>
<td>value</td>
<td class="code"><pre>[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']</pre></td>
</tr>
<tr>
<td>data</td>
<td class="code"><pre>(<django.db.models.sql.where.Constraint object at 0x7fc5fad80990>,
'in',
[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None'])</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.sql.where.WhereNode object at 0x7fc5fad80950></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/sql/where.py</code> in <code>prepare</code>
<div class="context" id="c140488293810256">
<ol start="345" class="pre-context" id="pre140488293810256"><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> pre-process itself prior to including in the WhereNode.</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> """</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> def __init__(self, alias, col, field):</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> self.alias, self.col, self.field = alias, col, field</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre></pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> def prepare(self, lookup_type, value):</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> if self.field:</pre></li></ol>
<ol start="352" class="context-line"><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> return self.field.get_prep_lookup(lookup_type, value)</pre> <span>...</span></li></ol>
<ol start='353' class="post-context" id="post140488293810256"><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> return value</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre></pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> def process(self, lookup_type, value, connection):</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> """</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> Returns a tuple of data suitable for inclusion in a WhereNode</pre></li><li onclick="toggle('pre140488293810256', 'post140488293810256')"><pre> instance.</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293810256')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293810256">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>lookup_type</td>
<td class="code"><pre>'in'</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.sql.where.Constraint object at 0x7fc5fad80990></pre></td>
</tr>
<tr>
<td>value</td>
<td class="code"><pre>[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py</code> in <code>get_prep_lookup</code>
<div class="context" id="c140488293785544">
<ol start="364" class="pre-context" id="pre140488293785544"><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> 'month', 'day', 'week_day', 'hour', 'minute', 'second',</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> 'isnull', 'search', 'regex', 'iregex',</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> ):</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> return value</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> elif lookup_type in ('exact', 'gt', 'gte', 'lt', 'lte'):</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> return self.get_prep_value(value)</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> elif lookup_type in ('range', 'in'):</pre></li></ol>
<ol start="371" class="context-line"><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> return [self.get_prep_value(v) for v in value]</pre> <span>...</span></li></ol>
<ol start='372' class="post-context" id="post140488293785544"><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> elif lookup_type == 'year':</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> try:</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> return int(value)</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> except ValueError:</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> raise ValueError("The __year lookup type requires an integer "</pre></li><li onclick="toggle('pre140488293785544', 'post140488293785544')"><pre> "argument")</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293785544')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293785544">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>lookup_type</td>
<td class="code"><pre>'in'</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.fields.AutoField: id></pre></td>
</tr>
<tr>
<td>value</td>
<td class="code"><pre>[u'1',
u'10',
u'11',
u'12',
u'13',
u'14',
u'15',
u'16',
u'17',
u'18',
u'19',
u'2',
u'20',
u'21',
u'22',
u'23',
u'24',
u'25',
u'26',
u'27',
u'28',
u'29',
u'3',
u'30',
u'31',
u'32',
u'33',
u'34',
u'35',
u'36',
u'37',
u'38',
u'39',
u'4',
u'40',
u'41',
u'42',
u'43',
u'5',
u'6',
u'7',
u'8',
u'9',
u'None']</pre></td>
</tr>
<tr>
<td>v</td>
<td class="code"><pre>u'None'</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code>/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py</code> in <code>get_prep_value</code>
<div class="context" id="c140488293785472">
<ol start="606" class="pre-context" id="pre140488293785472"><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> value = self.get_prep_value(value)</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> value = connection.ops.validate_autopk_value(value)</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> return value</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre></pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> def get_prep_value(self, value):</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> if value is None:</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> return None</pre></li></ol>
<ol start="613" class="context-line"><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> return int(value)</pre> <span>...</span></li></ol>
<ol start='614' class="post-context" id="post140488293785472"><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre></pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> def contribute_to_class(self, cls, name):</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> assert not cls._meta.has_auto_field, \</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> "A model can't have more than one AutoField."</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> super(AutoField, self).contribute_to_class(cls, name)</pre></li><li onclick="toggle('pre140488293785472', 'post140488293785472')"><pre> cls._meta.has_auto_field = True</pre></li></ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140488293785472')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140488293785472">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><django.db.models.fields.AutoField: id></pre></td>
</tr>
<tr>
<td>value</td>
<td class="code"><pre>u'None'</pre></td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
<div id="pastebinTraceback" class="pastebin">
<input type="hidden" name="language" value="PythonConsole">
<input type="hidden" name="title" value="ValueError at /">
<input type="hidden" name="source" value="Django Dpaste Agent">
<input type="hidden" name="poster" value="Django">
<textarea name="content" id="traceback_area" cols="140" rows="25">
Environment:
Request Method: GET
Request URL: http://opengeo.grida.no/
Django Version: 1.6.11
Python Version: 2.7.6
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'django.contrib.humanize',
'django.contrib.gis',
'pagination',
'taggit',
'friendlytagloader',
'geoexplorer',
'leaflet',
'django_extensions',
'autocomplete_light',
'mptt',
'modeltranslation',
'djcelery',
'pinax_theme_bootstrap_account',
'pinax_theme_bootstrap',
'django_forms_bootstrap',
'account',
'avatar',
'dialogos',
'agon_ratings',
'announcements',
'actstream',
'user_messages',
'tastypie',
'polymorphic',
'guardian',
'geonode.people',
'geonode.base',
'geonode.layers',
'geonode.maps',
'geonode.proxy',
'geonode.security',
'geonode.social',
'geonode.catalogue',
'geonode.documents',
'geonode.api',
'geonode.groups',
'geonode.services',
'geonode.geoserver',
'geonode.upload',
'geonode.tasks')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'pagination.middleware.PaginationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Template error:
In template /usr/local/lib/python2.7/dist-packages/geonode/templates/index.html, error at line 27
invalid literal for int() with base 10: 'None'
17 : <p>{% blocktrans %}If you have any questions about the software or service, join our <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">mailing list</a>.{% endblocktrans %}</p>
18 : <span>{% trans 'Need help?' %} <a href="http://docs.geonode.org/en/latest/tutorials/users/quickstart/index.html">{% trans 'Getting Started' %}</a></span>
19 : </div>
20 : </div>
21 : {% endblock %}
22 :
23 : {% block mainbody %}
24 : <div class="container">
25 : <div class="row home-facets">
26 : {% with facet_type='home' %}
27 : {% facets as facets %}
28 : <div class="col-md-4">
29 : <p><a href="{% url "layer_browse" %}"><i class="fa fa-square-o fa-5x rotate-45"></i></a></p>
30 : <h2><a href="{% url "layer_browse" %}">{{ facets.layer|default:_("No") }} {% blocktrans count counter=facets.layer %}Layer{% plural %}Layers{% endblocktrans %}</a></h2>
31 : <p>{% trans "Click to search for geospatial data published by other users, organizations and public sources. Download data in standard formats." %}</p>
32 : {% if user.is_authenticated %}
33 : <p class="text-center"><a class="btn btn-default" href="{% url "layer_upload" %}" role="button">{% trans "Add layers" %} »</a></p>
34 : {% else %}
35 : <p class="text-center"><a class="btn btn-default" href="{% url "layer_browse" %}" role="button">{% trans "Explore layers" %} »</a></p>
36 : {% endif %}
37 : </div>
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
137. response = response.render()
File "/usr/lib/python2.7/dist-packages/django/template/response.py" in render
105. self.content = self.rendered_content
File "/usr/lib/python2.7/dist-packages/django/template/response.py" in rendered_content
82. content = template.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
140. return self._render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in _render
134. return self.nodelist.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
123. return compiled_parent._render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in _render
134. return self.nodelist.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
123. return compiled_parent._render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in _render
134. return self.nodelist.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py" in render
506. output = self.nodelist.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py" in render
1157. context[self.target_var] = func(*resolved_args, **resolved_kwargs)
File "/usr/local/lib/python2.7/dist-packages/geonode/base/templatetags/base_tags.py" in facets
34. request.user, 'base.view_resourcebase').values('id')
File "/usr/lib/python2.7/dist-packages/guardian/shortcuts.py" in get_objects_for_user
423. objects = queryset.filter(pk__in=pk_list)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in filter
593. return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/polymorphic/query.py" in _filter_or_exclude
88. return super(PolymorphicQuerySet, self)._filter_or_exclude(negate, *(list(args) + additional_args), **kwargs)
File "/usr/lib/python2.7/dist-packages/modeltranslation/manager.py" in _filter_or_exclude
292. return super(MultilingualQuerySet, self)._filter_or_exclude(negate, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in _filter_or_exclude
611. clone.query.add_q(Q(*args, **kwargs))
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py" in add_q
1204. clause = self._add_q(where_part, used_aliases)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py" in _add_q
1240. current_negated=current_negated)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py" in build_filter
1131. clause.add(constraint, AND)
File "/usr/lib/python2.7/dist-packages/django/utils/tree.py" in add
104. data = self._prepare_data(data)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/where.py" in _prepare_data
79. value = obj.prepare(lookup_type, value)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/where.py" in prepare
352. return self.field.get_prep_lookup(lookup_type, value)
File "/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py" in get_prep_lookup
371. return [self.get_prep_value(v) for v in value]
File "/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py" in get_prep_value
613. return int(value)
Exception Type: ValueError at /
Exception Value: invalid literal for int() with base 10: 'None'
</textarea>
<br><br>
<input type="submit" value="Share this traceback on a public Web site">
</div>
</form>
</div>
<div id="requestinfo">
<h2>Request information</h2>
<h3 id="get-info">GET</h3>
<p>No GET data</p>
<h3 id="post-info">POST</h3>
<p>No POST data</p>
<h3 id="files-info">FILES</h3>
<p>No FILES data</p>
<h3 id="cookie-info">COOKIES</h3>
<table class="req">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>csrftoken</td>
<td class="code"><pre>'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'</pre></td>
</tr>
<tr>
<td>__utma</td>
<td class="code"><pre>'260051035.786045677.1451979462.1460634052.1460705735.40'</pre></td>
</tr>
<tr>
<td>__utmz</td>
<td class="code"><pre>'260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'</pre></td>
</tr>
<tr>
<td>_ga</td>
<td class="code"><pre>'GA1.2.786045677.1451979462'</pre></td>
</tr>
</tbody>
</table>
<h3 id="meta-info">META</h3>
<table class="req">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>mod_wsgi.listener_port</td>
<td class="code"><pre>'80'</pre></td>
</tr>
<tr>
<td>HTTP_COOKIE</td>
<td class="code"><pre>'csrftoken=1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3; __utma=260051035.786045677.1451979462.1460634052.1460705735.40; __utmz=260051035.1452591465.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.786045677.1451979462'</pre></td>
</tr>
<tr>
<td>mod_wsgi.listener_host</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>CONTEXT_DOCUMENT_ROOT</td>
<td class="code"><pre>'/var/www'</pre></td>
</tr>
<tr>
<td>SERVER_SOFTWARE</td>
<td class="code"><pre>'Apache/2.4.7 (Ubuntu)'</pre></td>
</tr>
<tr>
<td>SCRIPT_NAME</td>
<td class="code"><pre>u''</pre></td>
</tr>
<tr>
<td>mod_wsgi.enable_sendfile</td>
<td class="code"><pre>'0'</pre></td>
</tr>
<tr>
<td>mod_wsgi.handler_script</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>SERVER_SIGNATURE</td>
<td class="code"><pre>'<address>Apache/2.4.7 (Ubuntu) Server at opengeo.grida.no Port 80</address>\n'</pre></td>
</tr>
<tr>
<td>REQUEST_METHOD</td>
<td class="code"><pre>'GET'</pre></td>
</tr>
<tr>
<td>PATH_INFO</td>
<td class="code"><pre>u'/'</pre></td>
</tr>
<tr>
<td>SERVER_PROTOCOL</td>
<td class="code"><pre>'HTTP/1.1'</pre></td>
</tr>
<tr>
<td>QUERY_STRING</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>HTTP_USER_AGENT</td>
<td class="code"><pre>'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17'</pre></td>
</tr>
<tr>
<td>HTTP_CONNECTION</td>
<td class="code"><pre>'keep-alive'</pre></td>
</tr>
<tr>
<td>SERVER_NAME</td>
<td class="code"><pre>'opengeo.grida.no'</pre></td>
</tr>
<tr>
<td>REMOTE_ADDR</td>
<td class="code"><pre>'10.2.101.118'</pre></td>
</tr>
<tr>
<td>mod_wsgi.queue_start</td>
<td class="code"><pre>'1461056545427540'</pre></td>
</tr>
<tr>
<td>mod_wsgi.request_handler</td>
<td class="code"><pre>'wsgi-script'</pre></td>
</tr>
<tr>
<td>wsgi.url_scheme</td>
<td class="code"><pre>'http'</pre></td>
</tr>
<tr>
<td>PATH_TRANSLATED</td>
<td class="code"><pre>'/var/www/geonode/wsgi/geonode.wsgi/'</pre></td>
</tr>
<tr>
<td>SERVER_PORT</td>
<td class="code"><pre>'80'</pre></td>
</tr>
<tr>
<td>wsgi.multiprocess</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>mod_wsgi.input_chunked</td>
<td class="code"><pre>'0'</pre></td>
</tr>
<tr>
<td>SERVER_ADDR</td>
<td class="code"><pre>'10.2.101.96'</pre></td>
</tr>
<tr>
<td>DOCUMENT_ROOT</td>
<td class="code"><pre>'/var/www'</pre></td>
</tr>
<tr>
<td>mod_wsgi.process_group</td>
<td class="code"><pre>'geonode'</pre></td>
</tr>
<tr>
<td>SCRIPT_FILENAME</td>
<td class="code"><pre>'/var/www/geonode/wsgi/geonode.wsgi'</pre></td>
</tr>
<tr>
<td>SERVER_ADMIN</td>
<td class="code"><pre>'webmaster@localhost'</pre></td>
</tr>
<tr>
<td>wsgi.input</td>
<td class="code"><pre><mod_wsgi.Input object at 0x7fc6131f0bf0></pre></td>
</tr>
<tr>
<td>HTTP_HOST</td>
<td class="code"><pre>'opengeo.grida.no'</pre></td>
</tr>
<tr>
<td>CONTEXT_PREFIX</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>wsgi.multithread</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>mod_wsgi.callable_object</td>
<td class="code"><pre>'application'</pre></td>
</tr>
<tr>
<td>HTTP_CACHE_CONTROL</td>
<td class="code"><pre>'max-age=0'</pre></td>
</tr>
<tr>
<td>REQUEST_URI</td>
<td class="code"><pre>'/'</pre></td>
</tr>
<tr>
<td>HTTP_ACCEPT</td>
<td class="code"><pre>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</pre></td>
</tr>
<tr>
<td>wsgi.version</td>
<td class="code"><pre>(1, 0)</pre></td>
</tr>
<tr>
<td>GATEWAY_INTERFACE</td>
<td class="code"><pre>'CGI/1.1'</pre></td>
</tr>
<tr>
<td>wsgi.run_once</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>wsgi.errors</td>
<td class="code"><pre><mod_wsgi.Log object at 0x7fc6130e56b0></pre></td>
</tr>
<tr>
<td>REMOTE_PORT</td>
<td class="code"><pre>'63548'</pre></td>
</tr>
<tr>
<td>HTTP_ACCEPT_LANGUAGE</td>
<td class="code"><pre>'en-us'</pre></td>
</tr>
<tr>
<td>REQUEST_SCHEME</td>
<td class="code"><pre>'http'</pre></td>
</tr>
<tr>
<td>mod_wsgi.version</td>
<td class="code"><pre>(3, 4)</pre></td>
</tr>
<tr>
<td>mod_wsgi.application_group</td>
<td class="code"><pre>'localhost|'</pre></td>
</tr>
<tr>
<td>mod_wsgi.script_reloading</td>
<td class="code"><pre>'1'</pre></td>
</tr>
<tr>
<td>wsgi.file_wrapper</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE</td>
<td class="code"><pre>u'1DFvMfq3IlU5UcyjqD4rp2K1L4pcb9x3'</pre></td>
</tr>
<tr>
<td>HTTP_ACCEPT_ENCODING</td>
<td class="code"><pre>'gzip, deflate'</pre></td>
</tr>
</tbody>
</table>
<h3 id="settings-info">Settings</h3>
<h4>Using settings module <code>geonode.settings</code></h4>
<table class="req">
<thead>
<tr>
<th>Setting</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>CASCADE_WORKSPACE</td>
<td class="code"><pre>'geonode'</pre></td>
</tr>
<tr>
<td>ACCOUNT_USER_DISPLAY</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>DATABASES</td>
<td class="code"><pre>{'datastore': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'HOST': 'localhost',
'NAME': 'geonode_data',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '5432',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Chicago',
'USER': 'geonode'},
'default': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'localhost',
'NAME': 'geonode',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '5432',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Chicago',
'USER': 'geonode'}}</pre></td>
</tr>
<tr>
<td>GOOGLE_API_KEY</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>CELERY_CREATE_MISSING_QUEUES</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>GEONODE_CONTRIB_APPS</td>
<td class="code"><pre>('geonode.contrib.dynamic',
'geonode.contrib.exif',
'geonode.contrib.favorite',
'geonode.contrib.geogig',
'geonode.contrib.geosites',
'geonode.contrib.nlp',
'geonode.contrib.slack')</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_SECURE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>CELERY_DEFAULT_QUEUE</td>
<td class="code"><pre>'default'</pre></td>
</tr>
<tr>
<td>TWITTER_CARD</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>LANGUAGE_CODE</td>
<td class="code"><pre>'en'</pre></td>
</tr>
<tr>
<td>LICENSES</td>
<td class="code"><pre>{'DETAIL': 'above', 'ENABLED': True, 'METADATA': 'verbose'}</pre></td>
</tr>
<tr>
<td>MANAGERS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>DOWNLOAD_FORMATS_METADATA</td>
<td class="code"><pre>['Atom', 'DIF', 'Dublin Core', 'ebRIM', 'FGDC', 'ISO']</pre></td>
</tr>
<tr>
<td>BROKER_URL</td>
<td class="code"><pre>'django://'</pre></td>
</tr>
<tr>
<td>DEFAULT_CHARSET</td>
<td class="code"><pre>'utf-8'</pre></td>
</tr>
<tr>
<td>IGNORABLE_404_URLS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>CELERY_DEFAULT_EXCHANGE_TYPE</td>
<td class="code"><pre>'direct'</pre></td>
</tr>
<tr>
<td>SESSION_SERIALIZER</td>
<td class="code"><pre>'django.contrib.sessions.serializers.PickleSerializer'</pre></td>
</tr>
<tr>
<td>DEFAULT_MAP_CENTER</td>
<td class="code"><pre>(0, 0)</pre></td>
</tr>
<tr>
<td>ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS</td>
<td class="code"><pre>3</pre></td>
</tr>
<tr>
<td>USE_THOUSAND_SEPARATOR</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>ACCOUNT_INVITE_USER_URL</td>
<td class="code"><pre>u'account_invite_user'</pre></td>
</tr>
<tr>
<td>REGISTRATION_OPEN</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ALLOWED_HOSTS</td>
<td class="code"><pre>['localhost', '10.2.101.96', '82.116.78.156', 'opengeo.grida.no', '127.0.0.1']</pre></td>
</tr>
<tr>
<td>EMAIL_HOST</td>
<td class="code"><pre>'localhost'</pre></td>
</tr>
<tr>
<td>DOWNLOAD_FORMATS_RASTER</td>
<td class="code"><pre>['JPEG',
'PDF',
'PNG',
'ArcGrid',
'GeoTIFF',
'Gtopo30',
'ImageMosaic',
'KML',
'View in Google Earth',
'Tiles']</pre></td>
</tr>
<tr>
<td>AUTH_EXEMPT_URLS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>WSGI_APPLICATION</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>EMAIL_SUBJECT_PREFIX</td>
<td class="code"><pre>'[Django] '</pre></td>
</tr>
<tr>
<td>SEND_BROKEN_LINK_EMAILS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>TEMPLATE_STRING_IF_INVALID</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>STATICFILES_FINDERS</td>
<td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td>
</tr>
<tr>
<td>NOTIFICATION_QUEUE_ALL</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SESSION_CACHE_ALIAS</td>
<td class="code"><pre>'default'</pre></td>
</tr>
<tr>
<td>CELERY_IMPORTS</td>
<td class="code"><pre>('geonode.tasks.deletion', 'geonode.tasks.update', 'geonode.tasks.email')</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_DOMAIN</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_NAME</td>
<td class="code"><pre>'sessionid'</pre></td>
</tr>
<tr>
<td>VERSION</td>
<td class="code"><pre>'2.4'</pre></td>
</tr>
<tr>
<td>ADMIN_FOR</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>TIME_INPUT_FORMATS</td>
<td class="code"><pre>('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')</pre></td>
</tr>
<tr>
<td>ACCOUNT_USE_AUTH_AUTHENTICATE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>X_FRAME_OPTIONS</td>
<td class="code"><pre>'SAMEORIGIN'</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_PERMISSIONS</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>ACCOUNT_TIMEZONES</td>
<td class="code"><pre>[('Africa/Abidjan', 'Africa/Abidjan'),
('Africa/Accra', 'Africa/Accra'),
('Africa/Addis_Ababa', 'Africa/Addis_Ababa'),
('Africa/Algiers', 'Africa/Algiers'),
('Africa/Asmara', 'Africa/Asmara'),
('Africa/Asmera', 'Africa/Asmera'),
('Africa/Bamako', 'Africa/Bamako'),
('Africa/Bangui', 'Africa/Bangui'),
('Africa/Banjul', 'Africa/Banjul'),
('Africa/Bissau', 'Africa/Bissau'),
('Africa/Blantyre', 'Africa/Blantyre'),
('Africa/Brazzaville', 'Africa/Brazzaville'),
('Africa/Bujumbura', 'Africa/Bujumbura'),
('Africa/Cairo', 'Africa/Cairo'),
('Africa/Casablanca', 'Africa/Casablanca'),
('Africa/Ceuta', 'Africa/Ceuta'),
('Africa/Conakry', 'Africa/Conakry'),
('Africa/Dakar', 'Africa/Dakar'),
('Africa/Dar_es_Salaam', 'Africa/Dar_es_Salaam'),
('Africa/Djibouti', 'Africa/Djibouti'),
('Africa/Douala', 'Africa/Douala'),
('Africa/El_Aaiun', 'Africa/El_Aaiun'),
('Africa/Freetown', 'Africa/Freetown'),
('Africa/Gaborone', 'Africa/Gaborone'),
('Africa/Harare', 'Africa/Harare'),
('Africa/Johannesburg', 'Africa/Johannesburg'),
('Africa/Juba', 'Africa/Juba'),
('Africa/Kampala', 'Africa/Kampala'),
('Africa/Khartoum', 'Africa/Khartoum'),
('Africa/Kigali', 'Africa/Kigali'),
('Africa/Kinshasa', 'Africa/Kinshasa'),
('Africa/Lagos', 'Africa/Lagos'),
('Africa/Libreville', 'Africa/Libreville'),
('Africa/Lome', 'Africa/Lome'),
('Africa/Luanda', 'Africa/Luanda'),
('Africa/Lubumbashi', 'Africa/Lubumbashi'),
('Africa/Lusaka', 'Africa/Lusaka'),
('Africa/Malabo', 'Africa/Malabo'),
('Africa/Maputo', 'Africa/Maputo'),
('Africa/Maseru', 'Africa/Maseru'),
('Africa/Mbabane', 'Africa/Mbabane'),
('Africa/Mogadishu', 'Africa/Mogadishu'),
('Africa/Monrovia', 'Africa/Monrovia'),
('Africa/Nairobi', 'Africa/Nairobi'),
('Africa/Ndjamena', 'Africa/Ndjamena'),
('Africa/Niamey', 'Africa/Niamey'),
('Africa/Nouakchott', 'Africa/Nouakchott'),
('Africa/Ouagadougou', 'Africa/Ouagadougou'),
('Africa/Porto-Novo', 'Africa/Porto-Novo'),
('Africa/Sao_Tome', 'Africa/Sao_Tome'),
('Africa/Timbuktu', 'Africa/Timbuktu'),
('Africa/Tripoli', 'Africa/Tripoli'),
('Africa/Tunis', 'Africa/Tunis'),
('Africa/Windhoek', 'Africa/Windhoek'),
('America/Adak', 'America/Adak'),
('America/Anchorage', 'America/Anchorage'),
('America/Anguilla', 'America/Anguilla'),
('America/Antigua', 'America/Antigua'),
('America/Araguaina', 'America/Araguaina'),
('America/Argentina/Buenos_Aires', 'America/Argentina/Buenos_Aires'),
('America/Argentina/Catamarca', 'America/Argentina/Catamarca'),
('America/Argentina/ComodRivadavia', 'America/Argentina/ComodRivadavia'),
('America/Argentina/Cordoba', 'America/Argentina/Cordoba'),
('America/Argentina/Jujuy', 'America/Argentina/Jujuy'),
('America/Argentina/La_Rioja', 'America/Argentina/La_Rioja'),
('America/Argentina/Mendoza', 'America/Argentina/Mendoza'),
('America/Argentina/Rio_Gallegos', 'America/Argentina/Rio_Gallegos'),
('America/Argentina/Salta', 'America/Argentina/Salta'),
('America/Argentina/San_Juan', 'America/Argentina/San_Juan'),
('America/Argentina/San_Luis', 'America/Argentina/San_Luis'),
('America/Argentina/Tucuman', 'America/Argentina/Tucuman'),
('America/Argentina/Ushuaia', 'America/Argentina/Ushuaia'),
('America/Aruba', 'America/Aruba'),
('America/Asuncion', 'America/Asuncion'),
('America/Atikokan', 'America/Atikokan'),
('America/Atka', 'America/Atka'),
('America/Bahia', 'America/Bahia'),
('America/Bahia_Banderas', 'America/Bahia_Banderas'),
('America/Barbados', 'America/Barbados'),
('America/Belem', 'America/Belem'),
('America/Belize', 'America/Belize'),
('America/Blanc-Sablon', 'America/Blanc-Sablon'),
('America/Boa_Vista', 'America/Boa_Vista'),
('America/Bogota', 'America/Bogota'),
('America/Boise', 'America/Boise'),
('America/Buenos_Aires', 'America/Buenos_Aires'),
('America/Cambridge_Bay', 'America/Cambridge_Bay'),
('America/Campo_Grande', 'America/Campo_Grande'),
('America/Cancun', 'America/Cancun'),
('America/Caracas', 'America/Caracas'),
('America/Catamarca', 'America/Catamarca'),
('America/Cayenne', 'America/Cayenne'),
('America/Cayman', 'America/Cayman'),
('America/Chicago', 'America/Chicago'),
('America/Chihuahua', 'America/Chihuahua'),
('America/Coral_Harbour', 'America/Coral_Harbour'),
('America/Cordoba', 'America/Cordoba'),
('America/Costa_Rica', 'America/Costa_Rica'),
('America/Creston', 'America/Creston'),
('America/Cuiaba', 'America/Cuiaba'),
('America/Curacao', 'America/Curacao'),
('America/Danmarkshavn', 'America/Danmarkshavn'),
('America/Dawson', 'America/Dawson'),
('America/Dawson_Creek', 'America/Dawson_Creek'),
('America/Denver', 'America/Denver'),
('America/Detroit', 'America/Detroit'),
('America/Dominica', 'America/Dominica'),
('America/Edmonton', 'America/Edmonton'),
('America/Eirunepe', 'America/Eirunepe'),
('America/El_Salvador', 'America/El_Salvador'),
('America/Ensenada', 'America/Ensenada'),
('America/Fort_Wayne', 'America/Fort_Wayne'),
('America/Fortaleza', 'America/Fortaleza'),
('America/Glace_Bay', 'America/Glace_Bay'),
('America/Godthab', 'America/Godthab'),
('America/Goose_Bay', 'America/Goose_Bay'),
('America/Grand_Turk', 'America/Grand_Turk'),
('America/Grenada', 'America/Grenada'),
('America/Guadeloupe', 'America/Guadeloupe'),
('America/Guatemala', 'America/Guatemala'),
('America/Guayaquil', 'America/Guayaquil'),
('America/Guyana', 'America/Guyana'),
('America/Halifax', 'America/Halifax'),
('America/Havana', 'America/Havana'),
('America/Hermosillo', 'America/Hermosillo'),
('America/Indiana/Indianapolis', 'America/Indiana/Indianapolis'),
('America/Indiana/Knox', 'America/Indiana/Knox'),
('America/Indiana/Marengo', 'America/Indiana/Marengo'),
('America/Indiana/Petersburg', 'America/Indiana/Petersburg'),
('America/Indiana/Tell_City', 'America/Indiana/Tell_City'),
('America/Indiana/Vevay', 'America/Indiana/Vevay'),
('America/Indiana/Vincennes', 'America/Indiana/Vincennes'),
('America/Indiana/Winamac', 'America/Indiana/Winamac'),
('America/Indianapolis', 'America/Indianapolis'),
('America/Inuvik', 'America/Inuvik'),
('America/Iqaluit', 'America/Iqaluit'),
('America/Jamaica', 'America/Jamaica'),
('America/Jujuy', 'America/Jujuy'),
('America/Juneau', 'America/Juneau'),
('America/Kentucky/Louisville', 'America/Kentucky/Louisville'),
('America/Kentucky/Monticello', 'America/Kentucky/Monticello'),
('America/Knox_IN', 'America/Knox_IN'),
('America/Kralendijk', 'America/Kralendijk'),
('America/La_Paz', 'America/La_Paz'),
('America/Lima', 'America/Lima'),
('America/Los_Angeles', 'America/Los_Angeles'),
('America/Louisville', 'America/Louisville'),
('America/Lower_Princes', 'America/Lower_Princes'),
('America/Maceio', 'America/Maceio'),
('America/Managua', 'America/Managua'),
('America/Manaus', 'America/Manaus'),
('America/Marigot', 'America/Marigot'),
('America/Martinique', 'America/Martinique'),
('America/Matamoros', 'America/Matamoros'),
('America/Mazatlan', 'America/Mazatlan'),
('America/Mendoza', 'America/Mendoza'),
('America/Menominee', 'America/Menominee'),
('America/Merida', 'America/Merida'),
('America/Metlakatla', 'America/Metlakatla'),
('America/Mexico_City', 'America/Mexico_City'),
('America/Miquelon', 'America/Miquelon'),
('America/Moncton', 'America/Moncton'),
('America/Monterrey', 'America/Monterrey'),
('America/Montevideo', 'America/Montevideo'),
('America/Montreal', 'America/Montreal'),
('America/Montserrat', 'America/Montserrat'),
('America/Nassau', 'America/Nassau'),
('America/New_York', 'America/New_York'),
('America/Nipigon', 'America/Nipigon'),
('America/Nome', 'America/Nome'),
('America/Noronha', 'America/Noronha'),
('America/North_Dakota/Beulah', 'America/North_Dakota/Beulah'),
('America/North_Dakota/Center', 'America/North_Dakota/Center'),
('America/North_Dakota/New_Salem', 'America/North_Dakota/New_Salem'),
('America/Ojinaga', 'America/Ojinaga'),
('America/Panama', 'America/Panama'),
('America/Pangnirtung', 'America/Pangnirtung'),
('America/Paramaribo', 'America/Paramaribo'),
('America/Phoenix', 'America/Phoenix'),
('America/Port-au-Prince', 'America/Port-au-Prince'),
('America/Port_of_Spain', 'America/Port_of_Spain'),
('America/Porto_Acre', 'America/Porto_Acre'),
('America/Porto_Velho', 'America/Porto_Velho'),
('America/Puerto_Rico', 'America/Puerto_Rico'),
('America/Rainy_River', 'America/Rainy_River'),
('America/Rankin_Inlet', 'America/Rankin_Inlet'),
('America/Recife', 'America/Recife'),
('America/Regina', 'America/Regina'),
('America/Resolute', 'America/Resolute'),
('America/Rio_Branco', 'America/Rio_Branco'),
('America/Rosario', 'America/Rosario'),
('America/Santa_Isabel', 'America/Santa_Isabel'),
('America/Santarem', 'America/Santarem'),
('America/Santiago', 'America/Santiago'),
('America/Santo_Domingo', 'America/Santo_Domingo'),
('America/Sao_Paulo', 'America/Sao_Paulo'),
('America/Scoresbysund', 'America/Scoresbysund'),
('America/Shiprock', 'America/Shiprock'),
('America/Sitka', 'America/Sitka'),
('America/St_Barthelemy', 'America/St_Barthelemy'),
('America/St_Johns', 'America/St_Johns'),
('America/St_Kitts', 'America/St_Kitts'),
('America/St_Lucia', 'America/St_Lucia'),
('America/St_Thomas', 'America/St_Thomas'),
('America/St_Vincent', 'America/St_Vincent'),
('America/Swift_Current', 'America/Swift_Current'),
('America/Tegucigalpa', 'America/Tegucigalpa'),
('America/Thule', 'America/Thule'),
('America/Thunder_Bay', 'America/Thunder_Bay'),
('America/Tijuana', 'America/Tijuana'),
('America/Toronto', 'America/Toronto'),
('America/Tortola', 'America/Tortola'),
('America/Vancouver', 'America/Vancouver'),
('America/Virgin', 'America/Virgin'),
('America/Whitehorse', 'America/Whitehorse'),
('America/Winnipeg', 'America/Winnipeg'),
('America/Yakutat', 'America/Yakutat'),
('America/Yellowknife', 'America/Yellowknife'),
('Antarctica/Casey', 'Antarctica/Casey'),
('Antarctica/Davis', 'Antarctica/Davis'),
('Antarctica/DumontDUrville', 'Antarctica/DumontDUrville'),
('Antarctica/Macquarie', 'Antarctica/Macquarie'),
('Antarctica/Mawson', 'Antarctica/Mawson'),
('Antarctica/McMurdo', 'Antarctica/McMurdo'),
('Antarctica/Palmer', 'Antarctica/Palmer'),
('Antarctica/Rothera', 'Antarctica/Rothera'),
('Antarctica/South_Pole', 'Antarctica/South_Pole'),
('Antarctica/Syowa', 'Antarctica/Syowa'),
('Antarctica/Vostok', 'Antarctica/Vostok'),
('Arctic/Longyearbyen', 'Arctic/Longyearbyen'),
('Asia/Aden', 'Asia/Aden'),
('Asia/Almaty', 'Asia/Almaty'),
('Asia/Amman', 'Asia/Amman'),
('Asia/Anadyr', 'Asia/Anadyr'),
('Asia/Aqtau', 'Asia/Aqtau'),
('Asia/Aqtobe', 'Asia/Aqtobe'),
('Asia/Ashgabat', 'Asia/Ashgabat'),
('Asia/Ashkhabad', 'Asia/Ashkhabad'),
('Asia/Baghdad', 'Asia/Baghdad'),
('Asia/Bahrain', 'Asia/Bahrain'),
('Asia/Baku', 'Asia/Baku'),
('Asia/Bangkok', 'Asia/Bangkok'),
('Asia/Beirut', 'Asia/Beirut'),
('Asia/Bishkek', 'Asia/Bishkek'),
('Asia/Brunei', 'Asia/Brunei'),
('Asia/Calcutta', 'Asia/Calcutta'),
('Asia/Choibalsan', 'Asia/Choibalsan'),
('Asia/Chongqing', 'Asia/Chongqing'),
('Asia/Chungking', 'Asia/Chungking'),
('Asia/Colombo', 'Asia/Colombo'),
('Asia/Dacca', 'Asia/Dacca'),
('Asia/Damascus', 'Asia/Damascus'),
('Asia/Dhaka', 'Asia/Dhaka'),
('Asia/Dili', 'Asia/Dili'),
('Asia/Dubai', 'Asia/Dubai'),
('Asia/Dushanbe', 'Asia/Dushanbe'),
('Asia/Gaza', 'Asia/Gaza'),
('Asia/Harbin', 'Asia/Harbin'),
('Asia/Hebron', 'Asia/Hebron'),
('Asia/Ho_Chi_Minh', 'Asia/Ho_Chi_Minh'),
('Asia/Hong_Kong', 'Asia/Hong_Kong'),
('Asia/Hovd', 'Asia/Hovd'),
('Asia/Irkutsk', 'Asia/Irkutsk'),
('Asia/Istanbul', 'Asia/Istanbul'),
('Asia/Jakarta', 'Asia/Jakarta'),
('Asia/Jayapura', 'Asia/Jayapura'),
('Asia/Jerusalem', 'Asia/Jerusalem'),
('Asia/Kabul', 'Asia/Kabul'),
('Asia/Kamchatka', 'Asia/Kamchatka'),
('Asia/Karachi', 'Asia/Karachi'),
('Asia/Kashgar', 'Asia/Kashgar'),
('Asia/Kathmandu', 'Asia/Kathmandu'),
('Asia/Katmandu', 'Asia/Katmandu'),
('Asia/Kolkata', 'Asia/Kolkata'),
('Asia/Krasnoyarsk', 'Asia/Krasnoyarsk'),
('Asia/Kuala_Lumpur', 'Asia/Kuala_Lumpur'),
('Asia/Kuching', 'Asia/Kuching'),
('Asia/Kuwait', 'Asia/Kuwait'),
('Asia/Macao', 'Asia/Macao'),
('Asia/Macau', 'Asia/Macau'),
('Asia/Magadan', 'Asia/Magadan'),
('Asia/Makassar', 'Asia/Makassar'),
('Asia/Manila', 'Asia/Manila'),
('Asia/Muscat', 'Asia/Muscat'),
('Asia/Nicosia', 'Asia/Nicosia'),
('Asia/Novokuznetsk', 'Asia/Novokuznetsk'),
('Asia/Novosibirsk', 'Asia/Novosibirsk'),
('Asia/Omsk', 'Asia/Omsk'),
('Asia/Oral', 'Asia/Oral'),
('Asia/Phnom_Penh', 'Asia/Phnom_Penh'),
('Asia/Pontianak', 'Asia/Pontianak'),
('Asia/Pyongyang', 'Asia/Pyongyang'),
('Asia/Qatar', 'Asia/Qatar'),
('Asia/Qyzylorda', 'Asia/Qyzylorda'),
('Asia/Rangoon', 'Asia/Rangoon'),
('Asia/Riyadh', 'Asia/Riyadh'),
('Asia/Saigon', 'Asia/Saigon'),
('Asia/Sakhalin', 'Asia/Sakhalin'),
('Asia/Samarkand', 'Asia/Samarkand'),
('Asia/Seoul', 'Asia/Seoul'),
('Asia/Shanghai', 'Asia/Shanghai'),
('Asia/Singapore', 'Asia/Singapore'),
('Asia/Taipei', 'Asia/Taipei'),
('Asia/Tashkent', 'Asia/Tashkent'),
('Asia/Tbilisi', 'Asia/Tbilisi'),
('Asia/Tehran', 'Asia/Tehran'),
('Asia/Tel_Aviv', 'Asia/Tel_Aviv'),
('Asia/Thimbu', 'Asia/Thimbu'),
('Asia/Thimphu', 'Asia/Thimphu'),
('Asia/Tokyo', 'Asia/Tokyo'),
('Asia/Ujung_Pandang', 'Asia/Ujung_Pandang'),
('Asia/Ulaanbaatar', 'Asia/Ulaanbaatar'),
('Asia/Ulan_Bator', 'Asia/Ulan_Bator'),
('Asia/Urumqi', 'Asia/Urumqi'),
('Asia/Vientiane', 'Asia/Vientiane'),
('Asia/Vladivostok', 'Asia/Vladivostok'),
('Asia/Yakutsk', 'Asia/Yakutsk'),
('Asia/Yekaterinburg', 'Asia/Yekaterinburg'),
('Asia/Yerevan', 'Asia/Yerevan'),
('Atlantic/Azores', 'Atlantic/Azores'),
('Atlantic/Bermuda', 'Atlantic/Bermuda'),
('Atlantic/Canary', 'Atlantic/Canary'),
('Atlantic/Cape_Verde', 'Atlantic/Cape_Verde'),
('Atlantic/Faeroe', 'Atlantic/Faeroe'),
('Atlantic/Faroe', 'Atlantic/Faroe'),
('Atlantic/Jan_Mayen', 'Atlantic/Jan_Mayen'),
('Atlantic/Madeira', 'Atlantic/Madeira'),
('Atlantic/Reykjavik', 'Atlantic/Reykjavik'),
('Atlantic/South_Georgia', 'Atlantic/South_Georgia'),
('Atlantic/St_Helena', 'Atlantic/St_Helena'),
('Atlantic/Stanley', 'Atlantic/Stanley'),
('Australia/ACT', 'Australia/ACT'),
('Australia/Adelaide', 'Australia/Adelaide'),
('Australia/Brisbane', 'Australia/Brisbane'),
('Australia/Broken_Hill', 'Australia/Broken_Hill'),
('Australia/Canberra', 'Australia/Canberra'),
('Australia/Currie', 'Australia/Currie'),
('Australia/Darwin', 'Australia/Darwin'),
('Australia/Eucla', 'Australia/Eucla'),
('Australia/Hobart', 'Australia/Hobart'),
('Australia/LHI', 'Australia/LHI'),
('Australia/Lindeman', 'Australia/Lindeman'),
('Australia/Lord_Howe', 'Australia/Lord_Howe'),
('Australia/Melbourne', 'Australia/Melbourne'),
('Australia/NSW', 'Australia/NSW'),
('Australia/North', 'Australia/North'),
('Australia/Perth', 'Australia/Perth'),
('Australia/Queensland', 'Australia/Queensland'),
('Australia/South', 'Australia/South'),
('Australia/Sydney', 'Australia/Sydney'),
('Australia/Tasmania', 'Australia/Tasmania'),
('Australia/Victoria', 'Australia/Victoria'),
('Australia/West', 'Australia/West'),
('Australia/Yancowinna', 'Australia/Yancowinna'),
('Brazil/Acre', 'Brazil/Acre'),
('Brazil/DeNoronha', 'Brazil/DeNoronha'),
('Brazil/East', 'Brazil/East'),
('Brazil/West', 'Brazil/West'),
('CET', 'CET'),
('CST6CDT', 'CST6CDT'),
('Canada/Atlantic', 'Canada/Atlantic'),
('Canada/Central', 'Canada/Central'),
('Canada/East-Saskatchewan', 'Canada/East-Saskatchewan'),
('Canada/Eastern', 'Canada/Eastern'),
('Canada/Mountain', 'Canada/Mountain'),
('Canada/Newfoundland', 'Canada/Newfoundland'),
('Canada/Pacific', 'Canada/Pacific'),
('Canada/Saskatchewan', 'Canada/Saskatchewan'),
('Canada/Yukon', 'Canada/Yukon'),
('Chile/Continental', 'Chile/Continental'),
('Chile/EasterIsland', 'Chile/EasterIsland'),
('Cuba', 'Cuba'),
('EET', 'EET'),
('EST', 'EST'),
('EST5EDT', 'EST5EDT'),
('Egypt', 'Egypt'),
('Eire', 'Eire'),
('Etc/GMT', 'Etc/GMT'),
('Etc/GMT+0', 'Etc/GMT+0'),
('Etc/GMT+1', 'Etc/GMT+1'),
('Etc/GMT+10', 'Etc/GMT+10'),
('Etc/GMT+11', 'Etc/GMT+11'),
('Etc/GMT+12', 'Etc/GMT+12'),
('Etc/GMT+2', 'Etc/GMT+2'),
('Etc/GMT+3', 'Etc/GMT+3'),
('Etc/GMT+4', 'Etc/GMT+4'),
('Etc/GMT+5', 'Etc/GMT+5'),
('Etc/GMT+6', 'Etc/GMT+6'),
('Etc/GMT+7', 'Etc/GMT+7'),
('Etc/GMT+8', 'Etc/GMT+8'),
('Etc/GMT+9', 'Etc/GMT+9'),
('Etc/GMT-0', 'Etc/GMT-0'),
('Etc/GMT-1', 'Etc/GMT-1'),
('Etc/GMT-10', 'Etc/GMT-10'),
('Etc/GMT-11', 'Etc/GMT-11'),
('Etc/GMT-12', 'Etc/GMT-12'),
('Etc/GMT-13', 'Etc/GMT-13'),
('Etc/GMT-14', 'Etc/GMT-14'),
('Etc/GMT-2', 'Etc/GMT-2'),
('Etc/GMT-3', 'Etc/GMT-3'),
('Etc/GMT-4', 'Etc/GMT-4'),
('Etc/GMT-5', 'Etc/GMT-5'),
('Etc/GMT-6', 'Etc/GMT-6'),
('Etc/GMT-7', 'Etc/GMT-7'),
('Etc/GMT-8', 'Etc/GMT-8'),
('Etc/GMT-9', 'Etc/GMT-9'),
('Etc/GMT0', 'Etc/GMT0'),
('Etc/Greenwich', 'Etc/Greenwich'),
('Etc/UCT', 'Etc/UCT'),
('Etc/UTC', 'Etc/UTC'),
('Etc/Universal', 'Etc/Universal'),
('Etc/Zulu', 'Etc/Zulu'),
('Europe/Amsterdam', 'Europe/Amsterdam'),
('Europe/Andorra', 'Europe/Andorra'),
('Europe/Athens', 'Europe/Athens'),
('Europe/Belfast', 'Europe/Belfast'),
('Europe/Belgrade', 'Europe/Belgrade'),
('Europe/Berlin', 'Europe/Berlin'),
('Europe/Bratislava', 'Europe/Bratislava'),
('Europe/Brussels', 'Europe/Brussels'),
('Europe/Bucharest', 'Europe/Bucharest'),
('Europe/Budapest', 'Europe/Budapest'),
('Europe/Chisinau', 'Europe/Chisinau'),
('Europe/Copenhagen', 'Europe/Copenhagen'),
('Europe/Dublin', 'Europe/Dublin'),
('Europe/Gibraltar', 'Europe/Gibraltar'),
('Europe/Guernsey', 'Europe/Guernsey'),
('Europe/Helsinki', 'Europe/Helsinki'),
('Europe/Isle_of_Man', 'Europe/Isle_of_Man'),
('Europe/Istanbul', 'Europe/Istanbul'),
('Europe/Jersey', 'Europe/Jersey'),
('Europe/Kaliningrad', 'Europe/Kaliningrad'),
('Europe/Kiev', 'Europe/Kiev'),
('Europe/Lisbon', 'Europe/Lisbon'),
('Europe/Ljubljana', 'Europe/Ljubljana'),
('Europe/London', 'Europe/London'),
('Europe/Luxembourg', 'Europe/Luxembourg'),
('Europe/Madrid', 'Europe/Madrid'),
('Europe/Malta', 'Europe/Malta'),
('Europe/Mariehamn', 'Europe/Mariehamn'),
('Europe/Minsk', 'Europe/Minsk'),
('Europe/Monaco', 'Europe/Monaco'),
('Europe/Moscow', 'Europe/Moscow'),
('Europe/Nicosia', 'Europe/Nicosia'),
('Europe/Oslo', 'Europe/Oslo'),
('Europe/Paris', 'Europe/Paris'),
('Europe/Podgorica', 'Europe/Podgorica'),
('Europe/Prague', 'Europe/Prague'),
('Europe/Riga', 'Europe/Riga'),
('Europe/Rome', 'Europe/Rome'),
('Europe/Samara', 'Europe/Samara'),
('Europe/San_Marino', 'Europe/San_Marino'),
('Europe/Sarajevo', 'Europe/Sarajevo'),
('Europe/Simferopol', 'Europe/Simferopol'),
('Europe/Skopje', 'Europe/Skopje'),
('Europe/Sofia', 'Europe/Sofia'),
('Europe/Stockholm', 'Europe/Stockholm'),
('Europe/Tallinn', 'Europe/Tallinn'),
('Europe/Tirane', 'Europe/Tirane'),
('Europe/Tiraspol', 'Europe/Tiraspol'),
('Europe/Uzhgorod', 'Europe/Uzhgorod'),
('Europe/Vaduz', 'Europe/Vaduz'),
('Europe/Vatican', 'Europe/Vatican'),
('Europe/Vienna', 'Europe/Vienna'),
('Europe/Vilnius', 'Europe/Vilnius'),
('Europe/Volgograd', 'Europe/Volgograd'),
('Europe/Warsaw', 'Europe/Warsaw'),
('Europe/Zagreb', 'Europe/Zagreb'),
('Europe/Zaporozhye', 'Europe/Zaporozhye'),
('Europe/Zurich', 'Europe/Zurich'),
('GB', 'GB'),
('GB-Eire', 'GB-Eire'),
('GMT', 'GMT'),
('GMT+0', 'GMT+0'),
('GMT-0', 'GMT-0'),
('GMT0', 'GMT0'),
('Greenwich', 'Greenwich'),
('HST', 'HST'),
('Hongkong', 'Hongkong'),
('Iceland', 'Iceland'),
('Indian/Antananarivo', 'Indian/Antananarivo'),
('Indian/Chagos', 'Indian/Chagos'),
('Indian/Christmas', 'Indian/Christmas'),
('Indian/Cocos', 'Indian/Cocos'),
('Indian/Comoro', 'Indian/Comoro'),
('Indian/Kerguelen', 'Indian/Kerguelen'),
('Indian/Mahe', 'Indian/Mahe'),
('Indian/Maldives', 'Indian/Maldives'),
('Indian/Mauritius', 'Indian/Mauritius'),
('Indian/Mayotte', 'Indian/Mayotte'),
('Indian/Reunion', 'Indian/Reunion'),
('Iran', 'Iran'),
('Israel', 'Israel'),
('Jamaica', 'Jamaica'),
('Japan', 'Japan'),
('Kwajalein', 'Kwajalein'),
('Libya', 'Libya'),
('MET', 'MET'),
('MST', 'MST'),
('MST7MDT', 'MST7MDT'),
('Mexico/BajaNorte', 'Mexico/BajaNorte'),
('Mexico/BajaSur', 'Mexico/BajaSur'),
('Mexico/General', 'Mexico/General'),
('NZ', 'NZ'),
('NZ-CHAT', 'NZ-CHAT'),
('Navajo', 'Navajo'),
('PRC', 'PRC'),
('PST8PDT', 'PST8PDT'),
('Pacific/Apia', 'Pacific/Apia'),
('Pacific/Auckland', 'Pacific/Auckland'),
('Pacific/Chatham', 'Pacific/Chatham'),
('Pacific/Chuuk', 'Pacific/Chuuk'),
('Pacific/Easter', 'Pacific/Easter'),
('Pacific/Efate', 'Pacific/Efate'),
('Pacific/Enderbury', 'Pacific/Enderbury'),
('Pacific/Fakaofo', 'Pacific/Fakaofo'),
('Pacific/Fiji', 'Pacific/Fiji'),
('Pacific/Funafuti', 'Pacific/Funafuti'),
('Pacific/Galapagos', 'Pacific/Galapagos'),
('Pacific/Gambier', 'Pacific/Gambier'),
('Pacific/Guadalcanal', 'Pacific/Guadalcanal'),
('Pacific/Guam', 'Pacific/Guam'),
('Pacific/Honolulu', 'Pacific/Honolulu'),
('Pacific/Johnston', 'Pacific/Johnston'),
('Pacific/Kiritimati', 'Pacific/Kiritimati'),
('Pacific/Kosrae', 'Pacific/Kosrae'),
('Pacific/Kwajalein', 'Pacific/Kwajalein'),
('Pacific/Majuro', 'Pacific/Majuro'),
('Pacific/Marquesas', 'Pacific/Marquesas'),
('Pacific/Midway', 'Pacific/Midway'),
('Pacific/Nauru', 'Pacific/Nauru'),
('Pacific/Niue', 'Pacific/Niue'),
('Pacific/Norfolk', 'Pacific/Norfolk'),
('Pacific/Noumea', 'Pacific/Noumea'),
('Pacific/Pago_Pago', 'Pacific/Pago_Pago'),
('Pacific/Palau', 'Pacific/Palau'),
('Pacific/Pitcairn', 'Pacific/Pitcairn'),
('Pacific/Pohnpei', 'Pacific/Pohnpei'),
('Pacific/Ponape', 'Pacific/Ponape'),
('Pacific/Port_Moresby', 'Pacific/Port_Moresby'),
('Pacific/Rarotonga', 'Pacific/Rarotonga'),
('Pacific/Saipan', 'Pacific/Saipan'),
('Pacific/Samoa', 'Pacific/Samoa'),
('Pacific/Tahiti', 'Pacific/Tahiti'),
('Pacific/Tarawa', 'Pacific/Tarawa'),
('Pacific/Tongatapu', 'Pacific/Tongatapu'),
('Pacific/Truk', 'Pacific/Truk'),
('Pacific/Wake', 'Pacific/Wake'),
('Pacific/Wallis', 'Pacific/Wallis'),
('Pacific/Yap', 'Pacific/Yap'),
('Poland', 'Poland'),
('Portugal', 'Portugal'),
('ROC', 'ROC'),
('ROK', 'ROK'),
('Singapore', 'Singapore'),
('Turkey', 'Turkey'),
('UCT', 'UCT'),
('US/Alaska', 'US/Alaska'),
('US/Aleutian', 'US/Aleutian'),
('US/Arizona', 'US/Arizona'),
('US/Central', 'US/Central'),
('US/East-Indiana', 'US/East-Indiana'),
('US/Eastern', 'US/Eastern'),
('US/Hawaii', 'US/Hawaii'),
('US/Indiana-Starke', 'US/Indiana-Starke'),
('US/Michigan', 'US/Michigan'),
('US/Mountain', 'US/Mountain'),
('US/Pacific', 'US/Pacific'),
('US/Pacific-New', 'US/Pacific-New'),
('US/Samoa', 'US/Samoa'),
('UTC', 'UTC'),
('Universal', 'Universal'),
('W-SU', 'W-SU'),
('WET', 'WET'),
('Zulu', 'Zulu')]</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_HANDLERS</td>
<td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td>
</tr>
<tr>
<td>DEFAULT_CONTENT_TYPE</td>
<td class="code"><pre>'text/html'</pre></td>
</tr>
<tr>
<td>DEBUG_STATIC</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_APPROVAL_REQUIRED</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>APPEND_SLASH</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>FIRST_DAY_OF_WEEK</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>DATABASE_ROUTERS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>DEFAULT_TABLESPACE</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>YEAR_MONTH_FORMAT</td>
<td class="code"><pre>'F Y'</pre></td>
</tr>
<tr>
<td>STATICFILES_STORAGE</td>
<td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td>
</tr>
<tr>
<td>CACHES</td>
<td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}}</pre></td>
</tr>
<tr>
<td>DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>CKAN_ORIGINS</td>
<td class="code"><pre>[{'css_class': 'hdx',
'label': 'Humanitarian Data Exchange (HDX)',
'url': 'https://data.hdx.rwlabs.org/dataset/new?title={name}&dataset_date={date}¬es={abstract}&caveats={caveats}'}]</pre></td>
</tr>
<tr>
<td>SLACK_WEBHOOK_URLS</td>
<td class="code"><pre>['https://hooks.slack.com/services/T000/B000/XX']</pre></td>
</tr>
<tr>
<td>ACCOUNT_EMAIL_CONFIRMATION_EMAIL</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SERVER_EMAIL</td>
<td class="code"><pre>'root@localhost'</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_PATH</td>
<td class="code"><pre>'/'</pre></td>
</tr>
<tr>
<td>EXIF_ENABLED</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>USE_X_FORWARDED_HOST</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_OPEN_SIGNUP</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>ROOT_URLCONF</td>
<td class="code"><pre>'geonode.urls'</pre></td>
</tr>
<tr>
<td>CATALOGUE</td>
<td class="code"><pre>{'default': {'ENGINE': 'geonode.catalogue.backends.pycsw_local',
'URL': 'http://opengeo.grida.no/catalogue/csw'}}</pre></td>
</tr>
<tr>
<td>MISSING_THUMBNAIL</td>
<td class="code"><pre>'geonode/img/missing_thumb.png'</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_TEMP_DIR</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>MIDDLEWARE_CLASSES</td>
<td class="code"><pre>('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'pagination.middleware.PaginationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')</pre></td>
</tr>
<tr>
<td>USE_I18N</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>THOUSAND_SEPARATOR</td>
<td class="code"><pre>','</pre></td>
</tr>
<tr>
<td>SECRET_KEY</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>MODELTRANSLATION_FALLBACK_LANGUAGES</td>
<td class="code"><pre>('en',)</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_NAME</td>
<td class="code"><pre>'django_language'</pre></td>
</tr>
<tr>
<td>OGC_SERVER</td>
<td class="code"><pre>{'default': {'BACKEND': 'geonode.geoserver',
'BACKEND_WRITE_ENABLED': True,
'DATASTORE': 'datastore',
'GEOGIG_DATASTORE_DIR': '',
'GEOGIG_ENABLED': False,
'GEONODE_SECURITY_ENABLED': True,
'LOCATION': 'http://localhost:8080/geoserver/',
'LOG_FILE': '/usr/share/geoserver/data/logs/geoserver.log',
'MAPFISH_PRINT_ENABLED': True,
'PASSWORD': u'********************',
'PRINT_NG_ENABLED': True,
'PUBLIC_LOCATION': 'http://opengeo.grida.no/geoserver/',
'USER': 'admin',
'WMST_ENABLED': False,
'WPS_ENABLED': True}}</pre></td>
</tr>
<tr>
<td>ACCOUNT_REMEMBER_ME_EXPIRY</td>
<td class="code"><pre>315360000</pre></td>
</tr>
<tr>
<td>ACCOUNT_PASSWORD_CHANGE_REDIRECT_URL</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>DEFAULT_MAP_CRS</td>
<td class="code"><pre>'EPSG:900913'</pre></td>
</tr>
<tr>
<td>ACCOUNT_EMAIL_UNIQUE</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>TRANSACTIONS_MANAGED</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>LOGGING_CONFIG</td>
<td class="code"><pre>'django.utils.log.dictConfig'</pre></td>
</tr>
<tr>
<td>TEMPLATE_LOADERS</td>
<td class="code"><pre>('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')</pre></td>
</tr>
<tr>
<td>FORCE_SCRIPT_NAME</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>TASTYPIE_DEFAULT_FORMATS</td>
<td class="code"><pre>['json']</pre></td>
</tr>
<tr>
<td>TEMPLATE_DEBUG</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>AUTO_GENERATE_AVATAR_SIZES</td>
<td class="code"><pre>(20, 32, 80, 100, 140, 200)</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_NAME</td>
<td class="code"><pre>'csrftoken'</pre></td>
</tr>
<tr>
<td>THEME_ACCOUNT_CONTACT_EMAIL</td>
<td class="code"><pre>'admin@example.com'</pre></td>
</tr>
<tr>
<td>CELERY_DEFAULT_EXCHANGE</td>
<td class="code"><pre>'default'</pre></td>
</tr>
<tr>
<td>CELERY_DEFAULT_ROUTING_KEY</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>ACCOUNT_LOGIN_REDIRECT_URL</td>
<td class="code"><pre>u'/'</pre></td>
</tr>
<tr>
<td>TWITTER_HASHTAGS</td>
<td class="code"><pre>['geonode']</pre></td>
</tr>
<tr>
<td>CELERY_ALWAYS_EAGER</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>MODIFY_TOPICCATEGORY</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SIGNING_BACKEND</td>
<td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td>
</tr>
<tr>
<td>UPLOADER</td>
<td class="code"><pre>{'BACKEND': 'geonode.rest',
'OPTIONS': {'GEOGIG_ENABLED': False, 'TIME_ENABLED': False}}</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_SECURE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>NLP_ENABLED</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_LOGIN_URL</td>
<td class="code"><pre>u'account_login'</pre></td>
</tr>
<tr>
<td>CACHE_TIME</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>PYCSW</td>
<td class="code"><pre>{'CONFIGURATION': {'metadata:inspire': {'conformity_service': 'notEvaluated',
'contact_email': 'Email Address',
'contact_name': 'Organization Name',
'date': 'YYYY-MM-DD',
'default_language': 'eng',
'enabled': 'true',
'gemet_keywords': 'Utility and governmental services',
'languages_supported': 'eng,gre',
'temp_extent': 'YYYY-MM-DD/YYYY-MM-DD'},
'metadata:main': {'contact_address': 'Mailing Address',
'contact_city': 'City',
'contact_country': 'Country',
'contact_email': 'Email Address',
'contact_fax': '+xx-xxx-xxx-xxxx',
'contact_hours': 'Hours of Service',
'contact_instructions': 'During hours of service. Off on weekends.',
'contact_name': 'Lastname, Firstname',
'contact_phone': '+xx-xxx-xxx-xxxx',
'contact_position': 'Position Title',
'contact_postalcode': 'Zip or Postal Code',
'contact_role': 'pointOfContact',
'contact_stateorprovince': 'Administrative Area',
'contact_url': 'Contact URL',
'identification_abstract': 'GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data',
'identification_accessconstraints': 'None',
'identification_fees': 'None',
'identification_keywords': 'sdi,catalogue,discovery,metadata,GeoNode',
'identification_keywords_type': 'theme',
'identification_title': 'GeoNode Catalogue',
'provider_name': 'Organization Name',
'provider_url': 'http://localhost:8000/'}}}</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_DOMAIN</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>FILE_CHARSET</td>
<td class="code"><pre>'utf-8'</pre></td>
</tr>
<tr>
<td>DEBUG</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SESSION_FILE_PATH</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>DEFAULT_FILE_STORAGE</td>
<td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td>
</tr>
<tr>
<td>INSTALLED_APPS</td>
<td class="code"><pre>('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'django.contrib.humanize',
'django.contrib.gis',
'pagination',
'taggit',
'friendlytagloader',
'geoexplorer',
'leaflet',
'django_extensions',
'autocomplete_light',
'mptt',
'modeltranslation',
'djcelery',
'pinax_theme_bootstrap_account',
'pinax_theme_bootstrap',
'django_forms_bootstrap',
'account',
'avatar',
'dialogos',
'agon_ratings',
'announcements',
'actstream',
'user_messages',
'tastypie',
'polymorphic',
'guardian',
'geonode.people',
'geonode.base',
'geonode.layers',
'geonode.maps',
'geonode.proxy',
'geonode.security',
'geonode.social',
'geonode.catalogue',
'geonode.documents',
'geonode.api',
'geonode.groups',
'geonode.services',
'geonode.geoserver',
'geonode.upload',
'geonode.tasks')</pre></td>
</tr>
<tr>
<td>LANGUAGES_BIDI</td>
<td class="code"><pre>('he', 'ar', 'fa', 'ur')</pre></td>
</tr>
<tr>
<td>USE_L10N</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DATABASE_ENGINE</td>
<td class="code"><pre>'postgresql_psycopg2'</pre></td>
</tr>
<tr>
<td>STATIC_ROOT</td>
<td class="code"><pre>'/var/www/geonode/static/'</pre></td>
</tr>
<tr>
<td>STATICFILES_DIRS</td>
<td class="code"><pre>['/etc/geonode/media', '/usr/local/lib/python2.7/dist-packages/geonode/static']</pre></td>
</tr>
<tr>
<td>DATABASE_NAME</td>
<td class="code"><pre>'geonode'</pre></td>
</tr>
<tr>
<td>LEAFLET_CONFIG</td>
<td class="code"><pre>{'PLUGINS': {u'ALL': {u'css': [u'/static/leaflet/draw/leaflet.draw.css',
'/static/lib/css/leaflet.fullscreen.css?v=2.4'],
u'js': [u'/static/leaflet/draw/leaflet.draw.js',
u'/static/leaflet/leaflet.extras.js',
u'/static/leaflet/leaflet.forms.js',
u'/static/leaflet/proj4js.js',
u'/static/leaflet/proj4leaflet.js',
u"/static/proj4js/{'DETAIL': 'never'}.js",
'/static/lib/js/Leaflet.fullscreen.min.js?v=2.4',
'/static/lib/js/esri-leaflet.js?v=2.4']},
u'__default__': {u'css': ['/static/lib/css/leaflet.fullscreen.css?v=2.4'],
u'js': ['/static/lib/js/Leaflet.fullscreen.min.js?v=2.4',
'/static/lib/js/esri-leaflet.js?v=2.4']},
u'__is_normalized__': True,
'esri-leaflet': {'auto-include': True,
u'css': [],
'js': ['/static/lib/js/esri-leaflet.js?v=2.4']},
u'forms': {u'auto-include': False,
u'css': [u'/static/leaflet/draw/leaflet.draw.css'],
u'js': [u'/static/leaflet/draw/leaflet.draw.js',
u'/static/leaflet/leaflet.extras.js',
u'/static/leaflet/leaflet.forms.js',
u'/static/leaflet/proj4js.js',
u'/static/leaflet/proj4leaflet.js',
u"/static/proj4js/{'DETAIL': 'never'}.js"]},
'leaflet-fullscreen': {'auto-include': True,
'css': ['/static/lib/css/leaflet.fullscreen.css?v=2.4'],
'js': ['/static/lib/js/Leaflet.fullscreen.min.js?v=2.4']}},
'TILES': [('Watercolor',
'http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.png',
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> — Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'),
('Toner Lite',
'http://{s}.tile.stamen.com/toner-lite/{z}/{x}/{y}.png',
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> — Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>')]}</pre></td>
</tr>
<tr>
<td>DOWNLOAD_FORMATS_VECTOR</td>
<td class="code"><pre>['JPEG',
'PDF',
'PNG',
'Zipped Shapefile',
'GML 2.0',
'GML 3.1.1',
'CSV',
'Excel',
'GeoJSON',
'KML',
'View in Google Earth',
'Tiles']</pre></td>
</tr>
<tr>
<td>PREPEND_WWW</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SECURE_PROXY_SSL_HEADER</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>SOCIAL_ORIGINS</td>
<td class="code"><pre>[{'css_class': 'email',
'label': 'Email',
'url': 'mailto:?subject={name}&body={url}'},
{'css_class': 'fb',
'label': 'Facebook',
'url': 'http://www.facebook.com/sharer.php?u={url}'},
{'css_class': 'tw',
'label': 'Twitter',
'url': 'https://twitter.com/share?url={url}&hashtags={hashtags}'},
{'css_class': 'gp',
'label': 'Google +',
'url': 'https://plus.google.com/share?url={url}'}]</pre></td>
</tr>
<tr>
<td>ACCOUNT_PASSWORD_RESET_REDIRECT_URL</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_HTTPONLY</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>DATABASE_PORT</td>
<td class="code"><pre>'5432'</pre></td>
</tr>
<tr>
<td>DEBUG_PROPAGATE_EXCEPTIONS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DEFAULT_ANONYMOUS_VIEW_PERMISSION</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>MEDIA_URL</td>
<td class="code"><pre>'/uploaded/'</pre></td>
</tr>
<tr>
<td>MONTH_DAY_FORMAT</td>
<td class="code"><pre>'F j'</pre></td>
</tr>
<tr>
<td>ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL</td>
<td class="code"><pre>u'account_login'</pre></td>
</tr>
<tr>
<td>LOGIN_URL</td>
<td class="code"><pre>'/account/login/'</pre></td>
</tr>
<tr>
<td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SEARCH_FILTERS</td>
<td class="code"><pre>{'CATEGORIES_ENABLED': True,
'DATE_ENABLED': True,
'EXTENT_ENABLED': True,
'KEYWORDS_ENABLED': u'********************',
'OWNERS_ENABLED': True,
'REGION_ENABLED': True,
'TEXT_ENABLED': True,
'TYPE_ENABLED': True}</pre></td>
</tr>
<tr>
<td>OPENGRAPH_ENABLED</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>PROJECT_ROOT</td>
<td class="code"><pre>'/usr/local/lib/python2.7/dist-packages/geonode'</pre></td>
</tr>
<tr>
<td>OGP_URL</td>
<td class="code"><pre>'http://geodata.tufts.edu/solr/select'</pre></td>
</tr>
<tr>
<td>CELERY_EAGER_PROPAGATES_EXCEPTIONS</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>TIME_FORMAT</td>
<td class="code"><pre>'P'</pre></td>
</tr>
<tr>
<td>CELERY_IGNORE_RESULT</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SERVICE_UPDATE_INTERVAL</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>AUTH_USER_MODEL</td>
<td class="code"><pre>'people.Profile'</pre></td>
</tr>
<tr>
<td>DATE_INPUT_FORMATS</td>
<td class="code"><pre>('%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y')</pre></td>
</tr>
<tr>
<td>ACCOUNT_LOGOUT_REDIRECT_URL</td>
<td class="code"><pre>u'/'</pre></td>
</tr>
<tr>
<td>HAYSTACK_SEARCH</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>AUTHENTICATION_BACKENDS</td>
<td class="code"><pre>('django.contrib.auth.backends.ModelBackend',
'guardian.backends.ObjectPermissionBackend')</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_PASSWORD</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>CELERY_DISABLE_RATE_LIMITS</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>PASSWORD_RESET_TIMEOUT_DAYS</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_ALIAS</td>
<td class="code"><pre>'default'</pre></td>
</tr>
<tr>
<td>SESSION_SAVE_EVERY_REQUEST</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>NUMBER_GROUPING</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>SHORT_DATETIME_FORMAT</td>
<td class="code"><pre>'m/d/Y P'</pre></td>
</tr>
<tr>
<td>SESSION_ENGINE</td>
<td class="code"><pre>'django.contrib.sessions.backends.db'</pre></td>
</tr>
<tr>
<td>CELERY_RESULT_BACKEND</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>ACCOUNT_DELETION_MARK_CALLBACK</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_PATH</td>
<td class="code"><pre>'/'</pre></td>
</tr>
<tr>
<td>LOGIN_REDIRECT_URL</td>
<td class="code"><pre>'/accounts/profile/'</pre></td>
</tr>
<tr>
<td>SITEURL</td>
<td class="code"><pre>'http://opengeo.grida.no/'</pre></td>
</tr>
<tr>
<td>NLP_LIBRARY_PATH</td>
<td class="code"><pre>'/opt/MITIE/mitielib'</pre></td>
</tr>
<tr>
<td>ACCOUNT_DELETION_EXPUNGE_HOURS</td>
<td class="code"><pre>48</pre></td>
</tr>
<tr>
<td>GEONODE_ROOT</td>
<td class="code"><pre>'/usr/local/lib/python2.7/dist-packages/geonode'</pre></td>
</tr>
<tr>
<td>DECIMAL_SEPARATOR</td>
<td class="code"><pre>'.'</pre></td>
</tr>
<tr>
<td>API_INCLUDE_REGIONS_COUNT</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>CELERY_SEND_EVENTS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>NOSE_ARGS</td>
<td class="code"><pre>['--nocapture', '--detailed-errors']</pre></td>
</tr>
<tr>
<td>LOCALE_PATHS</td>
<td class="code"><pre>('/usr/local/lib/python2.7/dist-packages/geonode/locale',)</pre></td>
</tr>
<tr>
<td>NLP_MODEL_PATH</td>
<td class="code"><pre>'/opt/MITIE/MITIE-models/english/ner_model.dat'</pre></td>
</tr>
<tr>
<td>PASSWORD_HASHERS</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>PROXY_ALLOWED_HOSTS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>MESSAGE_STORAGE</td>
<td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td>
</tr>
<tr>
<td>USE_QUEUE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>COMMENTS_ALLOW_PROFANITIES</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>LOGOUT_URL</td>
<td class="code"><pre>'/account/logout/'</pre></td>
</tr>
<tr>
<td>MAP_BASELAYERS</td>
<td class="code"><pre>[{'source': {'ptype': 'gxp_wmscsource',
'restUrl': '/gs/rest',
'url': 'http://opengeo.grida.no/geoserver/wms'}},
{'args': ['No background'],
'fixed': True,
'group': 'background',
'source': {'ptype': 'gxp_olsource'},
'type': 'OpenLayers.Layer',
'visibility': False},
{'fixed': True,
'group': 'background',
'name': 'mapnik',
'source': {'ptype': 'gxp_osmsource'},
'type': 'OpenLayers.Layer.OSM',
'visibility': False},
{'group': 'background',
'name': 'osm',
'source': {'ptype': 'gxp_mapquestsource'},
'visibility': True},
{'group': 'background',
'name': 'naip',
'source': {'ptype': 'gxp_mapquestsource'},
'visibility': False},
{'source': {'ptype': 'gxp_mapboxsource'}}]</pre></td>
</tr>
<tr>
<td>EMAIL_USE_TLS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_LANGUAGES</td>
<td class="code"><pre>[('en', u'English'),
('es', u'espa\xf1ol'),
('it', u'italiano'),
('fr', u'fran\xe7ais'),
('de', u'Deutsch'),
('el', u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac'),
('id', u'Bahasa Indonesia'),
('zh-cn', u'\u7b80\u4f53\u4e2d\u6587'),
('ja', u'\u65e5\u672c\u8a9e'),
('fa', u'\u0641\u0627\u0631\u0633\u06cc'),
('ar', u'\u0627\u0644\u0639\u0631\u0628\u064a\u0651\u0629'),
('bn', u'\u09ac\u09be\u0982\u09b2\u09be'),
('ne', u'\u0928\u0947\u092a\u093e\u0932\u0940'),
('sq', u'shqip'),
('af', u'Afrikaans'),
('sw', u'Kiswahili'),
('pt', u'Portugu\xeas'),
('ru', u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439'),
('vi', u'Ti\xea\u0301ng Vi\xea\u0323t'),
('ko', u'\ud55c\uad6d\uc5b4'),
('am', 'Amharic'),
('km', u'Khmer'),
('pl', u'polski'),
('sv', u'svenska'),
('th', u'\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22'),
('uk', u'\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430'),
('si', 'sinhala'),
('ta', u'tamil'),
('tl', 'tagalog')]</pre></td>
</tr>
<tr>
<td>FIXTURE_DIRS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>ABSOLUTE_URL_OVERRIDES</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>DATE_FORMAT</td>
<td class="code"><pre>'N j, Y'</pre></td>
</tr>
<tr>
<td>NLP_LOCATION_THRESHOLD</td>
<td class="code"><pre>1.0</pre></td>
</tr>
<tr>
<td>CSRF_FAILURE_VIEW</td>
<td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td>
</tr>
<tr>
<td>SKIP_PERMS_FILTER</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_NOTIFY_ON_PASSWORD_CHANGE</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>MEDIA_ROOT</td>
<td class="code"><pre>'/var/www/geonode/uploaded'</pre></td>
</tr>
<tr>
<td>AGON_RATINGS_CATEGORY_CHOICES</td>
<td class="code"><pre>{'documents.Document': {'document': 'How good is this document?'},
'layers.Layer': {'layer': 'How good is this layer?'},
'maps.Map': {'map': 'How good is this map?'}}</pre></td>
</tr>
<tr>
<td>DATABASE_HOST</td>
<td class="code"><pre>'localhost'</pre></td>
</tr>
<tr>
<td>DEFAULT_EXCEPTION_REPORTER_FILTER</td>
<td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td>
</tr>
<tr>
<td>ADMINS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>FORMAT_MODULE_PATH</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>DEFAULT_FROM_EMAIL</td>
<td class="code"><pre>'webmaster@localhost'</pre></td>
</tr>
<tr>
<td>GEONODE_APPS</td>
<td class="code"><pre>('geonode.people',
'geonode.base',
'geonode.layers',
'geonode.maps',
'geonode.proxy',
'geonode.security',
'geonode.social',
'geonode.catalogue',
'geonode.documents',
'geonode.api',
'geonode.groups',
'geonode.services',
'geonode.geoserver',
'geonode.upload',
'geonode.tasks')</pre></td>
</tr>
<tr>
<td>GEOSERVER_URL</td>
<td class="code"><pre>'http://opengeo.grida.no/geoserver/'</pre></td>
</tr>
<tr>
<td>DATETIME_FORMAT</td>
<td class="code"><pre>'N j, Y, P'</pre></td>
</tr>
<tr>
<td>TEMPLATE_DIRS</td>
<td class="code"><pre>('/etc/geonode/templates',
'/usr/local/lib/python2.7/dist-packages/geonode/templates')</pre></td>
</tr>
<tr>
<td>ALLOWED_DOCUMENT_TYPES</td>
<td class="code"><pre>['doc',
'docx',
'gif',
'jpg',
'jpeg',
'ods',
'odt',
'odp',
'pdf',
'png',
'ppt',
'pptx',
'rar',
'sld',
'tif',
'tiff',
'txt',
'xls',
'xlsx',
'xml',
'zip',
'gz']</pre></td>
</tr>
<tr>
<td>NOTIFICATION_LANGUAGE_MODULE</td>
<td class="code"><pre>'account.Account'</pre></td>
</tr>
<tr>
<td>ACCOUNT_DELETION_EXPUNGE_CALLBACK</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>RESOURCE_PUBLISHING</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ACCOUNT_HOOKSET</td>
<td class="code"><pre><account.hooks.AccountDefaultHookSet object at 0x7fc5fce3d750></pre></td>
</tr>
<tr>
<td>PROXY_URL</td>
<td class="code"><pre>'/proxy/?url='</pre></td>
</tr>
<tr>
<td>SITE_ID</td>
<td class="code"><pre>1</pre></td>
</tr>
<tr>
<td>DISALLOWED_USER_AGENTS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>ALLOWED_INCLUDE_ROOTS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>API_LIMIT_PER_PAGE</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>ACCOUNT_SETTINGS_REDIRECT_URL</td>
<td class="code"><pre>u'account_settings'</pre></td>
</tr>
<tr>
<td>EXTRA_LANG_INFO</td>
<td class="code"><pre>{'am': {'bidi': False,
'code': 'am',
'name': 'Amharic',
'name_local': 'Amharic'},
'si': {'bidi': False,
'code': 'si',
'name': 'Sinhala',
'name_local': 'sinhala'},
'ta': {'bidi': False, 'code': 'ta', 'name': 'Tamil', 'name_local': u'tamil'},
'tl': {'bidi': False,
'code': 'tl',
'name': 'Tagalog',
'name_local': 'tagalog'}}</pre></td>
</tr>
<tr>
<td>SRID</td>
<td class="code"><pre>{'DETAIL': 'never'}</pre></td>
</tr>
<tr>
<td>LOGGING</td>
<td class="code"><pre>{'disable_existing_loggers': True,
'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
'formatters': {'simple': {'format': '%(message)s'},
'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'console': {'class': 'logging.StreamHandler',
'formatter': 'simple',
'level': 'ERROR'},
'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'filters': ['require_debug_false'],
'level': 'ERROR'},
'null': {'class': 'django.utils.log.NullHandler',
'level': 'ERROR'}},
'loggers': {'django': {'handlers': ['console'], 'level': 'ERROR'},
'geonode': {'handlers': ['console'], 'level': 'ERROR'},
'gsconfig.catalog': {'handlers': ['console'], 'level': 'ERROR'},
'owslib': {'handlers': ['console'], 'level': 'ERROR'},
'pycsw': {'handlers': ['console'], 'level': 'ERROR'}},
'version': 1}</pre></td>
</tr>
<tr>
<td>SHORT_DATE_FORMAT</td>
<td class="code"><pre>'m/d/Y'</pre></td>
</tr>
<tr>
<td>TWITTER_SITE</td>
<td class="code"><pre>'@GeoNode'</pre></td>
</tr>
<tr>
<td>DATABASE_USER</td>
<td class="code"><pre>'geonode'</pre></td>
</tr>
<tr>
<td>SLACK_ENABLED</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>TEST_RUNNER</td>
<td class="code"><pre>'django_nose.NoseTestSuiteRunner'</pre></td>
</tr>
<tr>
<td>ACTSTREAM_SETTINGS</td>
<td class="code"><pre>{'FETCH_RELATIONS': True,
'GFK_FETCH_DEPTH': 1,
'MODELS': ('people.Profile',
'layers.layer',
'maps.map',
'dialogos.comment',
'documents.document',
'services.service'),
'USE_JSONFIELD': True,
'USE_PREFETCH': False}</pre></td>
</tr>
<tr>
<td>MODELTRANSLATION_LANGUAGES</td>
<td class="code"><pre>['en']</pre></td>
</tr>
<tr>
<td>HAYSTACK_FACET_COUNTS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>DEFAULT_WORKSPACE</td>
<td class="code"><pre>'geonode'</pre></td>
</tr>
<tr>
<td>TIME_ZONE</td>
<td class="code"><pre>'America/Chicago'</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
<td class="code"><pre>2621440</pre></td>
</tr>
<tr>
<td>LOCAL_GEOSERVER</td>
<td class="code"><pre>{'source': {'ptype': 'gxp_wmscsource',
'restUrl': '/gs/rest',
'url': 'http://opengeo.grida.no/geoserver/wms'}}</pre></td>
</tr>
<tr>
<td>EMAIL_BACKEND</td>
<td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td>
</tr>
<tr>
<td>ANONYMOUS_USER_ID</td>
<td class="code"><pre>-1</pre></td>
</tr>
<tr>
<td>DEFAULT_MAP_ZOOM</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>TEMPLATE_CONTEXT_PROCESSORS</td>
<td class="code"><pre>('django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.tz',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.core.context_processors.request',
'django.contrib.messages.context_processors.messages',
'account.context_processors.account',
'geonode.context_processors.resource_urls',
'geonode.geoserver.context_processors.geoserver_urls')</pre></td>
</tr>
<tr>
<td>CELERY_QUEUES</td>
<td class="code"><pre>[<unbound Queue 'default' -> <unbound Exchange ''(direct)> -> default>,
<unbound Queue 'cleanup' -> <unbound Exchange ''(direct)> -> cleanup>,
<unbound Queue 'update' -> <unbound Exchange ''(direct)> -> update>,
<unbound Queue 'email' -> <unbound Exchange ''(direct)> -> email>]</pre></td>
</tr>
<tr>
<td>LOCKDOWN_GEONODE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_AGE</td>
<td class="code"><pre>1209600</pre></td>
</tr>
<tr>
<td>SETTINGS_MODULE</td>
<td class="code"><pre>'geonode.settings'</pre></td>
</tr>
<tr>
<td>GUARDIAN_GET_INIT_ANONYMOUS_USER</td>
<td class="code"><pre>'geonode.people.models.get_anonymous_user_instance'</pre></td>
</tr>
<tr>
<td>USE_ETAGS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SOCIAL_BUTTONS</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>LANGUAGES</td>
<td class="code"><pre>(('en', 'English'),
('es', 'Espa\xc3\xb1ol'),
('it', 'Italiano'),
('fr', 'Fran\xc3\xa7ais'),
('de', 'Deutsch'),
('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'),
('id', 'Bahasa Indonesia'),
('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'),
('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'),
('fa', 'Persian'),
('ar', 'Arabic'),
('bn', 'Bengali'),
('ne', 'Nepali'),
('sq', 'Albanian'),
('af', 'Afrikaans'),
('sw', 'Swahili'),
('pt', 'Portuguese'),
('ru', 'Russian'),
('vi', 'Vietnamese'),
('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'),
('am', 'Amharic'),
('km', 'Khmer'),
('pl', 'Polish'),
('sv', 'Swedish'),
('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'),
('uk', 'Ukranian'),
('si', 'Sinhala'),
('ta', 'Tamil'),
('tl', 'Tagalog'))</pre></td>
</tr>
<tr>
<td>CELERY_TASK_RESULT_EXPIRES</td>
<td class="code"><pre>1</pre></td>
</tr>
<tr>
<td>DEFAULT_INDEX_TABLESPACE</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>INTERNAL_IPS</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>STATIC_URL</td>
<td class="code"><pre>'/static/'</pre></td>
</tr>
<tr>
<td>EMAIL_PORT</td>
<td class="code"><pre>25</pre></td>
</tr>
<tr>
<td>LAYER_PREVIEW_LIBRARY</td>
<td class="code"><pre>'geoext'</pre></td>
</tr>
<tr>
<td>USE_TZ</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DEFAULT_SEARCH_SIZE</td>
<td class="code"><pre>10</pre></td>
</tr>
<tr>
<td>CLIENT_RESULTS_LIMIT</td>
<td class="code"><pre>100</pre></td>
</tr>
<tr>
<td>MODELTRANSLATION_DEFAULT_LANGUAGE</td>
<td class="code"><pre>'en'</pre></td>
</tr>
<tr>
<td>ACCOUNT_SIGNUP_REDIRECT_URL</td>
<td class="code"><pre>u'/'</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_SECONDS</td>
<td class="code"><pre>600</pre></td>
</tr>
<tr>
<td>SITENAME</td>
<td class="code"><pre>'GeoNode'</pre></td>
</tr>
<tr>
<td>ACCOUNT_CREATE_ON_SAVE</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_HTTPONLY</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DATETIME_INPUT_FORMATS</td>
<td class="code"><pre>('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M:%S.%f',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M:%S.%f',
'%m/%d/%y %H:%M',
'%m/%d/%y')</pre></td>
</tr>
<tr>
<td>ACCOUNT_EMAIL_CONFIRMATION_REQUIRED</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DATABASE_PASSWORD</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>PROFANITIES_LIST</td>
<td class="code"><pre>u'********************'</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_USER</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>MAX_DOCUMENT_SIZE</td>
<td class="code"><pre>2</pre></td>
</tr>
</tbody>
</table>
</div>
<div id="explanation">
<p>
You're seeing this error because you have <code>DEBUG = True</code> in your
Django settings file. Change that to <code>False</code>, and Django will
display a standard 500 page.
</p>
</div>
</body>
</html>