Hello everyone 🙂 I’m starting a series called Single Pulse Information, and the purpose of this series is not to tell the general subject, but rather to transfer the small problems or the little information learned here instantly. 

I learned something new when I was trying to create something with Django, and inside the djangon, the shell was able to launch and access information on the terminal. 

python manage.py shell

#Oluşturulan app can import on the terminal and write directly information about that model with create[adsense_resim][adsense_resim_akilli_kare_amp][partner_yatay_amp]

from products.models import Product
Product.objects.create(title = 'trial 1', description='description 2', price='123')


Leave a Reply

Social profiles