openlibhums / openlibhums/janeway

Plugins do not support reversing admin URLs

Open
#3,941 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Priority low
Dominant language
Python
Stars
238
Forks
97
Avg merge
9d 1h
Merged PRs (30d)
8

Description

Describe the bug
Django lets you reverse admin URLs by prepending 'admin:' to the URL name. With Janeway plugins, this does not seem to work consistently. Here's an example use case.

Janeway version
1.5.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked consortial_billing manager template and Django's admin URL reversing documentation, then trace how Janeway plugins register and resolve URLs. Reproduce the failing admin-prefixed reverse and verify that plugin URLs consistently support the documented admin: form.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.