mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Use absolute import style
This commit is contained in:
parent
bafc06e19c
commit
3032a06c9b
|
@ -1,5 +1,5 @@
|
|||
from django.contrib import admin
|
||||
from .models import Token
|
||||
from rest_framework.authtoken.models import Token
|
||||
|
||||
|
||||
class TokenAdmin(admin.ModelAdmin):
|
||||
|
|
Loading…
Reference in New Issue
Block a user