Skip to content

Commit 33bb025

Browse files
committed
Fix #325 Django example app error by importing datetime utilities
1 parent ed7ef1f commit 33bb025

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/django/slackapp/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class SlackOAuthState(models.Model):
7979
from uuid import uuid4
8080
from django.db.models import F
8181
from django.utils import timezone
82+
from django.utils.timezone import is_naive, make_aware
8283
from slack_sdk.oauth import InstallationStore, OAuthStateStore
8384
from slack_sdk.oauth.installation_store import Bot, Installation
8485
from slack_sdk.webhook import WebhookClient

0 commit comments

Comments
 (0)