merged, fixed image in template

This commit is contained in:
Sanj 2011-12-29 19:14:29 +05:30
parent 2917178fcf
commit 00d51e0d78
3 changed files with 17 additions and 2 deletions

View File

@ -1 +1,6 @@
# Create your views here.
from django.shortcuts import render_to_response
def index(request):
return render_to_response("index.html", {})

View File

@ -12,7 +12,7 @@
<font color="white">
<center>
<div>
<img src="logo.png">
<img src="/static/images/logo.png">
</div>
<div>
<h3>Free and simple tools to find bus routes in Mumbai, coming soon to your phone.</h3>

View File

@ -1,5 +1,6 @@
from django.conf.urls.defaults import *
import settings
from os.path import join
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
@ -15,3 +16,12 @@ urlpatterns = patterns('',
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
if settings.LOCAL_DEVELOPMENT:
#
urlpatterns += patterns('',
#
(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': join(settings.PROJECT_ROOT, "static")}),
#
)