title: Django validationError from jquery post.fail() into normal message (displays "[u'text here']")
body: <p>I have created a validation error in my models.py that shows when people try to save an appointment in the past (my app is a kind of calendar). This all works. (btw: I use ugettext_laxy as _)</p>
  
  <pre><code>raise ValidationError(_('SomeText')
  </code></pre>
  
  <p>However, now I'm using ajax post calls to create new appointments. They give back the 400 BAD REQUEST response, which I capture in the .fail() block in the javascript and show in a popup:</p>
  
  <pre><code>.fail(function(jqXHR, textStatus, errorThrown) {
              showPopupMessage(jqXHR.responseJSON.error, 'danger');
              });
  </code></pre>
  
  <p>So far so good. The popup and everything works.</p>
  
  <p>However, the showed text inside the jqXHR.responseJSON.error object is like this:</p>
  
  <pre><code>"[u'SomeText']"
  </code></pre>
  
  <p>Which means that the text inside the popup shows like this:</p>
  
  <pre><code>[u'SomeText'].
  </code></pre>
  
  <p>ie, it looks like a unpacked python string inside a list. Is there a way to unpack this using javascript/jquery?</p>
  
  <p>I've been working on this for several hours, for something that should be so easy for a javascript guru... (I'm new to javascript)... So thanks a lot!</p>
  
  <p>EDIT: I'm using tastypie, so I guess I use those views? </p>