Skip to content

Commit

Permalink
GITC-102: Fixes isort issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon committed Jul 22, 2021
1 parent d66a590 commit 6435b9a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/app/bundle_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from cacheops import cached_as
from perftools.models import JSONStore


@cached_as(JSONStore.objects.filter(view='bundleTags', key='bundleTags'), timeout=60)
def templateTags():

Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from django.utils.safestring import mark_safe

from adminsortable2.admin import SortableInlineAdminMixin
from perftools.management.commands import create_page_cache

from .models import (
Activity, Answer, BlockedIP, BlockedURLFilter, BlockedUser, Bounty, BountyEvent, BountyFulfillment, BountyInvites,
Expand All @@ -35,7 +36,6 @@
TransactionHistory, TribeMember, TribesSubscription, UserAction, UserVerificationModel,
)

from perftools.management.commands import create_page_cache

class BountyEventAdmin(admin.ModelAdmin):
list_display = ['created_on', '__str__', 'event_type']
Expand Down
3 changes: 1 addition & 2 deletions app/dashboard/management/commands/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
from django.template import Context, Template
from django.template.loaders.app_directories import get_app_template_dirs

from dashboard.templatetags.bundle import render

from app.bundle_context import context, templateTags
from dashboard.templatetags.bundle import render


def rmdir(loc, depth=1):
Expand Down
1 change: 0 additions & 1 deletion app/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
ProfileHiddenException, ProfileNotFoundException, build_profile_pairs, get_bounty_from_invite_url,
get_ens_contract_addresss, get_orgs_perms, get_poap_earliest_owned_token_timestamp, profile_helper,
)

from economy.utils import ConversionRateNotFoundError, convert_amount, convert_token_to_usdt
from eth_account.messages import defunct_hash_message
from eth_utils import is_address, is_same_address
Expand Down

0 comments on commit 6435b9a

Please sign in to comment.