DEV Community

Ezozbek Kholbutayev
Ezozbek Kholbutayev

Posted on

3

Django orm haqida!

Image description




Django
models.py file da yozilad

  class Product(models.Model):
    title = models.CharField(max_length=120)
Enter fullscreen mode Exit fullscreen mode

SQL

     CREATE TABLE Product(
         id int NOT NULL PRIMARY KEY,
         title varchar(120),
     );
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up