From dd7cb0ffbb8c5b3bad320e4d27bd81cced3a9038 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 10 Dec 2015 14:06:17 +0100 Subject: Add copyright info --- db/__init__.py | 16 +++++++++++++++- db/create.sql | 16 ++++++++++++++++ db/models.py | 16 +++++++++++++++- 3 files changed, 46 insertions(+), 2 deletions(-) (limited to 'db') diff --git a/db/__init__.py b/db/__init__.py index def4bb8..783df6c 100644 --- a/db/__init__.py +++ b/db/__init__.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# 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 . import os import threading diff --git a/db/create.sql b/db/create.sql index 31b0f5f..5d2af79 100644 --- a/db/create.sql +++ b/db/create.sql @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +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 . */ + /* initial (server preparatory) statements: create user codeq with password 'c0d3q'; create user vladar with password 'vl4d4r' superuser createdb createrole; diff --git a/db/models.py b/db/models.py index 58cb240..2363802 100644 --- a/db/models.py +++ b/db/models.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# 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 . import collections import json -- cgit v1.2.1