Source code for werewolf.models.managers

__title__ = 'werewolf.models.managers'
__version__ = '0.3'
__build__ = 0x000003
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__all__ = ('WerewolfBaseManager',)

from django.db import models

from werewolf.settings import STATUS_PUBLISHED

[docs]class WerewolfBaseManager(models.Manager): """ Werewolf base manager. """ def published(self): return self.filter(status__exact=STATUS_PUBLISHED)
Read the Docs v: 0.3
Versions
latest
0.4.2
0.3
0.2
0.1
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.