Did you specify a folder to use for media when you deployed your app? If
so, then make sure it's where you are supposed to have your media folder.
If it's a single hosting, then it should be in the public_html folder, but
on multiple hosting, it should be in the domain-specific folder. I never
really host my media on NameCheap or any other hosting for that matter
though. I use either AWS or GOOGLE CLOUD SERVICES for that.

On Sun, Jun 14, 2020 at 2:46 PM MUGOYA DIHFAHSIH <[email protected]>
wrote:

> 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/b79bb9b5-46b4-43eb-9ea5-3eaab14336ddo%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/b79bb9b5-46b4-43eb-9ea5-3eaab14336ddo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
KeLLs

-- 
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/CADYqDX2jnwmxOFs5Vz2fnezxs2KMPLh5uh6XVNrz1U36BuBN1g%40mail.gmail.com.

Reply via email to