Created
October 29, 2019 11:55
-
-
Save egitimplus/7c658856569e35ffe3d3297e8c366f00 to your computer and use it in GitHub Desktop.
save()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from learning.models import Product | |
from django.contrib.auth.models import User | |
user = User(username='editor', email='[email protected]') | |
# Kullanıcı bilgilerini user nesnesine atamış olduk. | |
# Bunları veritabanına işlemek için save() methodunu kullanmalıyız. | |
user.save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment