You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi ,
i am using your package for multiupload
i added url in url.py
added "multiuploader" in install app in setting.py
add view in my views.py
def multi_show_uploaded(request, key):
image = get_object_or_404(MultiuploaderImage, key_data=key)
url = settings.MEDIA_URL+image.image.name
return render_to_response('multiuploader/one_image.html', {"multi_single_url":url,})
after whem i add template tag in my tempalate
{% load multiuploader %}
{% multiupform %}
so it gives error
"TemplateSyntaxError at /en/product/add_product/
Invalid block tag: 'multiupform', expected 'elif', 'else' or 'endif'"
Anything is remain for configure your package so please let me know
Is it required to define model in my models.py or not?
I am not define any models in models.py
in doc i read that
Add a way to specify which model to use to store files.
so pls tell me where i specify that which model to use to store files.
Should i create my separate models or not
Please help
Thanks in Advance!!
The text was updated successfully, but these errors were encountered:
I suspect the problem is in your template somewhere.
try to remove your tag and place some dummy tag. E.g.
{# comment #} instead of {% multiupform %}
Instead. This will bring up your template error.
On Jun 24, 2015, at 8:17 AM, kartikdanidhariya [email protected] wrote:
hi ,
i am using your package for multiupload
i added url in url.py
added "multiuploader" in install app in setting.py
add view in my views.py
def multi_show_uploaded(request, key):
image = get_object_or_404(MultiuploaderImage, key_data=key)
url = settings.MEDIA_URL+image.image.name
return render_to_response('multiuploader/one_image.html', {"multi_single_url":url,})
after whem i add template tag in my tempalate
{% load multiuploader %}
{% multiupform %}
so it gives error
"TemplateSyntaxError at /en/product/add_product/
Invalid block tag: 'multiupform', expected 'elif', 'else' or 'endif'"
Anything is remain for configure your package so please let me know
Please help
Thanks in Advance!!
—
Reply to this email directly or view it on GitHub #18.
hi ,
i am using your package for multiupload
i added url in url.py
added "multiuploader" in install app in setting.py
add view in my views.py
def multi_show_uploaded(request, key):
image = get_object_or_404(MultiuploaderImage, key_data=key)
url = settings.MEDIA_URL+image.image.name
return render_to_response('multiuploader/one_image.html', {"multi_single_url":url,})
after whem i add template tag in my tempalate
{% load multiuploader %}
{% multiupform %}
so it gives error
"TemplateSyntaxError at /en/product/add_product/
Invalid block tag: 'multiupform', expected 'elif', 'else' or 'endif'"
Anything is remain for configure your package so please let me know
Is it required to define model in my models.py or not?
I am not define any models in models.py
in doc i read that
Add a way to specify which model to use to store files.
so pls tell me where i specify that which model to use to store files.
Should i create my separate models or not
Please help
Thanks in Advance!!
The text was updated successfully, but these errors were encountered: