Jak utworzyć konto personelu w Django
user = User.objects.create_user('john', '[email protected]', 'johnpassword')
user.is_staff=True
user.save()
Cloudy Capuchin
user = User.objects.create_user('john', '[email protected]', 'johnpassword')
user.is_staff=True
user.save()