Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppConfig ¶
func NewAppConfig() *apps.DBRequiredAppConfig
Types ¶
type BlogContext ¶
type BlogContext struct { ctx.ContextWithRequest Page pages.Page }
type BlogImage ¶
type BlogImage struct { models.Model `table:"blog_images"` OrderableMixin[*BlogImage] ID int64 Image *images.Image BlogPage *BlogPage Content blocks.ListBlockData }
func (*BlogImage) FieldDefs ¶
func (b *BlogImage) FieldDefs() attrs.Definitions
func (*BlogImage) GetContentBlock ¶
func (*BlogImage) UniqueTogether ¶
type BlogPage ¶
type BlogPage struct { models.Model `table:"blog_pages"` Page *pages.PageNode `proxy:"true"` Image *mediafiles.SimpleStoredObject Editor *editor.EditorJSBlockData Thumbnail *images.Image Document *documents.Document User users.User }
func (*BlogPage) FieldDefs ¶
func (n *BlogPage) FieldDefs() attrs.Definitions
func (*BlogPage) SearchableFields ¶
func (n *BlogPage) SearchableFields() []search.SearchField
type CantSelectField ¶
func (*CantSelectField) AllowDBEdit ¶
func (f *CantSelectField) AllowDBEdit() bool
func (*CantSelectField) CanMigrate ¶
func (f *CantSelectField) CanMigrate() bool
func (*CantSelectField) ForSelectAll ¶
func (f *CantSelectField) ForSelectAll() bool
type OrderableMixin ¶
func (*OrderableMixin[T]) BindToEmbedder ¶
func (m *OrderableMixin[T]) BindToEmbedder(embedder attrs.Definer) error
func (*OrderableMixin[T]) FieldDefs ¶
func (m *OrderableMixin[T]) FieldDefs() attrs.Definitions
func (*OrderableMixin[T]) IsModelMixin ¶
func (m *OrderableMixin[T]) IsModelMixin()
func (*OrderableMixin[T]) ObjectFields ¶
Click to show internal directories.
Click to hide internal directories.