Python (Django) Classroom Series – 15/Sept/2021

Django continued

Template Inheritance

  • As we build the project, the number of templates will increase and it is highly probable that when we design the application some of the pages look similar and have common HTML for certain features.
  • Using Template inheritance, we can inherit the common HTML code into other HTML files
  • Refer Here for the official documentation
  • Refer Here for changes made in the project to use template inheritance

Template Styling with Bootstrap

  • Bootstrap is an open-source Cascading style sheed framework that is particularly good for designing responsive pages that work across mobile and desktop browsers
  • Refer Here to use the bootstrap
  • Refer Here for the changes made in the existing templates to use Bootstrap

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin