summaryrefslogtreecommitdiff
path: root/polls
diff options
context:
space:
mode:
authoretienne2008-08-20 10:05:51 +0000
committeretienne2008-08-20 10:05:51 +0000
commit1bbcb40a39f8d5c33aa092c6567f78cc47112b8a (patch)
tree120af5664fb4c141a47e0428216bfa43fa0c3546 /polls
parent91ecaf80b3959bc902c713bd8556757b296a2bd0 (diff)
Licence change to AGPL
Diffstat (limited to 'polls')
-rw-r--r--polls/models.py21
-rw-r--r--polls/views.py17
2 files changed, 34 insertions, 4 deletions
diff --git a/polls/models.py b/polls/models.py
index 6e9c9bd..2abd4ae 100644
--- a/polls/models.py
+++ b/polls/models.py
@@ -1,8 +1,25 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2008 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
-# This program can be distributed under the terms of the GNU GPL.
-# See the file COPYING.
+
+# 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/>.
+
+# See the file COPYING for details.
+
+'''
+Models management
+'''
from django.db import models
from django.utils.translation import gettext_lazy as _
diff --git a/polls/views.py b/polls/views.py
index 4e3400b..bf6320a 100644
--- a/polls/views.py
+++ b/polls/views.py
@@ -1,8 +1,21 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2008 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
-# This program can be distributed under the terms of the GNU GPL.
-# See the file COPYING.
+
+# 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/>.
+
+# See the file COPYING for details.
'''
Views management