One thing that can be done is to save the image as a base64 string in the database. https://stackoverflow.com/questions/3715493/encoding-an-image-file-with-base64 Sent from Mail for Windows 10 From: MUGOYA DIHFAHSIH I am working on django project and now i have deployed it with Namecheap When i submit a form that does not have an ImageField, the form submits successfully on the shared host but when i submit a form with one of the fields ImageField, it raises 404 error. but on the localhost, the forms work perfectly. what can i do to submit such forms on a shared host. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3F4C1D42-FB11-49A2-8A6E-BF990EE847AD%40hxcore.ol. |
- Django Saving a form with Imagefield on shared host MUGOYA DIHFAHSIH
- Re: Django Saving a form with Imagefield on shared h... Kelvin Sajere
- Re: Django Saving a form with Imagefield on shared h... MUGOYA DIHFAHSIH
- RE: Django Saving a form with Imagefield on shared h... Vishesh Mangla
- Re: Django Saving a form with Imagefield on shar... Kelvin Sajere
- Re: Django Saving a form with Imagefield on shar... MUGOYA DIHFAHSIH
- Re: Django Saving a form with Imagefield on ... Mostaq mahmud

