title: Django Admin: add inlines dynamically
body: <pre><code>class MyTemplateAdmin(admin.ModelAdmin):
  list_display = ('name')
  search_fields = ['name']
  inlines = [
      Template1Inline,
      Template2Inline,
      Template3Inline,
  ]
  </code></pre>
  
  <p>This works fine. But what I need is to make it dynamic. Whenever the admin adds a new Template to the <strong>MyTemplate</strong> Model, that needs to be added to the inlines.</p>
  
  <p>Is there a way to do this? Please comment if I am not clear enough on my question.
  Thanks in advance!</p>