diff --git a/gestion/tests.py b/gestion/tests.py index ce7fe83b..d12725c4 100644 --- a/gestion/tests.py +++ b/gestion/tests.py @@ -5,16 +5,12 @@ when you run "manage.py test". Replace this with more appropriate tests for your application. """ - -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals - from django.db.utils import IntegrityError from django.test import TestCase from gestion.models import Profile, User + def create_profile(username): """ In order to create a profile, I need to create a User first. diff --git a/kfet/migrations/0049_auto_20170210_2228.py b/kfet/migrations/0049_rename_cofprofile_profile.py similarity index 100% rename from kfet/migrations/0049_auto_20170210_2228.py rename to kfet/migrations/0049_rename_cofprofile_profile.py diff --git a/kfet/models.py b/kfet/models.py index 93486073..cff60e84 100644 --- a/kfet/models.py +++ b/kfet/models.py @@ -152,9 +152,9 @@ class Account(models.Model): # Surcharge Méthode save() avec gestions de User et Profile # Args: - # - data : datas pour User et CofProfile + # - data : datas pour User et Profile # Action: - # - Enregistre User, CofProfile à partir de "data" + # - Enregistre User, Profile à partir de "data" # - Enregistre Account def save(self, data = {}, *args, **kwargs): if self.pk and data: