• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

WGBH / django-versatileimagefield
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 1.4
DEFAULT BRANCH: master
Repo Added 24 Dec 2014 01:43PM UTC
Files 22
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH derenio-fix_VersatileImageField_formfield_defaults
branch: derenio-fix_VersatileImageField_formfield_defaults
CHANGE BRANCH
x
Reset
  • derenio-fix_VersatileImageField_formfield_defaults
  • 0.3
  • 0.3.1
  • 0.4
  • 0.5
  • 0.5.1
  • 0.5.2
  • 0.5.3
  • 0.5.4
  • 0.6
  • 0.6.1
  • 0.6.2
  • 1.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.0.5
  • 1.0.6
  • 1.1
  • 1.2.1
  • 1.2.2
  • 1.3
  • 1.4
  • SebCorbin-patch-2
  • autodiscover-bug-34
  • delete-renditions
  • django1.5
  • issue-14
  • issue-14-travis-debug
  • issue-23
  • issue-36
  • jelko-master
  • master
  • one-point-oh
  • placeholder-rework
  • py3
  • test-formfield
  • tests
  • theskumar-fix-widget

pending completion
112

push

travis-ci

respondcreate
Ensuring default admin widget is skipped #19

…in favor of using SizedImageCenterpointClickDjangoAdminField's default
widget as the default widget choice for use in the admin (instead of
AdminFileWidget).

This is for two reasons:
1. To prevent 'typical' admin users (those who want to use the PPOI
'click' widget by default) from having to specify a formfield_overrides
for each ModelAdmin class used by each model that has a
VersatileImageField.
2. If a VersatileImageField does not have a ppoi_field specified it
will 'fall back' to a ClearableFileInput anyways. If admin users do, in
fact, want to force use of the AdminFileWidget they can simply subclass
AdminFileWidget and specify it in their ModelAdmin.formfield_overrides
(though, if that's the case, why are they using VersatileImageField in
the first place?)

806 of 806 relevant lines covered (100.0%)

35.78 hits per line

Relevant lines Covered
Build:
Build:
806 RELEVANT LINES 806 COVERED LINES
35.78 HITS PER LINE
Source Files on derenio-fix_VersatileImageField_formfield_defaults
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
112 derenio-fix_VersatileImageField_formfield_defaults Ensuring default admin widget is skipped #19 …in favor of using SizedImageCenterpointClickDjangoAdminField's default widget as the default widget choice for use in the admin (instead of AdminFileWidget). This is for two reasons: 1. To prevent 't... push 10 Jul 2015 02:57PM UTC respondcreate travis-ci pending completion  
See All Builds (173)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc