Project

General

Profile

« Previous | Next » 

Revision 3c5df84d

Added by Jérôme Schneider about 10 years ago

cleanning code: fix some pylints warning like useless imports

View differences:

calebasse/actes/views.py
4 4

  
5 5
from django.http import HttpResponseRedirect, HttpResponse
6 6
from django.db.models import Q
7
from django.views.generic.edit import ModelFormMixin
8 7
from django.shortcuts import redirect
9 8

  
10
from calebasse.cbv import ListView, UpdateView, FormView, DeleteView
9
from calebasse.cbv import ListView, UpdateView, DeleteView
11 10
from calebasse.agenda.views import NewAppointmentView
12 11

  
13 12
import copy
......
20 19
            service=service)
21 20

  
22 21
class ActListingView(ListView):
23
    model=models.Act
24
    template_name='actes/act_listing.html'
22
    model = models.Act
23
    template_name = 'actes/act_listing.html'
25 24

  
26 25
    def get_queryset(self):
27 26
        qs = super(ActListingView, self).get_queryset()

Also available in: Unified diff