Skip to content

Commit 180b851

Browse files
committed
Fix bug which raises import error
1 parent d5bab89 commit 180b851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block_ip/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from django.conf import settings
33
from django.core.cache import cache
44

5-
from models import BlockIP
5+
from .models import BlockIP
66

77

88
def get_ip(req):

0 commit comments

Comments
 (0)