#35179: Admindocs does not recognize methods containing positional-only
arguments
or keyword-only arguments as such
-----------------------------------+------------------------------------
Reporter: David Sanders | Owner: nobody
Type: Bug | Status: new
Component: contrib.admindocs | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Changes (by David Sanders):
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
Hi Salvo,
Thanks for picking this up. You're in the right areaa but the patch
provided appears to break the patched functions.
My advice is to start with creating a test for admindocs first then take a
look at the function `method_has_no_args()`. The fix should be the same
for ticket #35175 👍
--
Ticket URL: <https://code.djangoproject.com/ticket/35179#comment:6>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d96e800fd-9870c828-5b4f-4bf7-b125-beb3b7e95796-000000%40eu-central-1.amazonses.com.