Changeset 6187


Ignore:
Timestamp:
Aug 12, 2008, 10:33:45 PM (16 years ago)
Author:
roland
Message:

fixed a template path bug

Location:
exodus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • exodus/urls.py

    r6186 r6187  
    1515        (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}) ,
    1616        (r'^nodelist/$', 'django.views.generic.list_detail.object_list', dict(node_dict, template_name='node-list.html')),
    17         (r'^(?P<object_id>\d+)/node/$', 'django.views.generic.list_detail.object_detail', node_dict),
     17        (r'^(?P<object_id>\d+)/node/$', 'django.views.generic.list_detail.object_detail', dict(node_dict,template_name='node-detail.html')),
    1818
    1919        # config urls
  • exodus/views.py

    r6183 r6187  
    198198        object.host = gethostname()
    199199
    200         t = loader.get_template('exodus/rc-node-local.txt')
     200        t = loader.get_template('rc-node-local.txt')
    201201        c = Context({'object': object, })
    202202
Note: See TracChangeset for help on using the changeset viewer.