<div dir="ltr">+1 to created and +1 to updated.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 12, 2018 at 3:52 PM, David Davis <span dir="ltr"><<a href="mailto:daviddavis@redhat.com" target="_blank">daviddavis@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">+1. Also, wondering if we should add a Model.last_updated field as well.</div><div class="gmail_extra"><br clear="all"><div><div class="m_-7363328697483693430gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>David<br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Mon, Feb 12, 2018 at 12:22 PM, Jeff Ortel <span dir="ltr"><<a href="mailto:jortel@redhat.com" target="_blank">jortel@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <font face="DejaVu Sans">A few of our models have a field:</font><br>
    <pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'Liberation Mono';font-size:12.8pt">created = models.DateTimeField(<span style="font-style:italic">auto_now_<wbr>add</span>=<span style="color:#3b6494;font-weight:bold">True</span>)</pre>
    <font face="DejaVu Sans">To support ordering needed by a FilePlugin
      use case, I'm planning to add Content.created as it seems
      generally useful and I believe will be needed by most plugins. 
      This raises a more general question: should we add Model.created
      instead?  Knowing when most things get created seems generally
      useful.  For example, knowing when an artifact got created tells
      uses when it got downloaded.  Things like that.<br>
      <br>
      Thoughts?<br>
      <br>
      <br>
    </font>
  </div>

<br></div></div>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>