Skip to content

Commit a142a98

Browse files
committed
Use odin lazy_property no django!
1 parent 123f236 commit a142a98

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

baldr/api/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
1010
from django.conf.urls import url, include
1111
from django.core.exceptions import PermissionDenied
1212
from django.http import HttpResponse, Http404
13-
from django.utils.functional import lazy_property
1413
from django.views.decorators.csrf import csrf_exempt
14+
1515
from odin.codecs import json_codec
1616
from odin.exceptions import CodecDecodeError, ValidationError
17-
from odin.utils import getmeta
17+
from odin.utils import getmeta, lazy_property
1818

1919
from .. import content_type_resolvers
2020
from ..resources import Error
2121
from ..exceptions import ImmediateErrorHttpResponse, ImmediateHttpResponse
22-
2322
from .constants import * # noqa
2423
from .route_decorators import * # noqa
2524

0 commit comments

Comments
 (0)