Skip to content

Abstract collections

deby edited this page Nov 4, 2021 · 6 revisions

↑ Parent: References

← Previous: Abstract models

Events

BaseEventCollection only works with a model made from BaseEvent (with or without versions).

See Events for full details of how the generic event models work.

${PROJECT}/magicollections.py:

from magi.abstract_collections import BaseEventCollection as _BaseEventCollection

class EventCollection(_BaseEventCollection):
    queryset = models.Event.objects.all()

ℹ︎ See also: Events

I. Introduction

II. Tutorials

  1. Collections
    1. MagiModel
    2. MagiCollection
    3. MagiForm
    4. MagiFiltersForm
    5. MagiFields
  2. Single pages
  3. Configuring the navbar

III. References

IV. Utils

V. Advanced tutorials

VI. More

Clone this wiki locally