CARVIEW |
Select Language
HTTP/2 301
server: nginx
content-type: text/html
location: https://www.djangoproject.com/svntogit/7126/
strict-transport-security: max-age=31536000; includeSubDomains; preload
permissions-policy: interest-cohort=()
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
age: 0
date: Sat, 11 Oct 2025 20:40:33 GMT
x-served-by: cache-fra-eddf8230106-FRA, cache-bom-vanm7210024-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1760215233.153954,VS0,VE132
content-length: 162
HTTP/2 301
server: nginx
content-type: text/html; charset=utf-8
location: https://github.com/django/django/commit/da6570bf08
content-language: en
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
referrer-policy: same-origin
cross-origin-opener-policy: same-origin
strict-transport-security: max-age=31536000; includeSubDomains; preload
permissions-policy: interest-cohort=()
x-xss-protection: 1; mode=block
access-control-allow-origin: https://code.djangoproject.com
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
age: 0
date: Sat, 11 Oct 2025 20:40:33 GMT
x-served-by: cache-fra-etou8220055-FRA, cache-bom-vanm7210040-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1760215233.345918,VS0,VE129
vary: Accept-Language
content-length: 0
HTTP/2 200
date: Sat, 11 Oct 2025 20:40:34 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/django/django.git
etag: W/"b898c85f27b314a57ad35ff9f0d328b0"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ACr1G6PgXn6MJ2sy49YOPh6CZeeubWY1%2F6XrSCxVMvcKBd7kP4lZxbRxIJOCiRvmCLxZxYYvCnkSJBuFDnaSCG7CF%2F2cCtLntaQ3zxoCG4WRdE1UG2N01ll5zwC9MP2j%2BJ%2BQKLaKUKE9ZjOlWtWhg2mqhBOzmAi4EH2po89r5dHl%2FOuA0KB2XQ0h7%2BgEL4PepLGddN9BadYCnqGv0cFycOAm3qhue7yZm4NSD%2BuN9Sc0HxQX96T9w3Q4yxYqmQbNyzFIYl3WU%2BuNylWdPFoKew%3D%3D--FBEFZNh0bd%2BxugV4--2x9DnOEZw27pqjFDBYeDyQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1985311206.1760215233; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 20:40:33 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 20:40:33 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A25C:136466:9F9F58:D21AE0:68EAC0C1
queryset-refactor: Model inheritance support. · django/django@da6570b · GitHub
Copy file name to clipboardExpand all lines: django/core/management/sql.py
Copy file name to clipboardExpand all lines: django/core/management/validation.py
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Commit da6570b
committed
queryset-refactor: Model inheritance support.
This adds both types of model inheritance: abstract base classes (ABCs) and
multi-table inheritance. See the documentation and tests / examples for details.
Still a few known bugs here, so don't file tickets (I know about them). Not
quite ready for prime-time usage, but it mostly works as expected.
git-svn-id: https://code.djangoproject.com/svn/django/branches/queryset-refactor@7126 bcc190cf-cafb-0310-a4f2-bffc1f526a371 parent 2d05885 commit da6570bCopy full SHA for da6570b
File tree
Expand file treeCollapse file tree
10 files changed
+607
-138
lines changedFilter options
- django
- core/management
- db/models
- fields
- sql
- docs
- tests/modeltests/model_inheritance
Expand file treeCollapse file tree
10 files changed
+607
-138
lines changedCollapse file: django/core/management/sql.py
django/core/management/sql.py
Copy file name to clipboardExpand all lines: django/core/management/sql.py+8-8Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
| 150 | + | |
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
182 |
| - | |
| 182 | + | |
183 | 183 |
| |
184 | 184 |
| |
185 | 185 |
| |
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
| 259 | + | |
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
| |||
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
354 |
| - | |
| 354 | + | |
355 | 355 |
| |
356 | 356 |
| |
357 | 357 |
| |
| |||
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
461 |
| - | |
| 461 | + | |
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
|
Collapse file: django/core/management/validation.py
django/core/management/validation.py
Copy file name to clipboardExpand all lines: django/core/management/validation.py+12-11Lines changed: 12 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
73 |
| - | |
| 72 | + | |
| 73 | + | |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
| 90 | + | |
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
| 110 | + | |
110 | 111 |
| |
111 | 112 |
| |
112 | 113 |
| |
| |||
117 | 118 |
| |
118 | 119 |
| |
119 | 120 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
130 |
| - | |
| 131 | + | |
131 | 132 |
| |
132 | 133 |
| |
133 | 134 |
| |
|
Collapse file: django/db/models/base.py
+82-45Lines changed: 82 additions & 45 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 |
| |
2 | 7 |
| |
3 | 8 |
| |
4 | 9 |
| |
5 | 10 |
| |
6 |
| - | |
| 11 | + | |
7 | 12 |
| |
8 | 13 |
| |
9 | 14 |
| |
| |||
14 | 19 |
| |
15 | 20 |
| |
16 | 21 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
28 |
| - | |
29 |
| - | |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
| 32 | + | |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
37 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 |
| |
39 |
| - | |
40 |
| - | |
| 48 | + | |
41 | 49 |
| |
42 |
| - | |
| 50 | + | |
| 51 | + | |
43 | 52 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
50 | 64 |
| |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
51 | 69 |
| |
52 | 70 |
| |
53 | 71 |
| |
| |||
63 | 81 |
| |
64 | 82 |
| |
65 | 83 |
| |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
74 | 91 |
| |
75 |
| - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
76 | 97 |
| |
| 98 | + | |
77 | 99 |
| |
| 100 | + | |
78 | 101 |
| |
79 |
| - | |
80 |
| - | |
| 102 | + | |
| 103 | + | |
81 | 104 |
| |
82 | 105 |
| |
83 | 106 |
| |
| |||
113 | 136 |
| |
114 | 137 |
| |
115 | 138 |
| |
116 |
| - | |
117 |
| - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
118 | 143 |
| |
119 | 144 |
| |
120 | 145 |
| |
| |||
207 | 232 |
| |
208 | 233 |
| |
209 | 234 |
| |
210 |
| - | |
211 |
| - | |
212 |
| - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
213 | 249 |
| |
214 |
| - | |
| 250 | + | |
215 | 251 |
| |
216 | 252 |
| |
217 |
| - | |
| 253 | + | |
218 | 254 |
| |
219 | 255 |
| |
220 | 256 |
| |
221 | 257 |
| |
222 |
| - | |
| 258 | + | |
223 | 259 |
| |
224 | 260 |
| |
225 | 261 |
| |
| |||
231 | 267 |
| |
232 | 268 |
| |
233 | 269 |
| |
234 |
| - | |
| 270 | + | |
235 | 271 |
| |
236 |
| - | |
| 272 | + | |
237 | 273 |
| |
238 |
| - | |
239 |
| - | |
| 274 | + | |
| 275 | + | |
240 | 276 |
| |
241 | 277 |
| |
242 | 278 |
| |
243 |
| - | |
| 279 | + | |
244 | 280 |
| |
245 | 281 |
| |
246 | 282 |
| |
| |||
250 | 286 |
| |
251 | 287 |
| |
252 | 288 |
| |
253 |
| - | |
| 289 | + | |
254 | 290 |
| |
255 | 291 |
| |
256 |
| - | |
257 |
| - | |
258 |
| - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
259 | 296 |
| |
260 | 297 |
| |
261 | 298 |
| |
|
You can’t perform that action at this time.
0 commit comments