#14905: models.FileField links to url attribute, which is undocumented. -----------------------------------------------------------+---------------- Reporter: Keryn Knight <ke...@kerynknight.com> | Owner: nobody Status: new | Milestone: 1.3 Component: Documentation | Version: SVN Resolution: | Keywords: filefield url Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -----------------------------------------------------------+---------------- Changes (by gabrielhurley):
* needs_better_patch: => 0 * needs_docs: => 0 * stage: Unreviewed => Accepted * needs_tests: => 0 * milestone: => 1.3 Comment: The answer is much simpler here: all three of those attributes are mis- linked. They should reference `django.core.files.storage.Storage` instead of `django.core.files.File`. There was recently a ticket that pointed out that `url` wasn't an attribute on `django.core.files.File` at all, and the docs were subsequently reworked to remove the reference from the File API page. What surprises me is that the crossref link to that anchor on the page still resolved itself somehow. Whoever commits a fix for this, please build the docs locally to make sure links to `django.core.files.File.url` no longer resolve. I'm hoping it was just a bit of bad caching that kept the link there this time. -- Ticket URL: <http://code.djangoproject.com/ticket/14905#comment:1> Django <http://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-upda...@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.