Individual blog pages - Django Web Development with Python 10

King.py
King.py
64 بار بازدید - 6 سال پیش - In this 10th Django web
In this 10th Django web development with Python tutorial, we're going to cover creating more dynamic URLs. In our case, we need to have URL handling for a URL that has something like /blog/2/, where the 2 corresponds to the 2nd blog post. As you may have guessed, Django saw this coming, and has you covered. In our case, and in many cases, the 2 is the table's Primary Key. A primary key is a unique identifier per table in a database, no other entry should have the same primary key as another. Because of thi
6 سال پیش در تاریخ 1397/05/04 منتشر شده است.
64 بـار بازدید شده
... بیشتر