-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
Raphael Schubert edited this page Mar 5, 2019
·
1 revision
To use this package, you will need only 2 minutes.
Install the package:
$ pip install masonite-api-paginationNow import it on your Masonite resource file.
from api.serializers import JSONSerializer
from masonite_api_pagination.resources.PaginatedResource import PaginatedResource
from app.User import User
class UserResource(PaginatedResource, JSONSerializer):
model = UserAnd that's it! You are up and running.