How doesn't it work?
1. Does the uploaded file appear where you expect it to?
2. If you construct the URL properly in your browser, can you access
it directly?
3. What is the URL being output in your templates?
On Tue, Apr 14, 2015 at 9:44 AM, dk wrote:
> maybe I need to
maybe I need to simplify my question.
how do I use media_url in windows?
On Wednesday, April 8, 2015 at 10:56:27 AM UTC-5, dk wrote:
> in my settings
> MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
> MEDIA_URL = "/media/"
>
>
> my view to accept files.
> def request_page(request):
>
in my settings
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = "/media/"
my view to accept files.
def request_page(request):
#todo since sqlite my get stuck between 2 submittion at the same time,
# submit, if it cant try again and then message that ask the user to try
in 5 mins.
3 matches
Mail list logo