Skip to content

Commit

Permalink
fix #1718 (#2618)
Browse files Browse the repository at this point in the history
* fix #1718

* make debug default to true
  • Loading branch information
simod authored Aug 24, 2016
2 parents 28ae92a + 4ed20ff commit 579d2a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion geonode/layers/templates/upload/layer_upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h4>{% trans "Files to be uploaded" %}</h4>
</section>

<section>
<a href="#" id="clear-button" class="btn btn-default">{% trans "Clear" %}</a>
<a href="{% url "layer_upload" %}" id="clear-button" class="btn btn-default">{% trans "Clear" %}</a>
<a href="#" id="upload-button" class="btn btn-danger">{% trans "Upload files" %}</a>
</section>
</div>
Expand Down
4 changes: 2 additions & 2 deletions geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@

# Setting debug to true makes Django serve static media and
# present pretty error pages.
DEBUG = strtobool(os.getenv('DEBUG', 'False'))
TEMPLATE_DEBUG = strtobool(os.getenv('TEMPLATE_DEBUG', 'False'))
DEBUG = strtobool(os.getenv('DEBUG', 'True'))
TEMPLATE_DEBUG = strtobool(os.getenv('TEMPLATE_DEBUG', 'True'))

# Set to True to load non-minified versions of (static) client dependencies
# Requires to set-up Node and tools that are required for static development
Expand Down

0 comments on commit 579d2a9

Please sign in to comment.