File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 113
113
< button type ="button " class ="btn-close " data-bs-dismiss ="alert " aria-label ="Close "> </ button >
114
114
</ div >
115
115
{% endif %}
116
+
117
+ {% if delete_success %}
118
+ < div class ="container alert alert-success " id ="alert-container " role ="alert ">
119
+ {{ delete_success }}
120
+ </ div >
121
+ {% endif %}
116
122
117
123
</ div >
118
124
Original file line number Diff line number Diff line change 31
31
< div class ='container '>
32
32
< br > < br >
33
33
< div class ='container '>
34
- {% if delete_success %}
35
- < div class ="container alert alert-success " id ="alert-container " role ="alert ">
36
- {{ delete_success }}
37
- </ div >
38
- {% endif %}
39
34
40
35
{% if done %}
41
36
< div class ="container alert alert-success " id ="alert-container " role ="alert ">
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def delete_file(request, unique_token):
81
81
file_instance .delete ()
82
82
83
83
files = UploadedFile .objects .filter (user = request .user )
84
- return render (request ,'files/file_list .html' ,{'delete_success' :"The file {} is Deleted Successfully" .format (file_path )})
84
+ return render (request ,'accounts/home .html' ,{'delete_success' :"The file {} is Deleted Successfully" .format (file_path )})
85
85
86
86
87
87
You can’t perform that action at this time.
0 commit comments