fix ./manage.py migrate
errors
This commit is contained in:
parent
870ce45a63
commit
2bb2c9556b
@ -32,12 +32,6 @@ from rest_framework import viewsets, status
|
||||
from main.serializers import ProfileSerializer
|
||||
from rest_framework.response import Response
|
||||
|
||||
content_type_temp = ContentType.objects.get_for_model(UserProfile)
|
||||
permission_temp, created = Permission.objects.get_or_create(
|
||||
codename='has_control_access',
|
||||
content_type=content_type_temp,
|
||||
)
|
||||
|
||||
|
||||
class CustomRegistrationView(RegistrationView):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user