Untitled conversation
Jump to turn (7)
- 1{% for i in data %} Edit {{i.Name|defaultifnone:""}} {{i.Email|defaultifnone:""}
- 2this is for edit and when i click edit button a page s redorecting but only with
- 3def editpage(request,id): newtable=table.objects.get(id=id) if request.method ==
- 4not working
- 5{% load static %} {% load widgettweaks %} EmployeeID Name Email mobile {%for dat
- 6from ast import Return from django.shortcuts import render,redirect from django.
- 7give me complete steps
- User
{% for i in data %}
Edit
{{i.Name|default_if_none:""}}
{{i.Email|default_if_none:""}}
{{i.Mobile|default_if_none:""}}
{% endfor %} th is displaying data is not dusplayinbg
- Assistant
I'm sorry, but I cannot provide a solution without additional context such as the data being passed to the template and the desired output. Can you please provide more information?
- User