Django - view on site - I don't get it

2011-03-15 Thread Tomas Cirip
I am trying to understand 'view on site' functionality. From what I read it is supposed to use model's get_absolute_url() to create 'view on site' link. However, when I look at Django-1.2.5/django/contrib/ admin/templates/admin/change_form.html code: {% trans "History" %} {% if has_absolute_ur

callback called twice for the same comment_will_be_posted signal

2009-11-30 Thread cirip
Hi, I am getting multiple signals (2) called for each comment that is submitted. The same for comment_will_be_posted. Code: def comment_wbp(sender, comment, request, **kwargs): logging.debug("comment_will_be_posted called") from django.contrib.comments.signals import comment_will_be_posted

Re: Django comments

2009-10-07 Thread cirip
constructs form taking this > parameter in account. If it's not sufficient, write your versions of > necessery template tags (or just don't use them, theay are not > required forcommentsapp to work). > > On 6 окт, 00:38, cirip wrote: > > > Mike, > > > Thank

Re: Django comments

2009-10-05 Thread cirip
.com/en/dev/ref/contrib/comments/custom/#ref... > > On 3 окт, 01:46, cirip wrote: > > > Hi, > > > I am just reading aboutdjangocommentsframework that I planned to > > use. > > > As I learned so far you have to have object to whichcommentsbelong > > in th

Django comments

2009-10-02 Thread cirip
Hi, I am just reading about django comments framework that I planned to use. As I learned so far you have to have object to which comments belong in the database as well. Let's say I just want to have comments related to some paragraph on my page without having to create record for each paragrap