+
Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Conversation

aminalaee
Copy link
Contributor

@aminalaee aminalaee commented Sep 8, 2021

Fixes #53 .

note, created = await Note.objects.get_or_create(text="encode")

@aminalaee aminalaee merged commit edcabe0 into encode:master Sep 11, 2021
@aminalaee aminalaee deleted the get-or-create-method branch September 11, 2021 05:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add QuerySet-level convenience method: get_or_create

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载