[Answered ]-Django template blocks not showing?

2๐Ÿ‘

โœ…

I just copied & pasted this code into a new project and it is working for me. What does your urls.py look like? Is it possible you are sending your dash url to the index view? Here is the quick urls.py that I wrote to get this up and running:

from django.conf.urls.defaults import *
import views

urlpatterns = patterns('',
    (r'^index/', views.index),
    (r'^dash/', views.dash),
)

When you view dash.html in your browser (through whatever URL you want to be tied to the dash view), how do you know that it is extending base.html if you do not see any of code that is specific to dash.html?

๐Ÿ‘คsandinmyjoints

Leave a comment