Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom max name length #638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pimuzzo
Copy link

@pimuzzo pimuzzo commented Aug 29, 2022

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

Please note:

  • that according to this StackOverflow comment the AWS declared limit is 63 chars but it supports fewer chars.
  • that this edit is backward compatible.

It can be used in this way:

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

Fix #595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migration error namespace name generated from index name is too long on AWS DocumentMD
1 participant