resolving errors raised by django registration tests
parent
41746e6063
commit
146bb5639f
|
@ -1,4 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
{# raw url references raise test errors in tests for django registration; this is a workaround #}
|
||||
{% url privacy as privacyurl %}
|
||||
<html>
|
||||
<head>
|
||||
<title>unglue.it {% block title %}{% endblock %}</title>
|
||||
|
@ -43,7 +45,7 @@
|
|||
|
||||
<div id="footer">
|
||||
<ul class="menu">
|
||||
<li><a href="{% url privacy %}"><span>Privacy</span></a></li>
|
||||
<li><a href="{{privacyurl}}"><span>Privacy</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<!-- template needed only to pass tests -->
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!-- template needed only to pass tests -->
|
||||
|
Loading…
Reference in New Issue