title: Differentiate ModelAdmin media for add/change pages in Django
body: <p>To encapsulate customized functionalities in Django admin I'm providing a custom <a href="http://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin" rel="nofollow noreferrer"><code>ModelAdmin</code> class</a> that actually looks like this:</p>
  <pre><code>class ArticleAdmin(admin.ModelAdmin):
      class Media:
          js = (&quot;my_code.js&quot;,)
  </code></pre>
  <p>I noted that <code>my_code.js</code> gets loaded both in add and change pages, but I need to load it only in the add page. Is it possible to do this (and how)?</p>