Replies: 1 comment 1 reply
-
I am considering now such a concept: I have
How I can get access from model |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have
Page
model withtitle
anduri
fields. Also I havePageStandard
model (withcontent
field for example) andPageCustom
model (with different fields for that page type). EachPage
have one ofPageStandard
orPageCustom
relationship.I also need describe for any page type (PageStandard, PageCustom, etc...) some fields such as
component
,template
for each relationship type (such asPageStandard
andPageCustom
etc... That is PageStandard have unique universal value forcomponent
andtemplate
fields.And I need to retrieve special fields (
component
,template
) for any Page as a property.How can I implement such a database structure?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions