doableware / djongo

Django and MongoDB database connector
https://www.djongomapper.com
GNU Affero General Public License v3.0
1.86k stars 352 forks source link

Custom max name length #638

Closed pimuzzo closed 1 week ago

pimuzzo commented 1 year ago

This feature is essential to be able to use Djongo on AWS with DocumentDB.

Please note:

It can be used in this way:

DATABASES = {
    'default': {
        'ENGINE': 'djongo',
        [...]
        'MAX_NAME_LENGTH': XX,
    }
}

Fix https://github.com/doableware/djongo/issues/595