René's URL Explorer Experiment


Title: Reduce reliance on `get_absolute_url` by meshy · Pull Request #244 · classy-python/ccbv · GitHub

Open Graph Title: Reduce reliance on `get_absolute_url` by meshy · Pull Request #244 · classy-python/ccbv

X Title: Reduce reliance on `get_absolute_url` by meshy · Pull Request #244 · classy-python/ccbv

Description: TODO: Split this PR into consumable chunks.

Open Graph Description: TODO: Split this PR into consumable chunks.

X Description: TODO: Split this PR into consumable chunks.

Opengraph URL: https://github.com/classy-python/ccbv/pull/244

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2aa97657-6674-764a-33ca-3738b0adc49b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id84E2:42B70:2233DE:2EF9FB:69811928
html-safe-noncef049f830c0425df94fc3d8e1059e5f79f108341332029ec97b47e8ee07c2cef1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEUyOjQyQjcwOjIyMzNERToyRUY5RkI6Njk4MTE5MjgiLCJ2aXNpdG9yX2lkIjoiODU4NTAzNDY2MzE1MDU1NzQ4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac78084f65dc9f3c06739d81ad73db73c3e3b786385003090650b49d085fdf7dfb
hovercard-subject-tagpull_request:1919424864
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/classy-python/ccbv/244/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/02b3d3615b08757835fd630cf0b5a4bab23228ca378db43c778ab6ca18ec78c4/classy-python/ccbv/pull/244
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/02b3d3615b08757835fd630cf0b5a4bab23228ca378db43c778ab6ca18ec78c4/classy-python/ccbv/pull/244
og:image:altTODO: Split this PR into consumable chunks.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemeshy
hostnamegithub.com
expected-hostnamegithub.com
None39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1
turbo-cache-controlno-preview
go-importgithub.com/classy-python/ccbv git https://github.com/classy-python/ccbv.git
octolytics-dimension-user_id92336180
octolytics-dimension-user_loginclassy-python
octolytics-dimension-repository_id3409149
octolytics-dimension-repository_nwoclassy-python/ccbv
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3409149
octolytics-dimension-repository_network_root_nwoclassy-python/ccbv
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released5b34a4e4898b066c629879feb4b184bc471d6a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclassy-python%2Fccbv%2Fpull%2F244
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclassy-python%2Fccbv%2Fpull%2F244
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=classy-python%2Fccbv
Reloadhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
Reloadhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
Reloadhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
classy-python https://patch-diff.githubusercontent.com/classy-python
ccbvhttps://patch-diff.githubusercontent.com/classy-python/ccbv
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fclassy-python%2Fccbv
Fork 75 https://patch-diff.githubusercontent.com/login?return_to=%2Fclassy-python%2Fccbv
Star 527 https://patch-diff.githubusercontent.com/login?return_to=%2Fclassy-python%2Fccbv
Code https://patch-diff.githubusercontent.com/classy-python/ccbv
Issues 23 https://patch-diff.githubusercontent.com/classy-python/ccbv/issues
Pull requests 16 https://patch-diff.githubusercontent.com/classy-python/ccbv/pulls
Actions https://patch-diff.githubusercontent.com/classy-python/ccbv/actions
Security 0 https://patch-diff.githubusercontent.com/classy-python/ccbv/security
Insights https://patch-diff.githubusercontent.com/classy-python/ccbv/pulse
Code https://patch-diff.githubusercontent.com/classy-python/ccbv
Issues https://patch-diff.githubusercontent.com/classy-python/ccbv/issues
Pull requests https://patch-diff.githubusercontent.com/classy-python/ccbv/pulls
Actions https://patch-diff.githubusercontent.com/classy-python/ccbv/actions
Security https://patch-diff.githubusercontent.com/classy-python/ccbv/security
Insights https://patch-diff.githubusercontent.com/classy-python/ccbv/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fclassy-python%2Fccbv%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fclassy-python%2Fccbv%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244#issue-comment-box
meshyhttps://patch-diff.githubusercontent.com/meshy
mainhttps://patch-diff.githubusercontent.com/classy-python/ccbv/tree/main
remove-url-knowledge-from-modelshttps://patch-diff.githubusercontent.com/classy-python/ccbv/tree/remove-url-knowledge-from-models
Reduce reliance on get_absolute_url https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244#top
meshyhttps://patch-diff.githubusercontent.com/meshy
mainhttps://patch-diff.githubusercontent.com/classy-python/ccbv/tree/main
remove-url-knowledge-from-modelshttps://patch-diff.githubusercontent.com/classy-python/ccbv/tree/remove-url-knowledge-from-models
Conversation 0 https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
Commits 13 https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits
Checks 0 https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/checks
Files changed https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/files
Please reload this pagehttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/meshy
meshyhttps://patch-diff.githubusercontent.com/meshy
Jun 13, 2024https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244#issue-2351945585
Please reload this pagehttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
Please reload this pagehttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
meshyhttps://patch-diff.githubusercontent.com/meshy
June 13, 2024 20:50https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244#commits-pushed-0ac2530
https://patch-diff.githubusercontent.com/meshy
Remove redundant version fetchhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/0ac2530e6e951e4431321b87a6de098aa4ca99c6
0ac2530https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/0ac2530e6e951e4431321b87a6de098aa4ca99c6
https://patch-diff.githubusercontent.com/meshy
Customise QuerySet instead of Managerhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/f8973fa2d763296fab15207c95da85b37a472076
f8973fahttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/f8973fa2d763296fab15207c95da85b37a472076
https://patch-diff.githubusercontent.com/meshy
Remove direct knowledge of Django URLs from modelshttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/dad158d293b63d06cb17c1c47cfc92dfcc2af43b
dad158dhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/dad158d293b63d06cb17c1c47cfc92dfcc2af43b
https://patch-diff.githubusercontent.com/meshy
Add helper for getting latest version of Klasshttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/de10f031f6344703f7567091a82beda0d8e0ae2e
de10f03https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/de10f031f6344703f7567091a82beda0d8e0ae2e
https://patch-diff.githubusercontent.com/meshy
Separate getting latest version from URLhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/26e1cd05a3b58947ade712810b12ba85aa0051d9
26e1cd0https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/26e1cd05a3b58947ade712810b12ba85aa0051d9
https://patch-diff.githubusercontent.com/meshy
Remove unused Klass().get_latest_version_url()https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/f65b2c98ccd12406bc23322fc3881ad75929849d
f65b2c9https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/f65b2c98ccd12406bc23322fc3881ad75929849d
https://patch-diff.githubusercontent.com/meshy
Replace some calls to Klass().get_absolute_url()https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/1271520518f8154d9f4aed1acb9fc3461ae8b20a
1271520https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/1271520518f8154d9f4aed1acb9fc3461ae8b20a
https://patch-diff.githubusercontent.com/meshy
Move if statement outside of loophttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/2d15e45ece401dbba5f8b9531e0776d495601deb
2d15e45https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/2d15e45ece401dbba5f8b9531e0776d495601deb
https://patch-diff.githubusercontent.com/meshy
Move get_prepared_attributes from model to viewhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/46c1fcf3f05f62430e6909f884b87cdea12674d5
46c1fcfhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/46c1fcf3f05f62430e6909f884b87cdea12674d5
https://patch-diff.githubusercontent.com/meshy
Fetch ancestors outside of loophttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/27fbac294741f25e937e2bdbff38f1847db14db9
27fbac2https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/27fbac294741f25e937e2bdbff38f1847db14db9
https://patch-diff.githubusercontent.com/meshy
Use a defaultdict for building mapped listhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/464fcd0742a0b3ddb7957dfd4bb8b3486a1183ca
464fcd0https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/464fcd0742a0b3ddb7957dfd4bb8b3486a1183ca
https://patch-diff.githubusercontent.com/meshy
Add test for view with overridden attributeshttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/99df59c855d07aaede5ec3f2f0ebeedda7bcd361
99df59chttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/99df59c855d07aaede5ec3f2f0ebeedda7bcd361
https://patch-diff.githubusercontent.com/meshy
Test get_all_ancestors against UpdateViewhttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/e9f1b795dfd28966f2230fac69832c3fb052ce23
e9f1b79https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244/commits/e9f1b795dfd28966f2230fac69832c3fb052ce23
https://patch-diff.githubusercontent.com/meshy
meshyhttps://patch-diff.githubusercontent.com/meshy
force-pushedhttps://patch-diff.githubusercontent.com/classy-python/ccbv/compare/5e1dc155179a1105bb9dc301a0b6cb14ecaae35a..e9f1b795dfd28966f2230fac69832c3fb052ce23
5e1dc15https://patch-diff.githubusercontent.com/classy-python/ccbv/commit/5e1dc155179a1105bb9dc301a0b6cb14ecaae35a
e9f1b79https://patch-diff.githubusercontent.com/classy-python/ccbv/commit/e9f1b795dfd28966f2230fac69832c3fb052ce23
Compare https://patch-diff.githubusercontent.com/classy-python/ccbv/compare/5e1dc155179a1105bb9dc301a0b6cb14ecaae35a..e9f1b795dfd28966f2230fac69832c3fb052ce23
June 16, 2024 18:43https://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244#event-13176717941
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclassy-python%2Fccbv%2Fpull%2F244
Please reload this pagehttps://patch-diff.githubusercontent.com/classy-python/ccbv/pull/244
https://patch-diff.githubusercontent.com/meshy
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.