Re: Generiview that show mutiple class model

2011-05-04 Thread Pascal Moutia
Ok thank you for your solutions :) Le 4 mai 2011 à 15:09, Xavier Ordoquy a écrit : > > Le 4 mai 2011 à 14:56, Pascal Moutia a écrit : > >> First tank you Xavier for you respond let me get you more precisions: >> this is my app models.py (normaly the models.py have more cl

Re: Generiview that show mutiple class model

2011-05-04 Thread Pascal Moutia
model = Info, template_name = 'Cv/cv_detail.html')), So i need to show all classes from my models.py in detailview on one template what could be the query set? thank you. On May 4, 2011, at 2:45 PM, Xavier Ordoquy wrote: > > Le 4 mai 2011 à 14:38, Pascal

Generiview that show mutiple class model

2011-05-04 Thread Pascal Moutia
Hi, I've been having a problem i'd like to show mutiple class from a model in a generic view but I can't find a way to it, Can some one tel me do I have to write my own view or is there any generic view that can do this ? Thank you ! :D -- You received this message because you are subscribe

CSS linking error

2011-05-03 Thread Pascal Moutia
Hi there Django-users I'm suppose to link CSS to my base.html but i can't get it worked :s there is my url line: if settings.DEBUG: urlpatterns += patterns('', url(r'^static/(?P.*)$', 'django.views.static.serve', {'document_root': settings.PROJECT_PATH+'/static/', 'show_indexes': T

weird error on admin index

2011-04-27 Thread Pascal Moutia
Hi django users I'm trying to start my admin section of my django site but i always got an error apparently with the admin template, but i never touched it, there is the error: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'ListView' object has no attribute 'rindex'