Commits

megaman821  committed 9070076

update to new style url template tags

  • Participants
  • Parent commits 74384cc

Comments (0)

Files changed (3)

File accounts/__init__.py

 __version_info__ = {
     'major': 0,
-    'minor': 1,
-    'micro': 1,
+    'minor': 2,
+    'micro': 0,
     'releaselevel': 'beta',
-    'serial': 11
+    'serial': 12
 }
 
 def get_version(short=False):

File accounts/templates/accounts/login.html

 {% extends "base.html" %}
 
+{% load url from future %}
+
 {% block title %}
     Login | {{block.super}}
 {% endblock %}
         </table>
         <input class="btn" type="submit" value="Login" />
     </form>
-    <p><a href="{% url auth_password_reset %}" >Forgot your password?</a></p>
+    <p><a href="{% url 'auth_password_reset' %}" >Forgot your password?</a></p>
 {% endblock %}

File accounts/templates/accounts/password_reset_email.html

-A request has been made at MySite({{protocol}}://{{domain}}) to reset your password. If you are not the originator of this request, you can safely ignore this e-mail. Your password will NOT be changed until a new one is entered at this link: {{protocol}}://{{domain}}{% url auth_password_reset_confirm uid token %}.
+{% load url from future %}
+A request has been made at MySite({{protocol}}://{{domain}}) to reset your password. If you are not the originator of this request, you can safely ignore this e-mail. Your password will NOT be changed until a new one is entered at this link: {{protocol}}://{{domain}}{% url 'auth_password_reset_confirm' uid token %}.