title: Getting Django admin url for an object
body: <p>Before Django 1.0 there was an easy way to get the admin url of an object, and I had written a small filter that I'd use like this: <code>&lt;a href="{{ object|admin_url }}" .... &gt; ... &lt;/a&gt;</code></p>
  
  <p>Basically I was using the url reverse function with the view name being <code>'django.contrib.admin.views.main.change_stage'</code></p>
  
  <pre><code>reverse( 'django.contrib.admin.views.main.change_stage', args=[app_label, model_name, object_id] )
  </code></pre>
  
  <p>to get the url.</p>
  
  <p>As you might have guessed, I'm trying to update to the latest version of Django, and this is one of the obstacles I came across, that method for getting the admin url doesn't work anymore.</p>
  
  <p>How can I do this in django 1.0? (or 1.1 for that matter, as I'm trying to update to the latest version in the svn).</p>