title: Django URL Design
body: <p>I often find myself falling into a world in which I am not so sure about the URLs that I came up with. I think that's mainly because I have a few questions regarding URL design in django that remain unanswered. </p>
  
  <p>Say, I have built a public profile page for my site users. It can be accessed by providing an user id. Should the user id be part of the URL (ie. <code>/profile/&lt;userid&gt;/</code>) or should it be provided in the querystring (<code>/profile?userid=&lt;userid&gt;</code>)? And why? </p>
  
  <p>I use AJAX extensively in my project. Should the AJAX URLs be designed differently from their counterparts? Is there a design pattern for this purpose?</p>