Skip to content

Commit

Permalink
Switch to self-hosted Enketo, update slug, prevent manage.py migratio…
Browse files Browse the repository at this point in the history
…n error
  • Loading branch information
yanokwa committed Jul 10, 2020
1 parent 252c9dc commit ab41074
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xlsform_app/templates/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{% if itemsets_url %}
<a href="{{ itemsets_url }}" class="btn btn-success">Download external choices CSV</a>
{% endif %}
<a href="http://odk.enke.to/preview?form={{ xml_url }}" target="_blank" class="btn btn-success">Preview in Enketo</a>
<a href="https://enketo.getodk.org/preview?form={{ xml_url }}" target="_blank" class="btn btn-success">Preview in browser</a>
</div>
{% endif %}
{% endif %}
Expand All @@ -67,6 +67,6 @@

<div id="output">
</div>
<div class="version muted"><a target="_parent" href="https://github.com/getodk/xlsform-online/releases/tag/v2.1.0">v2.1.0</a></div>
<div class="version muted"><a target="_parent" href="https://github.com/getodk/xlsform-online/releases/tag/v2.1.1">v2.1.1</a></div>
</body>
</html>
2 changes: 1 addition & 1 deletion xlsform_app/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Create your views here.
from django.http import HttpResponse
from django.views.decorators.clickjacking import xframe_options_exempt
from django.shortcuts import render_to_response, render
from django.shortcuts import render
from django import forms

import tempfile
Expand Down

0 comments on commit ab41074

Please sign in to comment.