---
title: "Discussion on \"Django: Use auto_now and auto_now_add Correctly — When to Switch to default=timezone.now\" | Hashnode"
description: "Discussion on \"Django: Use auto_now and auto_now_add Correctly — When to Switch to default=timezone.now\". Most Django models have two timestamp fields: created_at to know when a record was created and updated_at for the last edit. The quickest way is auto_now_add=True for created_at and auto_now=True for"
url: "https://hashnode.com/posts/django-use-auto-now-and-auto-now-add-correctly-when-to-switch-to-default-timezone-now/6af87bb3d09ab379396b5d4d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Django: Use auto\_now and auto\_now\_add Correctly — When to Switch to default=timezone.now](https://linhfishdev.hashnode.dev/django-use-auto-now-and-auto-now-add-correctly-when-to-switch-to-default-timezone-now?utm_source=hashnode&utm_medium=feed)

Most Django models have two timestamp fields: created\_at to know when a record was created and updated\_at for the last edit. The quickest way is auto\_now\_add=True for created\_at and auto\_now=True for

2d ago · 4 min read · linhfishdev.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#django](https://hashnode.com/tag/django)

## Written by

[Linh Fish Dev](https://hashnode.com/@linhfishdev)

@linhfishdev · Ho Chi Minh City, Vietnam

  
[View profile](https://hashnode.com/@linhfishdev)

Backend developer — Python, Django, FastAPI. Sharing practical tips and tutorials daily. Blog: linhfish.dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
