Hello,

I can serve my static files no problem,
in apache I did <LocationMatch "\.(jpg|gif|png|txt|ico|pdf)$">
SetHandler None</LocationMatch> and an Alias /media
/homedir/djangostuff/myapp/media.

The trick comes in the process or flow of adding files/images into a
body of text.

I'm adding content to the db through the admin and using markdown in
the content for rendering html ... works great.  Now I'd like to add
images to the post , embed them inline:

in markdown that's ![alt text][/my/path/image.jpg "title"]

The admin does not show the full path of the uploaded file, so the end
user would need to fiddle with the path ... trying to smoothen this
process so the url that is displayed in admin is the full path or at
least a path that works.  Or god forbid drag and drop! ;)

I got some hints that the best way to do that would be to use a custom
admin template. admin/myapp/mymodel/change_form.html.

Any more help? Thanks.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to