diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/__init__.py | 16 | ||||
-rw-r--r-- | db/create.sql | 16 | ||||
-rw-r--r-- | db/models.py | 16 |
3 files changed, 46 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. 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 <http://www.gnu.org/licenses/>. */ + /* 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 <http://www.gnu.org/licenses/>. import collections import json |