#32950: Documentation errors in ModelAdmin objects (/ref/contrib/admin)? -----------------------------------------+---------------------------- Reporter: Ken Whitesell | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 3.2 Severity: Normal | Keywords: ModelAdmin Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 0 | -----------------------------------------+---------------------------- The first example in the section for [https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin class ModelAdmin] has the following line:
{{{ #!python from myproject.myapp.models import Author }}} (There are multiple occurrences of this on this page.) Is it proper to specify the "myproject" path component here? It looks to me like this would only be valid if the manage.py file were located "above" the myproject directory, which is different from where the startproject command places it. -- Ticket URL: <https://code.djangoproject.com/ticket/32950> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/055.7db58e470c1c0b87587bced6b64fc9ca%40djangoproject.com.