view accounts/static/js/accounts_code.js @ 956:6cc9221d04a7

Issue #85: fix 500 error with custom search form. Can't rely on exact being in cleaned_data if there is an error with it.
author Brian Neal <bgneal@gmail.com>
date Sat, 30 May 2015 17:41:11 -0500
parents be233ba7ca31
children
line wrap: on
line source
$(document).ready(function() {
   $.get('/accounts/register/code/', function(data) {
      $('#reg-code-block').text(data.code);
   });
});