gt;>>
>>> def delete(request,id):
>>> employee=Employee.objects.get(id=id)
>>> employee.delete()
>>> return redirect('/home1')
>>>
>>> Regards
>>>
>>>
>>>
>>> On Friday, Jan
#x27;/home1')
>>
>> Regards
>>
>>
>>
>> On Friday, January 7, 2022 at 7:29:18 PM UTC+5:30 pankajpal...@gmail.com
>> wrote:
>>
>>> Then simply make that records inactive by adding one flag in table and
>>> instead of deleting
adding one flag in table and
>> instead of deleting make It inactive
>>
>> On Fri, 7 Jan, 2022, 7:22 pm Feroz Ahmed, wrote:
>>
>>> Hi,
>>> How to delete user salary record , but want to keep history till deleted
>>> date.
>>>
>>> ex:
&g
tive
>
> On Fri, 7 Jan, 2022, 7:22 pm Feroz Ahmed, wrote:
>
>> Hi,
>> How to delete user salary record , but want to keep history till deleted
>> date.
>>
>> ex:
>>
>>1. Month June
>>2. Month July
>>3. Month Aug
>>
Then simply make that records inactive by adding one flag in table and
instead of deleting make It inactive
On Fri, 7 Jan, 2022, 7:22 pm Feroz Ahmed, wrote:
> Hi,
> How to delete user salary record , but want to keep history till deleted
> date.
>
> ex:
>
>1. Month Ju
Hi,
How to delete user salary record , but want to keep history till deleted
date.
ex:
1. Month June
2. Month July
3. Month Aug
4. delete user record from Sep.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubs
6 matches
Mail list logo