-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove superseded ExtendedQuerySet as it's functionality is built int…
…o Django since 1.7 (#563) * get rid of outdated model managers as update_or_create is provided by django since 1.7 * fix line length * fix docstring
- Loading branch information
Showing
6 changed files
with
18 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""Model querysets.""" | ||
from django.db import models | ||
|
||
|
||
class PeriodicTaskQuerySet(models.QuerySet): | ||
"""QuerySet for PeriodicTask.""" | ||
|
||
def enabled(self): | ||
return self.filter(enabled=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...reference/django-celery-beat.managers.rst → ...eference/django-celery-beat.querysets.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
===================================================== | ||
``django_celery_beat.managers`` | ||
``django_celery_beat.querysets`` | ||
===================================================== | ||
|
||
.. contents:: | ||
:local: | ||
.. currentmodule:: django_celery_beat.managers | ||
.. currentmodule:: django_celery_beat.querysets | ||
|
||
.. automodule:: django_celery_beat.managers | ||
.. automodule:: django_celery_beat.querysets | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters