grants.views

Define the Grant views.

Copyright (C) 2018 Gitcoin Core

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

get_keywords

get_keywords()

Get all Keywords.

grants

grants(request)

Handle grants explorer.

grant_details

grant_details(request, grant_id, grant_slug)

Display the Grant details page.

csrf_exempt

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

grant_new

grant_new(request)

Handle new grant.

grant_fund

grant_fund(request, grant_id, grant_slug)

Handle grant funding.

subscription_cancel

subscription_cancel(request, grant_id, grant_slug, subscription_id)

Handle the cancellation of a grant subscription.

profile

profile(request)

Show grants profile of logged in user.

quickstart

quickstart(request)

Display quickstart guide.

leaderboard

leaderboard(request)

Display leaderboard.