Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/

### Added

- `Nav` can now be constructed directly with `template_name` and `items` keyword arguments, without needing to subclass it.
- The `django_simple_nav` template tag and Jinja2 extension now accept factory functions. A factory receives the current request and returns a `Nav`, making it easy to build request-aware navs (e.g. based on user authentication or permissions).
- Added `is_anonymous`, `is_active`, and `is_superuser` as built-in user attribute permission checks, joining the existing `is_authenticated` and `is_staff`.

## [0.14.0]
Expand Down