Merge lp:~michael.nelson/django-configglue/default_wsgi_application_none into lp:django-configglue
Proposed by
Michael Nelson
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ricardo Kirkner | ||||
Approved revision: | 76 | ||||
Merged at revision: | 74 | ||||
Proposed branch: | lp:~michael.nelson/django-configglue/default_wsgi_application_none | ||||
Merge into: | lp:django-configglue | ||||
Diff against target: |
38 lines (+11/-2) 2 files modified
django_configglue/schema.py (+2/-1) django_configglue/tests/test_schema.py (+9/-1) |
||||
To merge this branch: | bzr merge lp:~michael.nelson/django-configglue/default_wsgi_application_none | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Kirkner | Approve | ||
Review via email: mp+160289@code.launchpad.net |
Commit message
Default value for Django 1.4's wsgi_application is None.
Description of the change
Ensure the default value for Django 1.4's wsgi_application is None, rather than ''.
See the bug for more details.
`python setup.py test`
To post a comment you must log in.
look good, except that a nullable string option should have null=True in the constructor to allow for the None value. If null=True is used, the default value will be None, so no need to pass that in explicitely.