title: modifying URL structure in django/tastypie API
body: <p>I've got a tastypie API made with following code:</p>
  
  <pre><code>v1_api = Api(api_name='v1')
  v1_api.register(UserResource())
  v1_api.register(IncomeCategoryResource())
  v1_api.register(OutcomeCategoryResource())
  v1_api.register(IncomeResource())
  v1_api.register(OutcomeResource())
  
  urlpatterns = patterns('',
      (r'^api/', include((v1_api.urls))), # model urls
  )
  </code></pre>
  
  <p>I've set <code>json</code> to be the default formatting, so I don't have to provide the <code>?format=json</code> each time I access API. My URLs look like this so far:</p>
  
  <p><code>http://localhost:8000/api/v1/user/</code></p>
  
  <p><code>http://localhost:8000/api/v1/incomecategory/</code></p>
  
  <p>etc. I would like them to look like this:</p>
  
  <p><code>http://localhost:8000/api/v1/user.json</code></p>
  
  <p><code>http://localhost:8000/api/v1/incomecategory.json</code></p>
  
  <p>How can I do that with tastypie? I've tried some experiments with <code>def prepend_urls(self):</code> inside <code>ModelResource</code> classes but it didn't work at all. I guess this could be configurable somewhere inside <code>Api</code> (<code>from tastypie.api import Api</code>). Than you for any hints...</p>