mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Missing import of "Permission" model in docs
Missing import of "Permission" model in docs
This commit is contained in:
parent
2263ed8b94
commit
4068323df4
|
@ -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.
|
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
|
from rest_framework import serializers
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user