Re: url capture + query set and generic views

2008-09-23 Thread aleray
somehow On Sep 24, 1:51 am, aleray <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying capture urls patterns with generic views, something like > this: > > info_dict = { >     'queryset': > New.objects.filter(category__slug=cat_slug).exclude(is_active=False).order_by('pu

url capture + query set and generic views

2008-09-23 Thread aleray
Hi, I'm trying capture urls patterns with generic views, something like this: info_dict = { 'queryset': New.objects.filter(category__slug=cat_slug).exclude(is_active=False).order_by('pub_date'), 'template_name': 'news.html', 'paginate_by': 1, } urlpatterns +=

docutils extra

2008-09-22 Thread aleray
Hey, I installed docutils svn version and I couldn't get the documention working (was in the python path) until I found I needed to register in my pythonpath the "extra" directory in the docutils package. Docutils team apparently moved in that directory some libraries needed for django

url templatetag error

2008-09-10 Thread aleray
Hi, I'm baking a small kind of blog, and I'm trying now to generate a menu for the catgories. I'm using the same view for the main page, and the category pages : (r'^news/$', 'news', {}, 'news-all'), (r'^news/category/(?P\w+)/$', 'news', {}, 'news-cat'), If I enter the url its works

Re: unregister in old versions of django

2008-08-24 Thread aleray
24, 2008 at 6:40 AM, aleray <[EMAIL PROTECTED]> wrote: > > Thanks for the tip, I often forgot the existence of python doc! > > However the thing is in the version of django I'm using there is not > > admin.site, so no API to unregister. Like I said, the models are > > regi

Re: unregister in old versions of django

2008-08-24 Thread aleray
Thanks for the tip, I often forgot the existence of python doc! However the thing is in the version of django I'm using there is not admin.site, so no API to unregister. Like I said, the models are registered with the old fashioned class admin. Then I thought I could override that class Admin to

Re: unregister in old versions of django

2008-08-24 Thread aleray
Really no idea ? On Aug 22, 11:01 pm, aleray <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working with django revision 7513 and satchmo 0.7 because I heard > they were doing nice job together. Howerver I would like to unregister > some models in the admin interface, but I

unregister in old versions of django

2008-08-22 Thread aleray
Hi, I'm working with django revision 7513 and satchmo 0.7 because I heard they were doing nice job together. Howerver I would like to unregister some models in the admin interface, but I can't (and don't want to) touch to satchmo code. In satchmo 0.7.0, the models are registered with the admin

djangobook embed comments

2008-08-21 Thread aleray
Hi, I'm looking for the source code used for the the djangobook, using embed comments (the possibility of commenting each paragraph), or I'm looking for clues for how to do this. Best ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Inline Comments / Django Book

2008-07-25 Thread aleray
Hi, I'm looking for something similar to the inline comment system used in the Django book. Does anybody know if the code is available somewhere? I also would like to make a change: instead of parsing automatically the text, I would like to add where the comments go by myself. How could I do