Changes between Initial Version and Version 1 of Ticket #19401, comment 2


Ignore:
Timestamp:
Nov 30, 2012, 11:19:44 PM (12 years ago)
Author:
chriscog

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.py
     1Actually, 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
    22
    33{{{
     
    1616        return self.app_models.get(app_label, SortedDict()).get(model_name.lower())
    1717}}}
     18
     19So, 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.
Back to Top