When to use save - Deepstash

When to use save

  • when creating a new record.
  • you have a model instance already, and you need to change some field values.
  • you've overridden the save() method to include some custom model logic.
  • you defined pre_save and post_save signals for that model.

2

15 reads

CURATED FROM

IDEAS CURATED BY

The idea is part of this collection:

Metaverse

Learn more about artificialintelligence with this collection

Find out the challenges it poses

Learn about the potential impact on society

Understanding the concept of Metaverse

Related collections

Similar ideas to When to use save

Save

The ".save()" method is used to write a model instance to the database. It can be an existing record or even a new one. For an existing record, Django will run a SQL UPDATE statement on the database. For a new record, Django will run an INSERT.

Use templates to save time

If you find yourself sending the same emails over and over again or make minor edits each time, you can make custom templates from them. This way you will save time by completing only that part that changes.

Do this by going to Gmail settings > Advanced...

When to Use Icebreakers

Consider using an ice breaker when:

  • Participants come from different backgrounds.
  • People need to bond quickly so as to work towards a common goal.
  • Your team is newly formed.
  • The topics you are discussing are new or unfamiliar to many people involved...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates