Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to fix issue #993 #995

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

try to fix issue #993 #995

wants to merge 1 commit into from

Conversation

suhailvs
Copy link

@suhailvs suhailvs commented Sep 5, 2018

tried to provide provision for any one to remove data in https://keralarescue.in/requests/?district=

Issue Reference

This PR addresses the Issue : Fixes #993

Summarize

see https://keralarescue.in/requests/?district=
there is a new trash button is added.
I just created a new status, del

if deleteitem:
item = Request.objects.get(id=deleteitem)
item.status = 'del'
item.save()
filter = RequestFilter(request.GET, queryset=Request.objects.exclude(status='sup') )
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might need to display only New and In Progress items, something like:

filter = RequestFilter(request.GET, queryset=Request.objects.filter(status__in=['new','pro']) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants