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

Adding columns of type picture to table #16

Open
C4ORT opened this issue Jun 8, 2024 · 0 comments
Open

Adding columns of type picture to table #16

C4ORT opened this issue Jun 8, 2024 · 0 comments

Comments

@C4ORT
Copy link

C4ORT commented Jun 8, 2024

Using the model to build the database, I specified one of the fields:
photo=models.ImageField(upload_to="images/", blank=True, null=True)
but when adding a record, it is impossible to add a file or an image
is there any solution to this problem or should I deal with the code myself and rewrite some points?

image
image

@C4ORT C4ORT changed the title Фdding columns of type picture to table Adding columns of type picture to table Jun 8, 2024
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