On 12/08/2014 12:40 PM, Craig Jones wrote:
I know that this is a common question and I have seen many, many answers
when I google about this, but I need some advice.
What I have is a field in my models called entered_by which is
ForeignKey to the User model. I would like to have this filled
auto
I know that this is a common question and I have seen many, many answers
when I google about this, but I need some advice.
What I have is a field in my models called entered_by which is ForeignKey
to the User model. I would like to have this filled automatically upon
creation in the Admin panel
On Sep 11, 11:11 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-09-11 at 22:16 +0200, Stephan Hoyer wrote:
> > Hi All
>
> > i want to store the add and changetime an user to some models, therefor
> > i created a abstract class to inherit from:
>
> > class DublinCore(models.Mode
On Thu, 2008-09-11 at 22:16 +0200, Stephan Hoyer wrote:
> Hi All
>
> i want to store the add and changetime an user to some models, therefor
> i created a abstract class to inherit from:
>
> class DublinCore(models.Model):
> inserted= models.DateTimeField(auto_now_add=True)
> updat
Hi All
i want to store the add and changetime an user to some models, therefor
i created a abstract class to inherit from:
class DublinCore(models.Model):
inserted= models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
inserter= models.For
5 matches
Mail list logo