en
Books
Awanish Ranjan

Building Websites with Django: Build and Deploy Professional Websites with Python Programming and the Django Framework (English Edition)

‘Building Websites with Django’ book teaches readers to develop their high-quality, feature-rich website by learning Django and its various tools. You will learn the best techniques to develop a dynamic website, right from scratch. This book focuses not only on just creating a particular application but rather develops a strong understanding of theoretical concepts with rich examples. You will learn to troubleshoot errors, develop navigation panels and add advanced functionalities like deploying on heroku server. You will read about models, templates, different types of views. You will learn to create apps and learn how to integrate different apps.

By the end of this book, You will create a project from scratch and will deploy it as a public website by yourself.
411 бумажных страниц
Правообладатель
BPB Publications
Дата публикации оригинала
2021
Издательство
BPB Publications
Уже прочитали? Что скажете?
👍👎

Цитаты

  • DDaudalagidцитирует2 года назад
    The first is to start with Models (database layer) followed by creating views. Once the views are ready, then you can write your urls.py mapping to the views. Finally, templates should be designed as per the urlspattens in urls.py and views in views.py. This approach can be referred to as backend focused.
  • DDaudalagidцитирует2 года назад
    In Django, if there is a ForeignKey element, then the related element will also be deleted unless on_delete = CASCADE is changed in the model definition.
  • DDaudalagidцитирует2 года назад
    bool(): This is used to check whether the QuerySet has any result.
fb2epub
Перетащите файлы сюда, не более 5 за один раз