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

wooey / Wooey / 257
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: add-github-actions
DEFAULT BRANCH: master
Ran 28 Aug 2015 07:36AM UTC
Jobs 9
Files 37
Run time 53s
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

pending completion
257

push

travis-ci

mfitzp
Add support for disabling registration url link in template

A bit more complicated than expected. In order to test the state
of the setting we need to pull it into the template context, which
means having an assignment tag, e.g. get_wooey_setting <name> as <variable>

Django has a simple helper function for simple tag and assignment tags,
but not a combination. An implementation of this has been added
from: https://gist.github.com/natevw/f14812604be62c073461

It's possible to implement this without the helper but it's nicer to
have a simple wrapper as we may need it elsewhere.

With this we can now do both:

    {% get_wooey_setting WOOEY_REGISTER_URL %}
    {% get_wooey_setting WOOEY_REGISTER_URL as register_url %}

...with the former outputting the URL, the latter assigning to
variable. This is similar in practise to the Django url tag.

Checking on license for the include.

1452 of 1869 relevant lines covered (77.69%)

6.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 257.1 (DJANGO_VERSION="Django>=1.6,<1.7" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:36AM UTC 0
75.87
Travis Job 257.1
2 257.2 (DJANGO_VERSION="Django>=1.6,<1.7" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:36AM UTC 0
75.82
Travis Job 257.2
3 257.3 (DJANGO_VERSION="Django>=1.6,<1.7" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:36AM UTC 0
75.82
Travis Job 257.3
4 257.4 (DJANGO_VERSION="Django>=1.7,<1.8" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:36AM UTC 0
76.51
Travis Job 257.4
5 257.5 (DJANGO_VERSION="Django>=1.7,<1.8" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:36AM UTC 0
76.46
Travis Job 257.5
6 257.6 (DJANGO_VERSION="Django>=1.7,<1.8" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:37AM UTC 0
76.46
Travis Job 257.6
7 257.7 (DJANGO_VERSION="Django>=1.8,<1.9" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:37AM UTC 0
76.35
Travis Job 257.7
8 257.8 (DJANGO_VERSION="Django>=1.8,<1.9" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:37AM UTC 0
76.3
Travis Job 257.8
9 257.9 (DJANGO_VERSION="Django>=1.8,<1.9" DJANGO_SETTINGS_MODULE=) 28 Aug 2015 07:37AM UTC 0
76.3
Travis Job 257.9
Source Files on build 257
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #257
  • 75fbc1d5 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

© 2026 Coveralls, Inc