This website requires JavaScript.
Explore
Help
Sign In
Hopiu
/
django
Watch
1
Star
0
Fork
You've already forked django
0
mirror of
https://github.com/Hopiu/django.git
synced
2026-03-21 00:10:27 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
ee46722cb9
django
/
tests
/
proxy_model_inheritance
/
app1
/
models.py
7 lines
102 B
Python
Raw
Normal View
History
Unescape
Escape
Refs: #12286 -- Add a test to verify that a proxied model's table is created in a situation where it did not used to be. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21 20:29:11 +00:00
from
app2
.
models
import
NiceModel
Convert all modeltests to use absolute imports, rather than relative ones. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13 18:04:12 +00:00
Refs: #12286 -- Add a test to verify that a proxied model's table is created in a situation where it did not used to be. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21 20:29:11 +00:00
class
ProxyModel
(
NiceModel
)
:
class
Meta
:
proxy
=
True
Reference in a new issue
Copy permalink