We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85433f8 commit f318d34Copy full SHA for f318d34
src/django_simple_nav/nav.py
@@ -67,7 +67,7 @@ def get_template_name(self) -> str:
67
@dataclass(frozen=True)
68
class NavItem:
69
title: str
70
- url: str | Callable[..., str] | None = None
+ url: str | Callable[..., str] | Promise | None = None
71
permissions: list[str | Callable[[HttpRequest], bool]] = field(default_factory=list)
72
extra_context: dict[str, object] = field(default_factory=dict)
73
0 commit comments