#12288: Validate that values in INSTALLED_APPS are unique
-------------------------------------+-------------------------------------
     Reporter:  Piotr Czachur        |                    Owner:  susan
  <zimnyx@…>                         |                   Status:  closed
         Type:                       |                  Version:  master
  Cleanup/optimization               |               Resolution:  fixed
    Component:  Core (Other)         |             Triage Stage:  Accepted
     Severity:  Normal               |      Needs documentation:  0
     Keywords:  sprint200912         |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  1                    |
-------------------------------------+-------------------------------------

Comment (by akaariai):

 Django assumes in some places that app_name.model_name is unique key (IIRC
 things like contenttypes, permissions and app-cache assume this). I think
 if you happen to have somepackage.app1.User and otherpackage.app1.User you
 will have problems.

 That being said backwards compatibility could be a bigger concern that
 making sure the above doesn't happen.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12288#comment:33>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/090.8e90d85bde830f045cbd1d982902a3de%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to