-
Notifications
You must be signed in to change notification settings - Fork 82
Template Structure
Anupam Dagar edited this page Jun 28, 2017
·
2 revisions
- All the css, js and images are stored in portfolio/static directory.
- templates directory has 2 sub-directories,
- ----portfolio: Contains the main pages for the app.
- ----registration: Contains the pages required for registration.
- ----base.html: Contains the doctype, head, body and is extended to every other template in the start. All other templates are a block content which is present in base.html
- ----home.html: This is the homepage for the app.
- ----details.html: This is the form which ask for the details of the user and portfolio is generated on the basis of data provided here.
- ----display.html: This is the final result of app, portfolio generated is diplayed through this file.
- ----displayall.htmlThis page display all the portfolio's generated by the user.
-
registration:
The filename describes the work of template but 2 templates are of utmost importance:
- ----login.html: Login form for the user.
- ----registration_form.html: Registration form for the user.