[code] #staff/views.py from django.shortcuts import render_to_response from django.template import RequestContext from staff.models import Staff
def index(request): return render_to_response('staff/index.html') ***** Index.html in folder templates/staff <img src="auto.jpg" /> ***** auto.jpg in folder img My site is: store img auto.jpg staff views.py templates staff index.html image is not showing. This needs to work in development and production On Friday, January 11, 2013 3:20:40 PM UTC-5, frocco wrote: > > Hello, > > I am a newbie and cannot figure out how to do a simple image display that > I currently do in PHP. > I want to display a logo on my home page. > > I tried google, but am having no luck. > > Thanks > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_yjULDxZe2YJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.