Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example on how to use Accessor to documentation in custom-data.rst #917

Merged
merged 5 commits into from
Oct 18, 2023

Conversation

ruddra
Copy link
Contributor

@ruddra ruddra commented May 5, 2023

Accessor is an excellent feature of Django Tables2 but it is not highlighted enough due to lack of documentation. I am adding an example how it can be used with table.Column class.

ruddra added 4 commits May 5, 2023 13:47
Accessor is an excellent feature of Django Tables2 but it is not highlighted enough due to lack of documentation. I am adding an example how it can be used with `table.Column` class.
Fixed formatting of the code
Updated the example code
fixed variable name in documentation
Copy link
Owner

@jieter jieter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruddra thanks, I'll merge if you accept one small suggestion.

docs/pages/custom-data.rst Outdated Show resolved Hide resolved
@jieter jieter changed the title Update custom-data.rst Add example on how to use Accessor to documentation in custom-data.rst Oct 17, 2023
updated documentation based on feedback

Co-authored-by: Jan Pieter Waagmeester <jieter@jieter.nl>
@jieter
Copy link
Owner

jieter commented Oct 18, 2023

Thanks!

@jieter jieter merged commit 2318bc1 into jieter:master Oct 18, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants