Skip to content

Commit

Permalink
ci: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Feb 24, 2024
1 parent 14fbd31 commit e71c597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/proxy/admin.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from django import forms
from django.contrib import admin, messages
from django.db import models
from django.db.models import F
from django.utils.safestring import mark_safe
from django import forms

from apps import utils
from apps.proxy import models
Expand Down Expand Up @@ -294,7 +294,6 @@ def get_form(self, request, obj=None, **kwargs):


class UserProxyNodeOccupancyAdmin(admin.ModelAdmin):

class UserProxyNodeOccupancyForm(forms.ModelForm):
used_traffic = utils.BytesToGigabytesField(label="已用流量(GB)")
total_traffic = utils.BytesToGigabytesField(label="总流量(GB)")
Expand Down
2 changes: 1 addition & 1 deletion apps/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from functools import wraps

import pendulum
from django import forms
from django.conf import settings
from django.http import JsonResponse
from django.utils import timezone
from django import forms


def get_random_string(
Expand Down

0 comments on commit e71c597

Please sign in to comment.