from django.contrib.auth.models import User. u, created = User.objects.get_or_create(username='admin'). print dir(u.__class__). if created:.
確定! 回上一頁