Make sure that infering the Django User model works

This commit is contained in:
Dave Halter
2020-04-25 00:38:15 +02:00
parent 2e1284f044
commit 6d927d502e
2 changed files with 8 additions and 1 deletions

View File

@@ -2,6 +2,11 @@ import datetime
import decimal
from django.db import models
from django.contrib.auth.models import User
#? str()
User().email
class Tag(models.Model):
@@ -38,6 +43,9 @@ class BusinessModel(models.Model):
unidentifiable = NOT_FOUND
# -----------------
# Model attribute inference
# -----------------
model_instance = BusinessModel()
#? int()