title: CORS on One Endpoint Django
body: <p>I am new to Django and I have 2 endpoints in a REST API:</p>
  <pre><code>api.myapp.com/PUBLIC/
  api.myapp.com/PRIVATE/
  </code></pre>
  <p>As suggested by the names, the <code>/PUBLIC</code> endpoint is open to anyone. However, I want the <code>/PRIVATE</code> endpoint to <strong>only accept calls</strong> from <code>myapp.com</code> (my frontend). How can I do this? Thanks!</p>