mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Merge pull request #423 from MechanisM/patch-1
Missing import of "Permission" model in docs
This commit is contained in:
commit
d0524cfcc3
|
@ -8,7 +8,7 @@ Create a new Django project, and start a new app called `quickstart`. Once you'
|
|||
|
||||
First up we're going to define some serializers in `quickstart/serializers.py` that we'll use for our data representations.
|
||||
|
||||
from django.contrib.auth.models import User, Group
|
||||
from django.contrib.auth.models import User, Group, Permission
|
||||
from rest_framework import serializers
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user