Категорія: Django
Django ORM and SQL: Making QuerySet Expressions
Making QuerySet & Query Expressions with Django ORM like SQL, or Django ORM == SQL. If you are migrating to Django from another MVC framework, chances are you already know SQL. In this post, we will be illustrating how to use Django ORM by drawing analogies to equivalent SQL statements. Connecting a new topic to… Читати далі Django ORM and SQL: Making QuerySet Expressions
Create an E-commerce Shop with Django (Part 4)
How to create a checkout form in an E-commerce Shop with Django? Part 4. In the previous Part 3 we create models for Order and in this Part 4 of Create an E-commerce Shop with Django we will create checkout form an order. Prerequisites Django Latest Version Virtual Environment IDE PyCharm or Visual Studio Code… Читати далі Create an E-commerce Shop with Django (Part 4)
Create a E-commerce Shop with Django (Part 3)
In the previous Part 2 we create models for Order and in this Part 3 of Create a E-commerce Shop with Django we will make a summary of the order in the shopping cart of your Django shop. Prerequisites Django Latest Version Virtual Environment IDE PyCharm or Visual Studio Code Before starting the tutorial don’t… Читати далі Create a E-commerce Shop with Django (Part 3)
Create an E-commerce Shop with Django (Part 2)
How to create an E-commerce Shop with Django? Part 2. Prerequisites Django Latest Version Virtual Environment IDE PyCharm or Visual Studio Code Before starting the tutorial don’t forget to activate your Virtual Environment, and the project we created in the previous tutorial. 1. Create Databases in Models Before we start to make an order the… Читати далі Create an E-commerce Shop with Django (Part 2)
Create a comment model in Django
I decide create a comment model in Django after Create my first open source project – Pyxtract and after learning Django. I wrote code for some Django apps, e.i. my Blog app. But how about receiving some feedbacks from your readers and letting them comment in your Django web site or blog?