Django rest framework walkthrough
This is django restframework walkthrough where a complete Pastebin API is created which is fully web browsable, includes a schema-driven library and comes with complete authentication, per-object permissions as well as multirender formats.
Django framework, Pygments, Coreapi Coreapi-cli
Clone the project from github
git clone https://github.com/Curti-s/drf.git
pip install django djangorestframework pygments coreapi coreapi-cli
python -m venv env
source env/bin/activate
cd tutorial
python manage.py makemigrations snippets
python manage.py migrate
python manage.py createsuperuser --username admin --email admin@example.com
In the web browser
http://localhost:8000
In the terminal coreapi get http://127.0.0.1:8000/schema/
Authenticate coreapi coreapi credentials add 127.0.0.1 <username>:<password> --auth basic
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Your Name - @wizCurtis81 - matthewscurtis.dev81@gmail.com
Project Link: drf