Skip to content

How do you add Lists to contenttypes from code? #16499

Answered by Piedone
tcobbfis asked this question in Q&A
Discussion options

You must be logged in to vote

You can create the content types from the admin, then generate the corresponding migration code. You can take the Blog and Blog Post content types from the Blog recipe/theme as an inspiration.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tcobbfis
Comment options

@Piedone
Comment options

Answer selected by tcobbfis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants