/django-yesnofield

Primary LanguagePythonOtherNOASSERTION

yesnofield

https://travis-ci.org/goodtune/django-yesnofield.svg?branch=master

Provide a subclass of BooleanField that handles the Yes/No use case.

Documentation

The full documentation is at https://django-yesnofield.readthedocs.io.

Quickstart

Install yesnofield:

pip install django-yesnofield

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_yesnofield.apps.YesNoFieldConfig',
    ...
)

Add yesnofield's URL patterns:

from django_yesnofield import urls as django_yesnofield_urls


urlpatterns = [
    ...
    url(r'^', include(django_yesnofield_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package: