Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Str If CompareNotIn NameLoad TupleLoad Str NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Return Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num vararg kwarg body Assign NameStore Call NameLoad ListComp Call NameLoad keyword Call NameLoad keyword Dict Str Str comprehension NameStore Call NameLoad Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return BinOpMult ListLoad Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad If CompareNotEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Call NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str Str NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Return Call NameLoad BinOpMod Str Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call NameLoad Lambda arguments args NameParam defaults Dict Str Str NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Str AugAssignAdd NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore Dict Str TupleLoad Str Assign NameStore TupleLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Dict Str Str Str Str Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr IfExp BoolOpAnd Call NameLoad AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str IfExp BoolOpAnd Call NameLoad AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Return Call NameLoad NameLoad decorator_list decorator_list
N/A django forms django.forms.fields MultiValueField CharField django.forms.utils flatatt django.forms.widgets CheckboxInput HiddenInput Input RadioSelect RadioFieldRenderer RadioInput TextInput MultiWidget django.utils.encoding force_unicode django.utils.html conditional_escape django.utils.safestring mark_safe N/A json django.utils.translation ugettext_noop dimagi.utils.dates DateSpan BootstrapCheckboxInput N/A CheckboxInput N/A __init__ N/A N/A self attrs check_test inline_label N/A None bool N/A N/A N/A N/A N/A super BootstrapCheckboxInput self __init__ attrs check_test N/A N/A self inline_label inline_label N/A render N/A N/A self name value attrs N/A None N/A N/A final_attrs N/A N/A self build_attrs attrs type checkbox name name N/A N/A N/A result N/A N/A self check_test value N/A N/A N/A N/A result False N/A result N/A N/A N/A final_attrs N/A checked checked N/A N/A value N/A True False None N/A N/A N/A final_attrs N/A value N/A force_unicode value N/A N/A mark_safe N/A <label class="checkbox"><input%s /> %s</label> N/A N/A flatatt final_attrs N/A self inline_label N/A N/A BootstrapRadioInput N/A RadioInput N/A __unicode__ N/A N/A self N/A N/A N/A N/A id N/A self attrs N/A N/A label_for N/A  for="%s_%s" N/A N/A N/A self attrs N/A id N/A self index N/A N/A label_for N/A choice_label N/A conditional_escape N/A force_unicode N/A self choice_label N/A N/A mark_safe N/A <label class="radio"%s>%s %s</label> N/A label_for N/A N/A self tag choice_label N/A N/A BootstrapRadioFieldRenderer N/A RadioFieldRenderer N/A render N/A N/A self N/A N/A N/A N/A mark_safe N/A N/A join N/A N/A %s N/A force_unicode w N/A w self N/A __iter__ N/A N/A self N/A N/A N/A N/A i choice N/A enumerate N/A self choices N/A N/A N/A N/A BootstrapRadioInput N/A self name N/A self value N/A N/A N/A self attrs copy choice i N/A N/A BootstrapRadioSelect N/A RadioSelect N/A N/A renderer BootstrapRadioFieldRenderer N/A BootstrapAddressField N/A MultiValueField N/A N/A 
        The original for this was found here:
        http://stackoverflow.com/questions/7437108/saving-a-form-model-with-using-multiwidget-and-a-multivaluefield
     __init__ N/A N/A self num_lines N/A 3 args kwargs N/A N/A fields N/A tuple N/A N/A CharField widget N/A TextInput attrs N/A class input-xxlarge N/A _ N/A range 0 num_lines N/A N/A self widget N/A BootstrapAddressFieldWidget widgets N/A N/A field widget N/A field fields N/A N/A N/A N/A super BootstrapAddressField self __init__ fields fields args kwargs N/A compress N/A N/A self data_list N/A N/A N/A data_list N/A N/A BootstrapAddressFieldWidget N/A MultiWidget N/A decompress N/A N/A self value N/A N/A N/A N/A N/A N/A len N/A self widgets N/A format_output N/A N/A self rendered_widgets N/A N/A N/A lines N/A list N/A field rendered_widgets N/A N/A N/A N/A lines append N/A <p>%s</p> field N/A N/A N/A join lines N/A N/A BootstrapDisabledInput N/A Input N/A N/A input_type hidden render N/A N/A self name value attrs N/A None N/A N/A N/A value None N/A N/A value N/A final_attrs N/A N/A self build_attrs attrs type N/A self input_type name name N/A N/A value N/A N/A N/A final_attrs N/A value N/A force_unicode N/A N/A self _format_value value N/A N/A mark_safe N/A <span class="uneditable-input %s">%s</span><input%s /> N/A N/A N/A attrs get class value N/A flatatt final_attrs N/A N/A BootstrapPhoneNumberInput N/A Input N/A N/A input_type text render N/A N/A self name value attrs N/A None N/A N/A N/A mark_safe N/A <div class="input-prepend">
        <span class="add-on">+</span>%s
        </div> N/A N/A N/A super BootstrapPhoneNumberInput self render name value attrs N/A N/A AutocompleteTextarea N/A N/A forms Textarea N/A N/A 
    Textarea with auto-complete.  Uses a custom extension on top of Twitter
    Bootstrap's typeahead plugin.
    
     render N/A N/A self name value attrs N/A None N/A N/A N/A N/A hasattr self choices N/A self choices N/A N/A output N/A mark_safe N/A 
<script>
$(function() {
    $("#%s").select2({
        multiple: true,
        tags: %s
    });
});
</script>
 N/A N/A attrs N/A id N/A N/A json dumps N/A map N/A N/A N/A c N/A N/A text id c c N/A self choices N/A N/A output N/A mark_safe N/A output N/A N/A N/A super AutocompleteTextarea self render name value attrs attrs N/A output N/A N/A Select2MultipleChoiceWidget N/A N/A forms SelectMultiple N/A Media N/A N/A N/A css N/A all N/A select2-3.4.5-legacy/select2.css N/A js N/A select2-3.4.5-legacy/select2.js N/A render N/A N/A self name value attrs choices N/A None N/A N/A N/A final_attrs N/A N/A self build_attrs attrs N/A output N/A N/A N/A super Select2MultipleChoiceWidget self render name value attrs choices N/A output N/A 
            <script type="text/javascript">
                $(function() {
                    $('#%s').select2({ width: 'resolve' });
                });
            </script>
         N/A N/A final_attrs get id N/A N/A mark_safe output N/A N/A DateRangePickerWidget N/A Input N/A N/A SUPPORTS BOOTSTRAP 3 ONLY
    Extends the standard input widget to render a Date Range Picker Widget.
    Documentation and Demo here: http://www.daterangepicker.com/

    usage:
    apply the following decorator to your view's dispatch method

    @use_daterangepicker
    def dispatch(self, request, *args, **kwargs):
        super(self, MyView).dispatch(request, *args, **kwargs)
     Range N/A object N/A N/A LAST_7 last_7_days N/A LAST_MONTH last_month N/A LAST_30_DAYS last_30_days N/A N/A range_labels N/A N/A Range LAST_7 N/A Range LAST_MONTH N/A Range LAST_30_DAYS N/A ugettext_noop Last 7 Days N/A ugettext_noop Last Month N/A ugettext_noop Last 30 Days N/A separator N/A ugettext_noop  to  __init__ N/A N/A self attrs range_labels separator default_datespan N/A None None None None N/A N/A N/A self range_labels N/A range_labels N/A self range_labels N/A N/A self separator N/A separator N/A self separator N/A N/A self default_datespan default_datespan N/A N/A N/A N/A super DateRangePickerWidget self __init__ attrs attrs N/A render N/A N/A self name value attrs N/A None N/A N/A final_attrs N/A N/A self build_attrs attrs N/A output N/A N/A N/A super DateRangePickerWidget self render name value attrs N/A output N/A 
            <script type="text/javascript">
                $(function () {
                    var separator = '%(separator)s';
                    var report_labels = JSON.parse('%(range_labels_json)s');
                    $('#%(elem_id)s').createBootstrap3DateRangePicker(
                        report_labels, separator, '%(startdate)s',
                        '%(enddate)s'
                    );
                });
            </script>
         N/A elem_id separator range_labels_json startdate enddate N/A N/A final_attrs get id N/A self separator N/A N/A json dumps N/A self range_labels N/A N/A N/A isinstance N/A self default_datespan DateSpan N/A N/A N/A self default_datespan startdate None N/A N/A N/A N/A self default_datespan startdate strftime %m/%d/%Y N/A N/A N/A isinstance N/A self default_datespan DateSpan N/A N/A N/A self default_datespan enddate None N/A N/A N/A N/A self default_datespan enddate strftime %m/%d/%Y N/A output N/A 
            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
         output N/A output N/A N/A <div class="input-group">{}</div> format output N/A N/A mark_safe output N/A N/A