FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
django-basic-apps/basic/inlines/models.py at master · dynamicguy/django-basic-apps · GitHub
dynamicguy
django-basic-apps
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
django-basic-apps
/
basic
/
inlines
/
models.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (10 loc) · 348 Bytes
Breadcrumbs
django-basic-apps
/
basic
/
inlines
/
models.py
Copy path
File metadata and controls
14 lines (10 loc) · 348 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from
django
.
db
import
models
from
django
.
contrib
.
contenttypes
.
models
import
ContentType
class
InlineType
(
models
.
Model
):
"""InlineType model"""
title
=
models
.
CharField
(
max_length
=
200
)
content_type
=
models
.
ForeignKey
(
ContentType
)
class
Meta
:
db_table
=
'inline_types'
def
__unicode__
(
self
):
return
self
.
title
Back
|
FazBrowse Home
|
New Git URL