en
Kitaplar
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 yazdırılmış sayfalar
Telif hakkı sahibi
BPB Publications
Orijinal yayın
2021
Bunu zaten okudunuz mu? Bunun hakkında ne düşünüyorsunuz?
👍👎

Alıntılar

  • DDaudalagidalıntı yaptıgeçen yıl
    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.
  • DDaudalagidalıntı yaptıgeçen yıl
    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.
  • DDaudalagidalıntı yaptıgeçen yıl
    bool(): This is used to check whether the QuerySet has any result.
fb2epub
Dosyalarınızı sürükleyin ve bırakın (bir kerede en fazla 5 tane)