Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

removed unused BLANK_CHOICE_NONE #902

Merged
merged 1 commit into from

2 participants

@evildmp
Collaborator

BLANK_CHOICE_NONE is defined, but not used anywhere, so I presume it can be got rid of.

I tried git rev-list --branches|xargs git grep BLANK_CHOICE_NONE | grep -v "django/db/models/fields/__init__.py" to search through the history for it in other locations, but that seems to crash after a couple of hundred thousand matches from the first part.

@aaugustin aaugustin merged commit 3beabb5 into django:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 13, 2013
  1. @evildmp
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/db/models/fields/__init__.py
View
1  django/db/models/fields/__init__.py
@@ -29,7 +29,6 @@ class NOT_PROVIDED:
# The values to use for "blank" in SelectFields. Will be appended to the start
# of most "choices" lists.
BLANK_CHOICE_DASH = [("", "---------")]
-BLANK_CHOICE_NONE = [("", "None")]
class FieldDoesNotExist(Exception):
pass
Something went wrong with that request. Please try again.