title: Uncaught TypeError: $ is not a function in Django admain page
body: <p>I was using Django 1.9 to build my comment-check application, but I suddenly found parts of CSS/javascript didn't display on the Django admin page while I was on the adjustment about urls and views.<br>
  <a href="https://i.stack.imgur.com/7cqdc.jpg" rel="nofollow noreferrer">enter image description here</a><br>
  <a href="https://i.stack.imgur.com/VXFJz.jpg" rel="nofollow noreferrer">enter image description here</a><br>
  As you can see, all admin pages like picture one except the detail content pages like picture two works well. And in the content pages, Chrome developer tool console show these messages  </p>
  
  <pre><code>RelatedObjectLookups.js:160 Uncaught TypeError: $ is not a function
  at RelatedObjectLookups.js:160
  at RelatedObjectLookups.js:189
  (anonymous) @RelatedObjectLookups.js:160
  (anonymous) @RelatedObjectLookups.js:189  
  </code></pre>
  
  <p>For sure, I don't want to paste the code from RelatedObjectLookups.js becasue I never edited any statements in this js file(maybe). This file's location is here by default:  </p>
  
  <pre><code>myapp\static\admin\js\admin  
  </code></pre>
  
  <p>I didn't get any 404 status code or other error response from the server. Most importantly, when I tried to check whether it was the specific case in this app so I opened my other django projects admin pages, this problem still persisted. Even though I reinstall the Django in virtualenv cannot solve it.<br>
  It is the first time I ask question in here, also I'm not a native English speaker and just a python beginner. This task confused me for few hours and still found a solution. So I hopes someone can give me some advice. Thx.</p>
  
  <p>​</p>