Hello everybody!!! How to upload only .rtf format in Django template? Is there any flag like: " accept = '.rtf'"

asked 15 Jul '13, 10:20

nurlan_turganaliev's gravatar image

nurlan_turga...
112
accept rate: 0%

edited 15 Jul '13, 10:22

are you thinking like template tag ?

(17 Jul '13, 05:54) DjangoForum ♦♦

What do you mean? Can you please be more specific.

link

answered 16 Jul '13, 14:10

cahitonur's gravatar image

cahitonur
1
accept rate: 0%

I want to filter the extensions, in other words I want to accept only .rtf fortmat to be uploaded, but not any other format. How can I do it with django templates?

link

answered 17 Jul '13, 23:19

nurlan_turganaliev's gravatar image

nurlan_turga...
112
accept rate: 0%

edited 17 Jul '13, 23:22

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: 15 Jul '13, 10:20

Seen: 525 times

Last updated: 17 Jul '13, 23:22

powered by OSQA