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

wooey / Wooey / 257 / 1
78%
master: 78%

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

28 Aug 2015 07:26AM UTC coverage: 75.869%. First build
DJANGO_VERSION="Django>=1.6,<1.7" DJANGO_SETTINGS_MODULE=

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.

1418 of 1869 relevant lines covered (75.87%)

0.76 hits per line

Source Files on job 257.1 (DJANGO_VERSION="Django>=1.6,<1.7" DJANGO_SETTINGS_MODULE=)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 257
  • Travis Job 257.1
  • 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