Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
classy-python
/
ccbv
Public
Notifications
You must be signed in to change notification settings
Fork
75
Star
529
Code
Issues
23
Pull requests
14
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Reduce reliance on
get_absolute_url
- #244
#244
Draft
meshy
wants to merge 13 commits into
main
classy-python/ccbv:main
from
remove-url-knowledge-from-models
classy-python/ccbv:remove-url-knowledge-from-models
Copy head branch name to clipboard
Conversation
Commits
13
(13)
Checks
Files changed
Draft
Reduce reliance on
get_absolute_url
#244
meshy
wants to merge 13 commits into
main
classy-python/ccbv:main
from
remove-url-knowledge-from-models
classy-python/ccbv:remove-url-knowledge-from-models
Copy head branch name to clipboard
Commits
Commits on Jun 13, 2024
Remove redundant version fetch
Show description for 0ac2530
meshy
committed
0ac2530
View commit details
Copy full SHA for 0ac2530
Browse repository at this point
Customise QuerySet instead of Manager
Show description for f8973fa
meshy
committed
f8973fa
View commit details
Copy full SHA for f8973fa
Browse repository at this point
Remove direct knowledge of Django URLs from models
Show description for dad158d
meshy
committed
dad158d
View commit details
Copy full SHA for dad158d
Browse repository at this point
Add helper for getting latest version of Klass
meshy
committed
de10f03
View commit details
Copy full SHA for de10f03
Browse repository at this point
Separate getting latest version from URL
Show description for 26e1cd0
meshy
committed
26e1cd0
View commit details
Copy full SHA for 26e1cd0
Browse repository at this point
Remove unused Klass().get_latest_version_url()
meshy
committed
f65b2c9
View commit details
Copy full SHA for f65b2c9
Browse repository at this point
Replace some calls to Klass().get_absolute_url()
Show description for 1271520
meshy
committed
1271520
View commit details
Copy full SHA for 1271520
Browse repository at this point
Move if statement outside of loop
meshy
committed
2d15e45
View commit details
Copy full SHA for 2d15e45
Browse repository at this point
Move get_prepared_attributes from model to view
Show description for 46c1fcf
meshy
committed
46c1fcf
View commit details
Copy full SHA for 46c1fcf
Browse repository at this point
Fetch ancestors outside of loop
meshy
committed
27fbac2
View commit details
Copy full SHA for 27fbac2
Browse repository at this point
Use a defaultdict for building mapped list
Show description for 464fcd0
meshy
committed
464fcd0
View commit details
Copy full SHA for 464fcd0
Browse repository at this point
Commits on Jun 16, 2024
Add test for view with overridden attributes
Show description for 99df59c
meshy
committed
99df59c
View commit details
Copy full SHA for 99df59c
Browse repository at this point
Test get_all_ancestors against UpdateView
Show description for e9f1b79
meshy
committed
e9f1b79
View commit details
Copy full SHA for e9f1b79
Browse repository at this point
You can’t perform that action at this time.