You might be able to fix that by using myapp/BaseOrAnotherTemplate. I
managed to get that part working! Also, if you have a setup like
/templates/myapp/ this is why it maybe can't find the file.

My urls.py file is:

from django.conf.urls.defaults import *

urlpatterns = patterns('ourproject.leaguemanager.views',
    (r'^admin/', include('django.contrib.admin.urls.admin')),
    (r'^$', 'index'),

(r'^results/(?P<league_id>\d+)/(?P<season_id>\d+)/(?P<division_id>\d+)/$',
'results'), #by league, season, division
    (r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': "J:/University of
Leeds/se12/project/ourproject/media", 'show_indexes': True}),
)

I've decoupled the URLs as mentioned in the documentation. But, is that
pattern being appended to django.views.static.serve also?

m


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