disqus / gargoyle

Feature switches in Django
http://engineering.disqus.com
Apache License 2.0
746 stars 112 forks source link

Fix for issue #34 #35

Closed mbox closed 11 years ago

mbox commented 12 years ago

Adds support for a "switches" kwarg on the decorator - if the switch name is not a valid ID you can use @switches(switches={'test:a:hierarchy': True}) to set the default value.

Also has basic test code.

dcramer commented 11 years ago

You can actually already just do **{'switch:name': True}