Skip to content

Commit

Permalink
Add missing imports and enhance module dependencies in views
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT committed Nov 11, 2024
1 parent baf1677 commit d554f7e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
8 changes: 8 additions & 0 deletions website/views/issue.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
import base64
import io
import json
import os
import uuid
from datetime import datetime, timezone
from urllib.parse import urlparse

import requests
import six
import tweepy
from allauth.account.models import EmailAddress
from allauth.account.signals import user_logged_in
from django.conf import settings
Expand Down
3 changes: 3 additions & 0 deletions website/views/organization.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import json
from collections import defaultdict
from datetime import datetime, timedelta, timezone
from decimal import Decimal
from urllib.parse import urlparse

import humanize
import requests
import stripe
from bs4 import BeautifulSoup
from django.conf import settings
from django.contrib import messages
Expand Down
4 changes: 3 additions & 1 deletion website/views/project.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import json
from datetime import datetime, timedelta
import re
from datetime import datetime, timedelta, timezone
from pathlib import Path

import requests
from django.contrib import messages
from django.contrib.auth.decorators import user_passes_test
from django.http import HttpResponse
Expand Down
6 changes: 5 additions & 1 deletion website/views/user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from datetime import datetime
import json
import os
from datetime import datetime, timezone
from decimal import Decimal

import requests
import stripe
from allauth.account.signals import user_signed_up
from django.conf import settings
from django.contrib import messages
Expand Down

0 comments on commit d554f7e

Please sign in to comment.