#19676: Inspectdb ForeignKey for self
---------------------------------+----------------------------------
     Reporter:  Georgy Kutsurua  |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  Uncategorized    |    Version:  1.5-beta-1
     Severity:  Normal           |   Keywords:  inspectdb foreignkey
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+----------------------------------
 Inspectdb command generate ForeignKey string

 {{{
 parent = models.ForeignKey(''self'', null=True, blank=True)
 }}}
 it is uncorrectly, we needed

 {{{
 parent = models.ForeignKey('self', null=True, blank=True)
 }}}
 here we use one quote instead double quote :)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19676>
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 https://groups.google.com/groups/opt_out.


Reply via email to