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

django.db.utils.DataError: value too long for type character varying(100) #1

Open
mushfiqur-rahman opened this issue Jun 28, 2023 · 1 comment

Comments

@mushfiqur-rahman
Copy link
Owner

This problem come from PostgreSQL not from django. So what you will need to change?

@mushfiqur-rahman
Copy link
Owner Author

This problem come from PostgreSQL not from django. So what you will need to change?

You need to change value 100 to 250 or 255 in model. like

subtitle = models.CharField(max_length=100)

to
subtitle = models.CharField(max_length=250)

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

No branches or pull requests

1 participant