Link to registration from login

This commit is contained in:
Michal Čihař 2012-03-05 16:32:33 +01:00
parent 99d189d643
commit c21f68604c

View File

@ -31,4 +31,9 @@
<input type="hidden" name="next" value="{{ next }}" /> <input type="hidden" name="next" value="{{ next }}" />
</form> </form>
<p>
{% url 'registration.views.register' as register_url %}
{% blocktrans %}Do not have an account yet? You can <a href="{{ register_url }}">register</a>.{% endblocktrans %}
</p>
{% endblock %} {% endblock %}