easy_thumbnails.signals: 5 total statements, 0.0% covered

Generated: Wed 2013-03-13 10:33 CET

Source file: /media/Envs/Envs/filer-gallery/lib/python2.7/site-packages/easy_thumbnails/signals.py

Stats: 0 executed, 4 missed, 1 excluded, 21 ignored

  1. import django.dispatch
  2. saved_file = django.dispatch.Signal(providing_args=['fieldfile'])
  3. """
  4. A signal sent for each ``FileField`` saved when a model is saved.
  5. * The ``sender`` argument will be the model class.
  6. * The ``fieldfile`` argument will be the instance of the field's file that was
  7. saved.
  8. """
  9. thumbnail_created = django.dispatch.Signal()
  10. """
  11. A signal that gets sent every time a new thumbnail is created.
  12. * The ``sender`` argument is the created ``ThumbnailFile``
  13. """
  14. thumbnail_missed = django.dispatch.Signal(providing_args=['options'])
  15. """
  16. A signal that gets sent whenever a thumbnail is passively requested (i.e. when
  17. no render-time generation is wanted, via the ``generate=False`` argument).
  18. * The ``sender`` argument is the ``Thumbnailer``
  19. * The ``options`` are the thumbnail options requested.
  20. """