#26023: Importing GenericForeignKey on Django 1.9
-------------------------------------+-------------------------------------
     Reporter:  Chris7               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  1.9
  contrib.contenttypes               |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  generic foreign      |             Triage Stage:
  keys                               |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 You must call `django.setup()` as highlighted in the 1.7 release notes.

 https://docs.djangoproject.com/en/1.7/releases/1.7/#standalone-scripts

--
Ticket URL: <https://code.djangoproject.com/ticket/26023#comment:5>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.a1934ca90f4d986d67214d3c3678dd33%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to