Projet

Général

Profil

« Précédent | Suivant » 

Révision 1e3b89c6

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

announce content length check if sms channel prefered

Voir les différences:

corbo/views.py
34 34
    form_class = AnnounceForm
35 35

  
36 36
    def get_success_url(self):
37
        return self.request.META['HTTP_REFERER'] or \
38
            reverse('manage') + '?' + urlencode({'category': self.object.category.id})
37
        return reverse('manage') + '?' + urlencode({'category': self.object.category.id})
39 38

  
40 39
edit_announce = AnnounceEditView.as_view()
41 40

  

Formats disponibles : Unified diff