Skip to content

krta2/django-rest-framework-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

django-rest-framework-tutorial

Requirements

  • pip
  • pyenv
  • pyenv-virtualenv

Installation

# Clone a repository
git clone https://github.com/krta2/django-rest-framework-tutorial.git
cd django-rest-framework-tutorial

# Create a virtualenv to isolate our package dependencies locally
pyenv virtualenv drft
pyenv activate drft

# Install requirements
pip install -r requirements.txt

# Move to project directory
cd tutorial

# Sync your database for the first time
python manage.py migrate

# Create an initial user
python manage.py createsuperuser --email [email protected] --username admin

# Run server
python manage.py runserver

Reference

About

django rest framework tutorial

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages