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

wooey / Wooey
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: add-github-actions
DEFAULT BRANCH: master
Repo Added 22 Jun 2015 07:29PM UTC
Files 38
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 register-url-disable
branch: register-url-disable
CHANGE BRANCH
x
Reset
  • register-url-disable
  • 0.10.0
  • 0.10dev
  • 0.11.0
  • 0.2.6
  • 0.9.10
  • 0.9.11
  • 0.9.4
  • 0.9.5
  • 0.9.6
  • 0.9.7
  • 0.9.8
  • 0.9.9
  • FieldField
  • add-cache-to-bootstrap
  • add-django22
  • add-docker
  • add-eventlet-for-windows
  • add-github-actions
  • addscripts
  • allow-script-deletion
  • appveyor
  • archive-fixes
  • change-script-param-to-text-field
  • checksum-fixes
  • clinto-upgrade
  • clone-job-id-per-script-version
  • cruft-cleanup
  • custom-widgets
  • dataTables
  • defaultVals
  • disable-invalid-broker-options
  • dj19
  • dj19_2
  • django10-support
  • django2-support
  • docker-fixes
  • docs
  • encode-special-characters
  • fasta
  • file-migration-check
  • fileSHA
  • fileUpload
  • fix-94-multiple-actions
  • fix-appv-versions
  • fix-checksum-migration
  • fix-cleanup-dead-jobs
  • fix-default-shown-group
  • fix-default-values
  • fix-duplicate-param-groups
  • fix-form-factory-lists
  • fix-initial-subparser-creation
  • fix-migrations
  • fix-multiple-args
  • fix-pinstripe
  • fix-script-invalidation
  • fix-script-parser-migration
  • fix-script-parser-without-args
  • fix-scriptparser-migration
  • fix-stale-tasks
  • fix-subparser-validation
  • heroku
  • heroku-debug
  • hiddenParams
  • hiddenScripts
  • i18n
  • improve-invalid-user-message
  • job-deletion
  • jobuuid
  • js-cleanup
  • jsTree
  • json-file-render
  • jsonify-param-default
  • langauge-selector
  • liveupdate
  • master
  • multiInitial
  • noArgs
  • osDetect
  • pep8
  • py3
  • python3-fixes
  • python3_fix
  • readme-update
  • realtime-cache
  • realtime-threading
  • redownload-script-on-update
  • register-url
  • remove-dj17-compat-shims
  • remove-redundant-info
  • rtd
  • script-checksum
  • script-docs
  • script-documentation
  • scriptDefaults
  • scriptURLChanges
  • scriptparam-update
  • shortParam
  • showlockedscripts
  • stop-migrations-creation-bootstrap
  • submit-to-celery-on-transcation-success
  • subparsers
  • tox-python-35
  • ui-fixes
  • update-celery-reqs
  • update-migration-docs
  • update-wooey-storage
  • upgrade-celery-django
  • urlencode-version
  • use-default-script-group-in-add
  • v.0.9.0
  • v0.11.0-docs
  • v0.9.1
  • v0.9.2
  • v0.9.3
  • version-pin
  • versionURL
  • winFiles
  • wooey-type-commandless

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

Relevant lines Covered
Build:
Build:
1869 RELEVANT LINES 1452 COVERED LINES
6.86 HITS PER LINE
Source Files on register-url-disable
  • Tree
  • 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
257 register-url-disable 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... push 28 Aug 2015 07:36AM UTC mfitzp travis-ci pending completion  
See All Builds (957)
  • 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