diff --git a/stock/__init__.py b/stock/__init__.py index e69de29b..6871e12c 100644 --- a/stock/__init__.py +++ b/stock/__init__.py @@ -0,0 +1,25 @@ +# -*- coding:utf-8 -* +# +# Copyright 2016,2017 +# - Guillaume "Lo-J" Renaud +# - Skia +# +# Ce fichier fait partie du site de l'Association des Étudiants de l'UTBM, +# http://ae.utbm.fr. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License a 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 General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Sofware Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# + diff --git a/stock/admin.py b/stock/admin.py index 63054a75..6f55f86e 100644 --- a/stock/admin.py +++ b/stock/admin.py @@ -1,3 +1,28 @@ +# -*- coding:utf-8 -* +# +# Copyright 2016,2017 +# - Guillaume "Lo-J" Renaud +# - Skia +# +# Ce fichier fait partie du site de l'Association des Étudiants de l'UTBM, +# http://ae.utbm.fr. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License a 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 General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Sofware Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# + from django.contrib import admin from stock.models import Stock, StockItem, ShoppingList, ShoppingListItem diff --git a/stock/models.py b/stock/models.py index edded142..b2e0c161 100644 --- a/stock/models.py +++ b/stock/models.py @@ -1,3 +1,28 @@ +# -*- coding:utf-8 -* +# +# Copyright 2016,2017 +# - Guillaume "Lo-J" Renaud +# - Skia +# +# Ce fichier fait partie du site de l'Association des Étudiants de l'UTBM, +# http://ae.utbm.fr. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License a 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 General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Sofware Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# + from django.db import models from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse diff --git a/stock/tests.py b/stock/tests.py index 7ce503c2..ad602a5c 100644 --- a/stock/tests.py +++ b/stock/tests.py @@ -1,3 +1,28 @@ +# -*- coding:utf-8 -* +# +# Copyright 2016,2017 +# - Guillaume "Lo-J" Renaud +# - Skia +# +# Ce fichier fait partie du site de l'Association des Étudiants de l'UTBM, +# http://ae.utbm.fr. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License a 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 General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Sofware Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# + from django.test import TestCase # Create your tests here. diff --git a/stock/urls.py b/stock/urls.py index cbc96eab..ea0ffb3c 100644 --- a/stock/urls.py +++ b/stock/urls.py @@ -1,3 +1,28 @@ +# -*- coding:utf-8 -* +# +# Copyright 2016,2017 +# - Guillaume "Lo-J" Renaud +# - Skia +# +# Ce fichier fait partie du site de l'Association des Étudiants de l'UTBM, +# http://ae.utbm.fr. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License a 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 General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Sofware Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# + from django.conf.urls import include, url from stock.views import * diff --git a/stock/views.py b/stock/views.py index 64984661..5ce349d3 100644 --- a/stock/views.py +++ b/stock/views.py @@ -1,3 +1,28 @@ +# -*- coding:utf-8 -* +# +# Copyright 2016,2017 +# - Guillaume "Lo-J" Renaud +# - Skia +# +# Ce fichier fait partie du site de l'Association des Étudiants de l'UTBM, +# http://ae.utbm.fr. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License a 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 General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Sofware Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA. +# +# + from collections import OrderedDict from datetime import datetime, timedelta