Changes between Initial Version and Version 1 of Ticket #19401, comment 2
- Timestamp:
- Nov 30, 2012, 11:19:44 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19401, comment 2
initial v1 1 Actually, this was something I only discovered myself, in that while app names are case sensitive, model names are not. Check out these lines from django/db/models/loading.py1 Actually, this was something I only recently discovered myself, in that while app names are case sensitive, model names are not. Check out these lines from django/db/models/loading.py 2 2 3 3 {{{ … … 16 16 return self.app_models.get(app_label, SortedDict()).get(model_name.lower()) 17 17 }}} 18 19 So, while this is unlikely going to cause many problems for just AUTH_USER_MODEL, if the usage of swappable models grows, the rules for case-sensitive/insensitive inconsistency are going to progressively be more of a problem.