annotate 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
rev   line source
bgneal@905 1 $(document).ready(function() {
bgneal@905 2 $.get('/accounts/register/code/', function(data) {
bgneal@905 3 $('#reg-code-block').text(data.code);
bgneal@905 4 });
bgneal@905 5 });