From 610e8815d00fd99cbd1e7791f832637bcf2a39bf Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sat, 16 May 2020 01:45:53 +0200 Subject: [PATCH] Retro-compat for python2.7 radius instance --- logs/forms.py | 1 + tickets/models.py | 1 + tickets/preferences/__init__.py | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 tickets/preferences/__init__.py diff --git a/logs/forms.py b/logs/forms.py index 16e7160d..40bae849 100644 --- a/logs/forms.py +++ b/logs/forms.py @@ -1,3 +1,4 @@ +# -*- mode: python; coding: utf-8 -*- # Re2o est un logiciel d'administration développé initiallement au rezometz. Il # se veut agnostique au réseau considéré, de manière à être installable en # quelques clics. diff --git a/tickets/models.py b/tickets/models.py index b36c8e2b..470d9375 100644 --- a/tickets/models.py +++ b/tickets/models.py @@ -23,6 +23,7 @@ Ticket model """ +from __future__ import absolute_import from django.db import models from django.utils.translation import ugettext_lazy as _ diff --git a/tickets/preferences/__init__.py b/tickets/preferences/__init__.py new file mode 100644 index 00000000..53b6e42e --- /dev/null +++ b/tickets/preferences/__init__.py @@ -0,0 +1,24 @@ +# -*- mode: python; coding: utf-8 -*- +# Re2o est un logiciel d'administration développé initiallement au rezometz. Il +# se veut agnostique au réseau considéré, de manière à être installable en +# quelques clics. +# +# Copyright © 2020 Gabriel Détraz +# Copyright © 2019 Arthur Grisel-Davy +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 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 Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +"""tickets +The app in charge of storing all the tickets for the local installation +"""