OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | get_rules (self, map) |
As soon as you have more complex URL setups it's a good idea to use rule factories to avoid repetitive tasks. Some of them are builtin, others can be added by subclassing `RuleFactory` and overriding `get_rules`.
def get_rules | ( | self, | |
map | |||
) |
Subclasses of `RuleFactory` have to override this method and return an iterable of rules.
Reimplemented in Rule, RuleTemplateFactory, EndpointPrefix, Submount, and Subdomain.