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

Refactor action links for easier template customization and Implement pagination functionality #62

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

srmurali002
Copy link

@srmurali002 srmurali002 commented Oct 12, 2024

  • Replace Python template tags with a for loop in HTML
  • Change actions structure from tuple to dictionary
  • Remove HTML generation in Python code
  • Allow direct rendering of action properties in template
  • Add new template tag 'pagination'
  • Ensures compatibility with Django's page_obj structure
  • Create corresponding partial template 'pagination.html'
  • Implement inclusion tag for easy integration of pagination controls

Muralidhar Reddy Challa added 2 commits October 12, 2024 11:44
- Replace Python template tags with a for loop in HTML
- Change action structure from tuple to dictionary
- Remove HTML generation in Python code
- Allow direct rendering of action properties in template
- Add new template tag 'pagination'
- Ensures compatibility with Django's page_obj structure
- Create corresponding partial template 'pagination.html'
- Implement inclusion tag for easy integration of pagination controls
@srmurali002 srmurali002 changed the title Refactor action links for easier template customization Refactor action links for easier template customization and Implement pagination functionality Oct 12, 2024
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.

1 participant