This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
mirror of
https://github.com/django/django.git
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
24
Releases
Wiki
Activity
7444f32527
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