Skip to content

Instantly share code, notes, and snippets.

@egitimplus
Last active October 29, 2019 12:07
Show Gist options
  • Save egitimplus/2faebb10e49a028bf1f3043564bc977c to your computer and use it in GitHub Desktop.
Save egitimplus/2faebb10e49a028bf1f3043564bc977c to your computer and use it in GitHub Desktop.
create save
product = Product(name='Shell Product', content='Shellden yeni ürün ekliyoruz', author=user)
# Evet şimdi product değişkenine ürün nesnemizi atadık.
# save() yaparak veritabanına kayıt edebiliriz.
product.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment