title: Django rest framework & external api
body: <p>i wanna get my data from an external API (<a href="https://example.com/consumers" rel="nofollow noreferrer">https://example.com/consumers</a>). Can I build my urls.py like this? </p>
  
  <pre><code>url(r'^(?P&lt;test.com/consumers)&gt;[0-9]+)$/', views.get, name="get"),
  </code></pre>
  
  <p>Or do you have any other(s) good idea(s) ?</p>
  
  <p>Thanks. </p>