Re: generic views + new admin templates

2005-11-27 Thread stava
I just don't get it (newbie:). Isn't there a way of using generic views together with the recently separated admin templates? In order to learn/understand: I'm taking a small part of my model, the Country() class with two fields (country_code and country_name); I copy the appropriate templates (ch

Re: generic views + new admin templates

2005-11-27 Thread Robert Wittams
stava wrote: > I'm trying to use generic views together with the newly separated admin > templates, but it's failing miserably. > > I specify the generic view I want to use in url.py: > countries = { > 'app_label': 'ttime', > 'module_name': 'countries', > } > urlpatterns = patterns('', > (r

generic views + new admin templates

2005-11-27 Thread stava
I'm trying to use generic views together with the newly separated admin templates, but it's failing miserably. I specify the generic view I want to use in url.py: countries = { 'app_label': 'ttime', 'module_name': 'countries', } urlpatterns = patterns('', (r'^countries/$', 'django.views