1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00

[1.8.x] Removed unused import in example code in docs/topics/auth/default.txt

Backport of 10945ebeb84157a284ad96f453ee13305a9d8a94 from master
This commit is contained in:
Kevin Marsh 2015-05-27 13:21:24 +01:00 committed by Tim Graham
parent b16f84f15b
commit d411586866

View File

@ -246,7 +246,7 @@ example, you can create the ``can_publish`` permission for a ``BlogPost`` model
in ``myapp``::
from myapp.models import BlogPost
from django.contrib.auth.models import Group, Permission
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
content_type = ContentType.objects.get_for_model(BlogPost)