merged, fixed image in template
This commit is contained in:
parent
2917178fcf
commit
00d51e0d78
|
@ -1 +1,6 @@
|
|||
# Create your views here.
|
||||
from django.shortcuts import render_to_response
|
||||
|
||||
def index(request):
|
||||
return render_to_response("index.html", {})
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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")}),
|
||||
#
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user