make include_str settable
Closed this issue · 2 comments
wingyiu commented
make include_str
paramable or settable or default false. #
nanuxbe commented
include_str
is already settable. You can set it on each Endpoint individually.
If you want all your endpoints to have include_str = False
, create your own Enpoint base class like
from drf_auto_endpoint.endpoints import Endpoint as BaseEndpoint
class Endpoint(BaseEndpoint):
include_str = False
and have your endpoints inherit from that Endpoint class instead of the one provided by DRF-Schema-Adapter.
I am closing this issue. If this is not what you were asking about, feel free to re-open
wingyiu commented
not settable with register()