Wednesday, March 8, 2023

Delete

 Django 10 is complete.

I am only allowed to edit a post if I am logged in. If I try using the proper url; I am

locked out nonetheless...


                                                             






This is accomplished with the use of a built-in django function,

is_authenticated within an if clause. Below, on the delete.html template.

                                                                      





No comments: