-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hey. At the moment, the field types are listed inside the model.
For this reason, it’s not possible to use the field type constants in settings because of the error:"django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
I suggest moving the constants into a separate file and updating the documentation on how to use them.
The reason for this proposal also is a missed error in one field in my project, where instead of string it was mistakenly written as str
gregory-goodman and fabiocaccamo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Todo