Skip to content

Commit 743773f

Browse files
authored
Added more description
1 parent 9cd1cac commit 743773f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Django Case Insensitive Field
1+
# Django Case Insensitive Model Field
22

33

4-
Django Case Insensitive Field is used to make Django Model Field case insensitive - by default Django can't do this.
4+
With Django Case Insensitive Field you can make Django Model Field case insensitive - by default Django can't do this which will make it impossible to add a unique field that will be case insensitive regardeless of case.
55

66
Let's assume you have a `username` field on your `UserModel` which ofcourse would require `username` to be unique accross the `table` but to Django `abc` is different from `ABC` because it is case sensitive (meaning: users can use the same username but with different case).
77

@@ -82,6 +82,10 @@ user2.save() # will not go through
8282

8383
```
8484

85+
# Note:
86+
87+
All values are converted to lowercase before insertion and extraction from database.
88+
8589

8690
## Dependencies
8791

0 commit comments

Comments
 (0)