Details
-
Type: Improvement
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:2.5
-
Epic Link:
-
Sprint:Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Fall 2: 28 Sep - 9 Oct, Fall 3: Oct 12 - Oct 23
Description
Django looks for the template as the apps are installed. So if we have same name template in multiple applications then django will not be able to identify the correct template for that particular application. Therefore moving the templates into a subdirectory named for the application itself would be the easiest way to tell Django which template is the right one.
For more details please refer Template namespacing from the following link: https://docs.djangoproject.com/en/2.1/intro/tutorial03/
Folder structure example:
-submit_app
---templates
--------submit_app
------------confirm.html
------------error.html
------------submit_done.html
Attachments
Issue Links
- relates to
-
IGBF-2491 Fix "Something is wrong" page in App Store
- Closed
Activity
Chirag Chandrahas Shetty (Inactive)
created issue -
Chirag Chandrahas Shetty (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Epic Link | IGBF-1388 [ 17463 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Ann Loraine
made changes -
Sprint | Summer 6: 17 Aug - 28 Aug [ 101 ] |
Ann Loraine
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Description |
Django looks for the template as the apps are installed. So if we have same name template in multiple applications then django will not be able to identify the correct template for that particular application. Therefore moving the templates into a subdirectory named for the application itself would be the easiest way to tell Django which template is the right one.
For more details please refer Template namespacing from the following link: https://docs.djangoproject.com/en/2.1/intro/tutorial03/ Example: -submit_app -templates -submit_app -confirm.html -error.html -submit_done.html |
Django looks for the template as the apps are installed. So if we have same name template in multiple applications then django will not be able to identify the correct template for that particular application. Therefore moving the templates into a subdirectory named for the application itself would be the easiest way to tell Django which template is the right one.
For more details please refer Template namespacing from the following link: https://docs.djangoproject.com/en/2.1/intro/tutorial03/ Folder structure example: -submit_app ---templates --------submit_app ------------confirm.html ------------error.html ------------submit_done.html |
Chirag Chandrahas Shetty (Inactive)
made changes -
Story Points | 2.5 |
Chirag Chandrahas Shetty (Inactive)
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Status | To-Do [ 10305 ] | In Progress [ 3 ] |
Ann Loraine
made changes -
Sprint | Summer 6: 17 Aug - 28 Aug [ 101 ] | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep [ 101, 102 ] |
Ann Loraine
made changes -
Rank | Ranked higher |
Chirag Chandrahas Shetty (Inactive)
made changes -
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Noor Zahara (Inactive)
made changes -
Assignee | Noor Zahara [ noor91zahara ] |
Noor Zahara (Inactive)
made changes -
Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
Noor Zahara (Inactive)
made changes -
Assignee | Noor Zahara [ noor91zahara ] |
Noor Zahara (Inactive)
made changes -
Status | First Level Review in Progress [ 10301 ] | Ready for Pull Request [ 10304 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
Chirag Chandrahas Shetty (Inactive)
made changes -
Status | Reviewing Pull Request [ 10303 ] | Merged Needs Testing [ 10002 ] |
Ann Loraine
made changes -
Sprint | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep [ 101, 102 ] | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep [ 101, 102, 103 ] |
Ann Loraine
made changes -
Rank | Ranked higher |
Ann Loraine
made changes -
Sprint | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep [ 101, 102, 103 ] | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Fall 2: 28 Sep - 9 Oct [ 101, 102, 103, 104 ] |
Ann Loraine
made changes -
Rank | Ranked higher |
Ann Loraine
made changes -
Sprint | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Fall 2: 28 Sep - 9 Oct [ 101, 102, 103, 104 ] | Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Fall 2: 28 Sep - 9 Oct, Fall 3: Oct 12 - Oct 23 [ 101, 102, 103, 104, 106 ] |
Ann Loraine
made changes -
Rank | Ranked higher |
Ann Loraine
made changes -
Status | Merged Needs Testing [ 10002 ] | Post-merge Testing In Progress [ 10003 ] |
Ann Loraine
made changes -
Resolution | Done [ 10000 ] | |
Status | Post-merge Testing In Progress [ 10003 ] | Closed [ 6 ] |
Ann Loraine
made changes -
Assignee | Chirag Chandrahas Shetty [ chirag24 ] |
Quick request for Chirag Chandrahas Shetty: Please add story points (estimate the time/effort required to implement and test the improvement.)
(Feel free to un-assign this when done.)