title: Django: How to add a print button to objects to print some (special) fields of a model instance
body: <p><strong>(Hopefully) not a duplicate:</strong></p>
  
  <p>I know this might seem to be quite similar to <a href="https://stackoverflow.com/questions/19476195/django-admin-overriding-adding-a-print-button">Django admin overriding - adding a print button</a>
  But the answer there is to use django-object-actions, which I already tried but it looks a bit too overloaded for such an simple task. Furthermore the buttons there are not placed behind the row.</p>
  
  <hr>
  
  <p><strong>My question:</strong></p>
  
  <p>I would like to create a printable view of some fields of a Django models instance.</p>
  
  <p>Let's say I want to print an users</p>
  
  <ul>
  <li>Name</li>
  <li>Last Name</li>
  <li>Number</li>
  </ul>
  
  <p><strong>What I image is something like this:</strong></p>
  
  <ol>
  <li><p>Clicking on a <code>print</code> button, shown at the list view:</p>
  
  <p><a href="https://i.stack.imgur.com/nw5P6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nw5P6.png" alt="enter image description here"></a></p></li>
  <li><p>An preformatted and easy to print website opens which contains the data:</p>
  
  <p><a href="https://i.stack.imgur.com/CmjWh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CmjWh.png" alt="enter image description here"></a></p></li>
  </ol>
  
  <p><strong>What I have so far</strong></p>
  
  <p>I added the button by using the following code:</p>
  
  <pre><code>class MyModelAdmin(admin.ModelAdmin):
  
      list_display = ('number', 'name', 'last_name', ..., 'account_actions')
  
      ...
  
      def account_actions(self, obj):
          return format_html(
              '&lt;form method="post" action="/print_view.htm"&gt; \
                  &lt;input type="hidden" name="name" value="{}"&gt; \
                  &lt;button type="submit" name="action"&gt;Print&lt;/button&gt; \
              &lt;/form&gt;',
              obj.name
          )
      account_actions.short_description = 'Actions'
      account_actions.allow_tags = True
  </code></pre>
  
  <p>So my idea is to send the data which I want to get printed to another Website (via POST, on the same server). I would extract the data from the request then and create a printable view.</p>
  
  <hr>
  
  <p>My question is:
  <strong>Is it possible to do the same within Django (without leaving DjangoAdmin for the printable view)?</strong></p>
  
  <p>The current approach doesn't feel right too me, I bet there is a way to do that using just Django - a way which I don't know of since I am quite a beginner here.</p>