{GSoC 2008} Django-Newcomments

2008-07-06 Thread Thejaswi Puthraya
Hello all, Midterm evaluation is soon approaching and here is my last update before it. Here is what I have been able to accomplish so far: * Threaded-comment support without too much of modification to Jacob's initial code * Transition to newforms-admin * Demos and ability to have custom commen

{GSoC 2008} Django-Newcomments Suggestions Solicited

2008-06-30 Thread Thejaswi Puthraya
Hello folks, It's been a very long time since I posted an update because I have relocated to another city and don't have an internet connection but work has been going on. After a reply [1] from my previous update mail I decided to check out the method suggested. Another reason for pursuing the m

Re: {GSoC 2008}Django-Newcomments : A preview

2008-06-03 Thread Zhiwu Xie
I wonder if it would be a good idea to put the comment config (e.g., threaded or not, maximum length, pre-/post-moderation, etc) into a separate model, then let all models needing a comment have a foreign key to the comment config model. Zhiwu Thejaswi Puthraya wrote: > Hello folks, > My ex

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-28 Thread Zhiwu Xie
Thanks a lot for the good work. A newbie here, and have a question on the comment model. Isn't it cleaner to look at the threaded comments in another way, e.g., if comment B is a reply to comment A, then the content_object of B is simply A instead of the original content object a comment is at

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-25 Thread Thejaswi Puthraya
On May 23, 7:08 am, arthur debert <[EMAIL PROTECTED]> wrote: > Hi Thejaswi. > > A couple of suggestions: > > Any reasons for having CommentFlag.flag being a string, and not a > foreign key to a FlagType model ? Having them as strings makes it > easier to end up with bad data (misspelling and so fo

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-25 Thread Thejaswi Puthraya
On May 23, 5:00 pm, akaihola <[EMAIL PROTECTED]> wrote: > So it would be great to have the flexibility to make both approaches > possible. Now it is possible to do both. -- Cheers Thejaswi Puthraya http://thejaswi.info/ --~--~-~--~~~---~--~~ You received this mes

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-25 Thread Thejaswi Puthraya
Sorry for getting back to you so late. Was unwell. On May 22, 8:47 pm, "Nicolas Lara" <[EMAIL PROTECTED]> wrote: > Hello, > I was checking out the project.. So far it looks very good =) > > A question though: > I noticed the comments retreived by {% get_comment_list ... %} are > ordered by pk. Is

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-23 Thread akaihola
On 22 touko, 18:47, "Nicolas Lara" <[EMAIL PROTECTED]> wrote: > objet it refers since I dont see any case in which it would make sense > to have the replies away from the objects being replied upon. I've experimented with both approaches on a couple of websites, and the "correct" solution depends

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-22 Thread Will Hardy
> Any reasons for having CommentFlag.flag being a string, and not a > foreign key to a FlagType model ? Having them as strings makes it > easier to end up with bad data (misspelling and so forth). Of course > there is always the performance penalty, but it seems worth it. You can do both :-) Hav

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-22 Thread arthur debert
Hi Thejaswi. A couple of suggestions: Any reasons for having CommentFlag.flag being a string, and not a foreign key to a FlagType model ? Having them as strings makes it easier to end up with bad data (misspelling and so forth). Of course there is always the performance penalty, but it seems wor

Re: {GSoC 2008}Django-Newcomments : A preview

2008-05-22 Thread Nicolas Lara
Hello, I was checking out the project.. So far it looks very good =) A question though: I noticed the comments retreived by {% get_comment_list ... %} are ordered by pk. Is there any plan to include custom ordering? I believe the default ordering should include replies to old comments after the o

{GSoC 2008}Django-Newcomments : A preview

2008-05-22 Thread Thejaswi Puthraya
Hello folks, My exams got done in the first week of May. I was feeling quite bored and so started working on the project. I completed a few items from the Todo list but need to complete the documentation and write more tests. The code for my project is at http://code.google.com/p/django-newcomme