Skip to content

Commit

Permalink
Supprime des fichiers et imports inutiles (#6589)
Browse files Browse the repository at this point in the history
* Supprime un fichier inutile
* Supprime des imports inutiles dans goals.py
* Supprime des imports inutiles dans validations_opinions.py
  • Loading branch information
Arnaud-D authored Mar 5, 2024
1 parent a932053 commit 3269c56
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Empty file removed zds/tutorialv2/views/display.py
Empty file.
6 changes: 2 additions & 4 deletions zds/tutorialv2/views/goals.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@
BooleanField,
HiddenInput,
)
from django.http import JsonResponse, HttpResponse
from django.http import JsonResponse
from django.shortcuts import get_object_or_404
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from django.views import View
from django.views.generic import TemplateView
from django.views.generic.edit import BaseFormView

from zds.tutorialv2 import signals
from zds.tutorialv2.mixins import SingleContentFormViewMixin
from zds.tutorialv2.models.database import PublishableContent, PublishedContent
from zds.tutorialv2.models.database import PublishableContent
from zds.tutorialv2.models.goals import Goal
from zds.utils import get_current_user
from zds.utils.paginator import ZdSPagingListView
Expand Down
2 changes: 0 additions & 2 deletions zds/tutorialv2/views/validations_opinions.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import json
from datetime import datetime

from django.conf import settings
from django.contrib import messages
from django.contrib.auth.mixins import LoginRequiredMixin, PermissionRequiredMixin
from django.contrib.auth.models import User
from django.core.exceptions import PermissionDenied
from django.db.models import F
from django.http import Http404, HttpResponse
Expand Down

0 comments on commit 3269c56

Please sign in to comment.