#20183: Can't find where the object gets assigned before use -------------------------------------+------------------------------------- Reporter: Katya | Owner: nobody <internum.odium@…> | Status: closed Type: Uncategorized | Version: 1.5 Component: Documentation | Resolution: invalid Severity: Normal | Triage Stage: Keywords: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Katya <internum.odium@…>): {{{ >>> entry = Entry.objects.get(pk=1) }}} At that point there are no objects in {{{Entry}}}. The same goes for the object with the name "Cheddar Talk" in {{{Blog}}}: {{{ >>> cheese_blog = Blog.objects.get(name="Cheddar Talk") }}} That would be nice to add lines creating those objects or, if they are created somewhere else in documentation, put a reference to that place. -- Ticket URL: <https://code.djangoproject.com/ticket/20183#comment:2> 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. For more options, visit https://groups.google.com/groups/opt_out.