Skip to content

Commit

Permalink
5.0: Update django.db.models.functions.datetime (#2173)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHyuckSa authored May 21, 2024
1 parent 5a95cee commit d678774
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions django-stubs/db/models/functions/datetime.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class ExtractSecond(Extract): ...
class Now(Func):
output_field: ClassVar[models.DateTimeField]

def as_oracle(self, compiler: SQLCompiler, connection: BaseDatabaseWrapper, **extra_context: Any) -> _AsSqlType: ...

class TruncBase(TimezoneMixin, Transform):
kind: str
tzinfo: Any
Expand Down
2 changes: 0 additions & 2 deletions scripts/stubtest/allowlist_todo_django50.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ django.db.models.fields.related.ForwardManyToOneDescriptor.get_prefetch_queryset
django.db.models.fields.related.ReverseOneToOneDescriptor.get_prefetch_querysets
django.db.models.fields.related_descriptors.ForwardManyToOneDescriptor.get_prefetch_querysets
django.db.models.fields.related_descriptors.ReverseOneToOneDescriptor.get_prefetch_querysets
django.db.models.functions.Now.as_oracle
django.db.models.functions.datetime.Now.as_oracle
django.db.models.lookups.Lookup.allowed_default
django.db.models.sql.Query.build_filtered_relation_q
django.db.models.sql.Query.join
Expand Down

0 comments on commit d678774

Please sign in to comment.