external_bounties.views

Define external bounty related 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/.

external_bounties_index

external_bounties_index(request)

Handle External Bounties index page.

Returns: django.TemplateResponse: The external bounty index view.

external_bounties_new

external_bounties_new(request)

Create a new external bounty.

Returns: django.TemplateResponse: The new external bounty form or submission status.

external_bounties_show

external_bounties_show(request, issuenum, slug)

Handle Dummy External Bounties show page.

Args: issuenum (int): The Github issue number. slug (str): The external bounty slug represenation.

Returns: django.TemplateResponse: The external bounty details view.