Skip to content

Move the field types into a separate file #201

@llybin

Description

@llybin

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions