#16368: Custom sites model overridden by contrib.sites.model.Site
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  briehan.lombaard@…                 |         Status:  new
                   Type:  Bug        |      Component:  contrib.sites
              Milestone:             |       Severity:  Normal
                Version:  1.3        |       Keywords:
             Resolution:             |      Has patch:  0
           Triage Stage:             |    Needs tests:  0
  Unreviewed                         |  Easy pickings:  0
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by anonymous):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Apologies for the inconsistent naming in my code examples. They should be:


 {{{
 from foobar.sites.models import Site
 print Site

 <class 'django.contrib.sites.models.Site'>
 }}}


 and the expected output


 {{{
 >>> from foobar.sites.models import Site
 >>> print Site

 <class 'foobar.sites.models.Site'>
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16368#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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to