Reformatage #29

Closed
thubrecht wants to merge 19 commits from thubrecht/python3 into master
12 changed files with 1 additions and 19 deletions
Showing only changes of commit b6d1ee6aa8 - Show all commits

View file

@ -1,5 +1,3 @@
# coding: utf-8
from tastypie import fields, utils from tastypie import fields, utils
from tastypie.authentication import SessionAuthentication from tastypie.authentication import SessionAuthentication
from tastypie.resources import ModelResource from tastypie.resources import ModelResource

View file

@ -1,4 +1,3 @@
# coding: utf-8
from django.core.management.base import BaseCommand, CommandError from django.core.management.base import BaseCommand, CommandError
from django.db.models import Count from django.db.models import Count

View file

@ -1,4 +1,3 @@
# coding: utf-8
from django.core.management.base import BaseCommand, CommandError from django.core.management.base import BaseCommand, CommandError
from django.db.models import Count from django.db.models import Count

View file

@ -1,4 +1,3 @@
# coding: utf-8
from django.core.management.base import BaseCommand, CommandError from django.core.management.base import BaseCommand, CommandError
from django.db.models import Count from django.db.models import Count

View file

@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-06-20 17:45 # Generated by Django 1.11 on 2017-06-20 17:45
from __future__ import unicode_literals
import taggit_autosuggest.managers import taggit_autosuggest.managers
import tinymce.models import tinymce.models

View file

@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-10-02 20:43 # Generated by Django 1.11.2 on 2017-10-02 20:43
from __future__ import unicode_literals
import tinymce.models import tinymce.models

View file

@ -1,5 +1,3 @@
# coding: utf-8
DEPARTEMENTS_DEFAUT = ( DEPARTEMENTS_DEFAUT = (
("phy", u"Physique"), ("phy", u"Physique"),
("maths", u"Maths"), ("maths", u"Maths"),

View file

@ -1,4 +1,3 @@
# coding: utf-8
import re import re
from django import template from django import template

View file

@ -13,7 +13,6 @@ from .models import AvisLieu, Lieu, Normalien, Stage, StageMatiere, User
class ExperiENSTestCase(TestCase): class ExperiENSTestCase(TestCase):
# Dummy database # Dummy database
def setUp(self): def setUp(self):

View file

@ -1,5 +1,3 @@
# coding: utf-8
import math import math
import random import random
from collections import Counter, defaultdict from collections import Counter, defaultdict

View file

@ -1,5 +1,3 @@
# coding: utf-8
import json import json
import logging import logging
from datetime import date from datetime import date

View file

@ -1,12 +1,11 @@
import sys import sys
from collections import defaultdict
from allauth.account.models import EmailAddress from allauth.account.models import EmailAddress
from allauth.socialaccount.models import SocialAccount from allauth.socialaccount.models import SocialAccount
from avisstage.models import Normalien from avisstage.models import Normalien
from collections import defaultdict
accounts = SocialAccount.objects.all().prefetch_related("user") accounts = SocialAccount.objects.all().prefetch_related("user")
profils = Normalien.objects.all() profils = Normalien.objects.all()
addresses = EmailAddress.objects.all() addresses = EmailAddress.objects.all()