~fo0bar/turku/turku-api-py3

« back to all changes in this revision

Viewing changes to turku_api/views.py

  • Committer: Ryan Finnie
  • Date: 2015-07-30 22:41:42 UTC
  • Revision ID: ryan.finnie@canonical.com-20150730224142-gnv0aq9utpnm2124
Add AGPLv3 headers

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Turku backups - API server
 
2
# Copyright 2015 Canonical Ltd.
 
3
#
 
4
# This program is free software: you can redistribute it and/or modify
 
5
# it under the terms of the Affero GNU General Public License version 3,
 
6
# as published by the Free Software Foundation.
 
7
#
 
8
# This program is distributed in the hope that it will be useful, but
 
9
# WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
11
# PURPOSE.  See the Affero GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the Affero GNU General Public
 
14
# License along with this program.  If not, see
 
15
# <http://www.gnu.org/licenses/>.
 
16
 
1
17
from django.http import (
2
18
    HttpResponse, HttpResponseBadRequest, HttpResponseNotAllowed,
3
19
    HttpResponseForbidden, HttpResponseNotFound,