#16259: State more clearly that django.contrib.ccontenttypes depends on
django.contrib.sites
-------------------------------------+-------------------------------------
               Reporter:  zimnyx     |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |      Component:  Documentation
              Milestone:             |       Severity:  Normal
                Version:  SVN        |       Keywords:
             Resolution:             |      Has patch:  0
           Triage Stage:  Accepted   |    Needs tests:  0
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * needs_better_patch:   => 0
 * component:  Testing framework => Documentation
 * needs_tests:   => 0
 * needs_docs:   => 0
 * type:  Bug => Cleanup/optimization
 * stage:  Unreviewed => Accepted


Comment:

 The doc for `contenttypes` say that you must enable `sites` too, but it's
 not very clear:
 https://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/#the-
 contenttype-model

 I'm re-qualifying the ticket to improve this doc.

 Generally, when app A uses models from app B, those models are "enabled"
 in your app, even if B is not in INSTALLED_APPS. When this happens, for
 the sake of clarity, you should add app B to your INSTALLED_APPS.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16259#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to