Compare commits
No commits in common. "89060f4ce09ae5ca4057afa9ebb54fb5578a24fb" and "fe97e02e41e8c9bd6c1333711d1cb37fc676b110" have entirely different histories.
89060f4ce0
...
fe97e02e41
@ -101,7 +101,8 @@ class PlaceDeleteView(View):
|
||||
#form_class = PlaceDeleteForm
|
||||
|
||||
def get(self, request, pk, *args, **kwargs):
|
||||
place = Place.objects.get(pk=pk)
|
||||
place = Place(pk=pk)
|
||||
print(pk, place.name)
|
||||
place_delete_form = PlaceDeleteForm()
|
||||
|
||||
context = {'place': place, 'form': place_delete_form}
|
||||
|
Loading…
Reference in New Issue
Block a user