Hello everybody,

Could anyone help me a little bit with video in django? here goes: i
have a site where i publish news items. in some news items i would like
to have a video. i receive an URL of this video (it's located somewhere
else) and i have to integrate it into news item. my idea is this: i
have to make an URLField field in class news (so that i can insert URL
through admin interface). i think that's kind of ok to do (if somebody
has better idea, please tell me). but then i'm not sure what to do. i
need to insert html code into template file for this news items, but
not every news item has the video. what to do in those cases? i
probably have to do something like "if there is a video, insert html
code for it" - but how do i do that in a template?

I would really appreciate any suggestions and ideas. i know my english
is bad and i'm sorry for that - i hope you understand what i'm asking.
i have this ideas, but i'm not sure they're right so i thought i'll ask
here.

thanks in advance, martin


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to