Re: Django comments app - adding each field of comments app to div classes

2014-11-21 Thread Collin Anderson
, Code wrote: > > Also, is there a better alternative to comments app? thanks > > On Friday, 21 November 2014 09:10:40 UTC+5:30, Code wrote: >> >> I am using django comments app and am using bootstrap template for UI. >> >> In bootstrap I have; >> >>

Re: Django comments app - adding each field of comments app to div classes

2014-11-20 Thread Code
Also, is there a better alternative to comments app? thanks On Friday, 21 November 2014 09:10:40 UTC+5:30, Code wrote: > > I am using django comments app and am using bootstrap template for UI. > > In bootstrap I have; > > > Name > value="" aria

Django comments app - adding each field of comments app to div classes

2014-11-20 Thread Code
I am using django comments app and am using bootstrap template for UI. In bootstrap I have; Name and other div classes to fill in mame , email, url and comments. Django comments app's {% get_comment_form for post as form %} allows manually render fields

Re: Django comments customization issue

2012-12-26 Thread sri
t;> >> Hi, I am trying to learn django comments customization by adding an >> integer field to the comments framework. My Model looks like below >> >> class CommentWithRating(Comment): rating = >> models.IntegerField(name='rating') >> >> And i

Re: Django comments customization issue

2012-12-26 Thread donarb
On Wednesday, December 26, 2012 11:43:47 AM UTC-8, sri wrote: > > Hi, I am trying to learn django comments customization by adding an > integer field to the comments framework. My Model looks like below > > class CommentWithRating(Comment): rating = > models.IntegerField(name=&

Django comments customization issue

2012-12-26 Thread sri
Hi, I am trying to learn django comments customization by adding an integer field to the comments framework. My Model looks like below class CommentWithRating(Comment): rating = models.IntegerField(name='rating') And i am trying to display the value in the rating field by using t

Django comments app customization

2012-12-21 Thread sri
Hi, I am trying to customise the comments app by adding a rating field using django-ratings and jquery-star. But when i try to post a comment, i am getting below error. Traceback: File "/Users/django*demo/godjango/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 1

Re: django comments with tinymce

2012-07-18 Thread Benas Girčys
I solved it. Problem was with AJAX :) On Tue, Jul 17, 2012 at 2:30 PM, Aljoša Mohorović < aljosa.mohoro...@gmail.com> wrote: > On Tue, Jul 17, 2012 at 10:47 AM, Benasg wrote: > > Hello, when I using django comments without tinymce it`s works perfect, > but > > when I ad

Re: django comments with tinymce

2012-07-17 Thread Aljoša Mohorović
On Tue, Jul 17, 2012 at 10:47 AM, Benasg wrote: > Hello, when I using django comments without tinymce it`s works perfect, but > when I add tiny I get error "This field is required". > Any suggestion? can you post models.py code before and after you added tinymce? Aljosa --

django comments with tinymce

2012-07-17 Thread Benasg
Hello, when I using django comments without tinymce it`s works perfect, but when I add tiny I get error "This field is required". Any suggestion? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on

Django comments flag "cancel" returns incorrect url

2012-07-09 Thread DF
I've set up django's built in comments in my application and I'm employing the flagging ability. The flagging works fine, but the 'cancel" link that appears on the template returns the following error when clicked: could not find http The template/form is as follows: {% extends "base.html" %}

edit form cannot be generated for django comments

2012-07-03 Thread Sachin Gupta
I wanted to have a functionality to be able to edit the comments posted using the comments app (not from the admin, from the site). As much as I know Django, to render an edit form we need to pass an instance of the object to the form which has to be edited like form = SomeForm(instance=some_ob

Re: Django Comments-Redirecting

2012-02-23 Thread Babatunde Akinyanmi
s.views.comments.comment_done by default > > redirects to the "Thanks for your comment" page. > > > > On 2/23/12, coded kid wrote: > > > > > > > > > > > > > > > > > Hi guys, how can I get rid of users being directed to the

Re: Django Comments-Redirecting

2012-02-23 Thread coded kid
gt; > > Hi guys, how can I get rid of users being directed to the “Thanks you > > for your comment” page after commenting  in Django site? I users to be > > redirected to the same page they commented.  I’m using Django > > comments. > > > I’ve tried adding: > &

Re: Django Comments-Redirecting

2012-02-23 Thread Babatunde Akinyanmi
your comment" page. On 2/23/12, coded kid wrote: > Hi guys, how can I get rid of users being directed to the “Thanks you > for your comment” page after commenting in Django site? I users to be > redirected to the same page they commented. I’m using Django &

Django Comments-Redirecting

2012-02-23 Thread coded kid
Hi guys, how can I get rid of users being directed to the “Thanks you for your comment” page after commenting in Django site? I users to be redirected to the same page they commented. I’m using Django comments. I’ve tried adding: But it’s not working. Below is codes in my comment/form.html

Re: Django Comments Form not Displaying

2012-02-12 Thread coded kid
Thanks guys. @matias I tried your solution, and the post button appeared. After clicking on it, I get 'COMMENT POST NOT ALLOWED (404)' Please whats wrong? On Feb 12, 4:37 pm, Matías Aguirre wrote: > Excerpts from Michael P. Soulier's message of 2012-02-12 14:16:26 -0200: > > > > > > > On 12/02/

Re: Django Comments Form not Displaying

2012-02-12 Thread Matías Aguirre
Excerpts from Michael P. Soulier's message of 2012-02-12 14:16:26 -0200: > On 12/02/12 coded kid said: > > > Below is the codes in my comments/form.html > > {% load comments i18n %} > > {% csrf_token > > %} > > {% if next %} > value="{{ next }}" />{% endif %} > > {% for field in form %} > >

Re: Django Comments Form not Displaying

2012-02-12 Thread Michael P. Soulier
On 12/02/12 coded kid said: > Below is the codes in my comments/form.html > {% load comments i18n %} > {% csrf_token > %} > {% if next %} value="{{ next }}" />{% endif %} > {% for field in form %} > {% if field.is_hidden %} > {{ field }} > {% else %} > {% if field.errors %}

Django Comments Form not Displaying

2012-02-12 Thread coded kid
Hi guys, please help me out with django-comments form. I added : 'django.contrib.comments', to INSTALLED APPS (r'^comments/', include('django.contrib.comments.urls')), to urls.py and I copied the default templates from django.contrib.comments.templates.comments

Re: Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Swaroop Shankar V
Thanks Anoop for those links, but it is not exactly what I require and also the overhead of xmpp server is also there. Well all i require is to know is how i can create an entry in the tables created by the commenting framework through an API if available. Thanks and Regards, Swaroop Shankar V

Re: Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Anoop Thomas Mathew
Hi, Try this https://github.com/agiliq/django-pubsub/ You can get a live demo here http://chat.agiliq.com/pubsub/. See if this suits your purpose. Thanks, Anoop Thomas Mathew atm ___ Life is short, Live it hard. On 7 January 2012 19:34, Swaroop Shankar V wrote: > hello All, > Am trying to bu

Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Swaroop Shankar V
hello All, Am trying to build somewhat like an activity stream for my web application. Since its not exactly similar to the normal activity streams found in facebook I am not able to use any of the existing django activity stream projects like django-activity-stream in my application. So I am build

Re: Filtering html for django comments

2011-10-07 Thread Alasdair Nicol
To protect against injection, you *do* want to want to use the safe argument. If you don't use the safe parameter, then the markdown filter will not escape any html in the input. http://freewisdom.org/projects/python-markdown/Django If you're not convinced, try including the following {{ tex

Re: Filtering html for django comments

2011-10-07 Thread Tom Evans
On Fri, Oct 7, 2011 at 3:04 PM, arkai...@gmail.com wrote: > Hi, > I am aware that Markdown is a formatting language like textile or any other. > It is just that i've seen other projects using {{var|markdown:"safe"}} to > protect against injected html and I don't know if that is the same, better >

Re: Filtering html for django comments

2011-10-07 Thread arkai...@gmail.com
Hi, I am aware that Markdown is a formatting language like textile or any other. It is just that i've seen other projects using {{var|markdown:"safe"}} to protect against injected html and I don't know if that is the same, better or worse that just {{var}} without disabling autoescape. Thanks --

Re: Filtering html for django comments

2011-10-07 Thread Tom Evans
On Fri, Oct 7, 2011 at 9:00 AM, arkai...@gmail.com wrote: > Hi all, > I'm working on a comments addon for my app and I'm checking the alternatives > for urlizing and securing what users write in comments. > I thought that just using Djangos default autoescape( not doing anything) > plus the |urliz

Filtering html for django comments

2011-10-07 Thread arkai...@gmail.com
Hi all, I'm working on a comments addon for my app and I'm checking the alternatives for urlizing and securing what users write in comments. I thought that just using Djangos default autoescape( not doing anything) plus the |urlize filter like " {{comment|urlize}}" would be enough, but I've seen ex

django comments: CSRF failure (randomly)

2011-09-07 Thread Alessandro Pasotti
Hi, this issue is driving me mad, I'm using Django 1.2 with the 'django.contrib.comments' applications, randomly I get 'CSRF token missing or incorrect' 'request_csrf_token': u'c22473c9626677f09a64c751df4bfa8a', 'META': {'HTTP_COOKIE': 'csrftoken=c04574f981417a4667db264bb527239d; there is a m

django comments application Caught No Reverse Mismatch while rendering

2011-06-19 Thread Pulkit Mehrotra
{% load comments i18n %} 2 {% csrf_token %} 3 {% if next %}{% endif %} 4 {% for field in form %} 5 {% if field.is_hidden %} 6 {{ field }} 7 {% else %} 8 {% if field.errors %}{{ field.errors }}{% endif %} 9 12 {{ field.label_tag }} {{ field }} Whenever i use comment_form_target i am getting

Re: How to disable security hash in django comments

2011-06-06 Thread Ján Vorčák
:35 PM, Ján Vorčák wrote: > > > Hi, > > > I'd like to ask you about one problem. > > I need to remove security hash django comments module. I need to allow > > posting to my app from external application just by posting the post > > request. >

Re: How to disable security hash in django comments

2011-06-06 Thread Ivo Brodien
search for csfr excempt decorator. On Jun 6, 2011, at 4:35 PM, Ján Vorčák wrote: > Hi, > > I'd like to ask you about one problem. > I need to remove security hash django comments module. I need to allow > posting to my app from external application just by posting the post

How to disable security hash in django comments

2011-06-06 Thread Ján Vorčák
Hi, I'd like to ask you about one problem. I need to remove security hash django comments module. I need to allow posting to my app from external application just by posting the post request. How can I do that? Is there any way to disable this "security hash" protection? Tha

Django comments posted template and ajax calls

2010-12-24 Thread Michel Thadeu Sabchuk
Hi guys, First of all, merry christmas for all of you ;) I using an ajax approach to show the comments form. I need to mix this approach with a common approach, this is not a problem for the preview page because I can create app specific templates (i.e. "comments/app/ preview.html" instead of "co

Django comments moderation stopped working

2010-12-15 Thread Groady
Just wondering if anyone else is having problems with the Django Comments Framework, specifically with the moderation functionality stopping working. Recently the moderation functionality has stopped working and all comments are getting through without first being approved. I'm not 100% sure

Re: Pre-filled user info in Django Comments?

2010-12-10 Thread Andre Terra
>From my experience, adapting to http://code.google.com/p/django-threadedcomments/ pays off. You said "the site I'm *building*", and we all know it's definitely easier to explore other possibilities early on. Best regards, Andre Terra (airstrike) On Fri, Dec 10, 2010 at 14:12, Jeff wrote: > M

Re: Pre-filled user info in Django Comments?

2010-12-10 Thread Jeff
My site takes the route of hiding name, email, and URL fields for authenticated users. You can safely serve up a form without the name field for authenticated users since the comments framework will just copy over either the user's full name if it's set or their username if it isn't for the commen

Pre-filled user info in Django Comments?

2010-12-09 Thread Paolo
Hi, The site I'm building uses the standard user management framework and the standard comments framework. What I'd like to see happen is the comments form rendered with the user's name and email address pre-filled if they are already signed in (or have the fields hidden entirely!). Easy enough?

Re: help with django comments

2010-11-07 Thread Bobby Roberts
here's my complete code: {%if allowcomments%} {% get_comment_count for galleryview.GalleryPhoto picid as comment_count %} {%ifequal comment_count 0%} Be the first to comment.

Re: help with django comments

2010-11-07 Thread Chris Lawlor
Assuming your app is named 'gallery' with a model named 'photo', I believe the call should be: {% get_comment_count for gallery.photo as comment_count %} On Nov 6, 5:12 pm, Bobby Roberts wrote: > howdy - > > i'm trying to use comments on my site as follows: > > {% get_comment_count for gallery

help with django comments

2010-11-06 Thread Bobby Roberts
howdy - i'm trying to use comments on my site as follows: {% get_comment_count for galleryphoto as comment_count %} this generates the following error: Caught AttributeError while rendering: 'str' object has no attribute '_meta' any idea what this error means? I looked in /admin and under co

Re: Removing the 'site' (not the website/url) field from django-comments

2010-09-28 Thread EJ
and TEMPLATE_DIRS pointed to different top > level templates.  In that way I have different sites, but still referring > to the same database tables, and crucially the same SITE_ID, so you > wouldn't have the problem with django-comments. > > Would that work for you? > > Tim. --

Re: Removing the 'site' (not the website/url) field from django-comments

2010-09-28 Thread Tim Sawyer
erent URLs, and TEMPLATE_DIRS pointed to different top level templates. In that way I have different sites, but still referring to the same database tables, and crucially the same SITE_ID, so you wouldn't have the problem with django-comments. Would that work for you? Tim. -- You receiv

Removing the 'site' (not the website/url) field from django-comments

2010-09-27 Thread EJ
Hi all, I'm trying to have comments on my sites shown on all other sites, as I have a 'mobile' skin for my site on a separate domain and site_id. So for example: Joe posts a comment on http://www.site1.mydomain.com Mary goes to http://www.mobilesite.mydomain.com and can see and respond to Joe's

Re: django comments problem

2010-08-06 Thread ignacio.arriaga
Hello, I have solved this issue. I to put the RequestContext in the render_to_response call. Thank you all. Greetings On 6 ago, 10:34, "ignacio.arriaga" wrote: > I have been checking the template that generates the form, and the > csrf_token is included on it, but when the page is renderized t

Re: django comments problem

2010-08-06 Thread ignacio.arriaga
I have been checking the template that generates the form, and the csrf_token is included on it, but when the page is renderized to html the token does not appear. Also I have tried to do this: {% load comments %} {% get_comment_form for project as cform %} {% csrf_token %} {{ cform.as_p }}

Re: django comments problem

2010-08-06 Thread Reinout van Rees
On 08/06/2010 01:15 AM, ignacio.arriaga wrote: Hello, I have a problem with django.contrib comments application. I have installed the applicacion and made the synchronization with the database. I create a comment form in this way: {% render_comment_form for project %} When I push either previ

django comments problem

2010-08-05 Thread ignacio.arriaga
Hello, I have a problem with django.contrib comments application. I have installed the applicacion and made the synchronization with the database. I create a comment form in this way: {% render_comment_form for project %} When I push either preview or submit I get a 403 error related with csrf

Django comments & recaptcha

2010-04-03 Thread Bjorn Meyer
Hi folks, I am trying to add recaptcha to my comments section. I am currently trying to use MyRecaptcha, but I seem to be missing something to get it going. I think it is the configuration in the URLs file. I am using Django 1.1.1. If anyone has any ideas on how to get this going or if there i

Re: Django comments application. How to make comments private by default?

2010-04-03 Thread Oleg Oltar
Yes, definitely. But I can't make it work: e.g. in my admin file class ArticleCommentModerator(CommentModerator): enable_field = 'enable_comments' auto_moderate_field='date_published' moderate_after=1 moderator.register(BaseArticle, ArticleCommentModerator) model class BaseArticle(m

Re: Django comments application. How to make comments private by default?

2010-04-02 Thread Rolando Espinoza La Fuente
On Fri, Apr 2, 2010 at 12:52 PM, Oleg Oltar wrote: > Someone is posting many bad comments to my site. Is there possibility to > make all submitted comments private by default (so I will need to review > them to enable)? Looking for comment moderation? http://docs.djangoproject.com/en/dev/ref/cont

Django comments application. How to make comments private by default?

2010-04-02 Thread Oleg Oltar
Someone is posting many bad comments to my site. Is there possibility to make all submitted comments private by default (so I will need to review them to enable)? (I am using http://docs.djangoproject.com/en/dev/ref/contrib/comments/) -- You received this message because you are subscribed to th

Django comments moderation.py not rendering context

2010-02-24 Thread Igor Ganapolsky
I am utilizing django.contrib.comments to create an email message for each comment posted on my site. In moderation.py there is a method - def email(self, comment, content_object, request): """ Send email notification of a new comment to site staff when email notifications

Re: Django comments

2009-10-07 Thread cirip
Mike, I find it very limiting that by default comments can be made on database objects only. Another limitation that I hit is that I can't comment on comment. It is failing at least for me. I will probably implement whole comments myself. Thanks again, Tomas On Oct 6, 5:43 pm, kmike wrote: >

Re: Django comments

2009-10-06 Thread kmike
It seems that django's comments system isn't exactly what your want. It is quity easy to write your specialised comments app, one solution is to just write your own. Second solution solution is: 1. Attach comments to your page model, not paragraph. 2. Add paragraph_id field to comment model. 3.

Re: Django comments

2009-10-05 Thread cirip
Mike, Thanks. Well I understand that I can add extra field. That's not my problem. My problem is that I want to be able to add comment without having to create an instance of the object that comments refers to. For example for render the form I shall use: {% get_comment_count for config.commentt

Re: Django comments

2009-10-03 Thread kmike
If you want additional field (paragraph_id) in Comment model you can create your own model as decribed here: http://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/#ref-contrib-comments-custom On 3 окт, 01:46, cirip wrote: > Hi, > > I am just reading about django comments

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

Django Comments

2009-09-06 Thread Jason
Well, thanks to a old post on DjangoBot, I've got the new Django Comments framework installed w/o breaking my urls.py (had to go into django.contrib.comments & delete the "url" directory-- was that mentioned in any of the "migrating to 1.0" docs?) Now I'd like

hacking django-comments timestamp input - 400 error

2009-08-31 Thread Joseph Brown
Hello, A user on my site recently complained to me about getting a 405 error after slavishly writing a 15 minute comment - losing all they had written! I looked into the server logs and saw a 400 followed by a 405 error, and I'm guessing it was the timestamp input: "The timestamp is used to ensu

Re: Adding ManyToMany field to django comments

2009-08-25 Thread grahamu
The solution I eventually used is to require that the reviewer queryset be stored in a session variable. Since this queryset is required in the template context in order for the templatetags to work, saving the value in a session variable isn't much to ask. Please let me know if you think this so

Adding ManyToMany field to django comments

2009-08-19 Thread grahamu
In general, I'm wondering how to retrieve a Queryset provided to a Form (choices for a ManyToMany field) from within a view that only accepts POST data from that form. This isn't really a question about extending django.contrib.comments, but that framework provides a good point of reference for th

Re: Django comments honeypot hide

2009-08-10 Thread Adam Playford
y of the item.) Adam On Aug 10, 10:31 am, Alessandro Ronchi wrote: > I need to hide the django-comments honeypot in my comment form, but It's > visible to the user. > > Is there a way to do that in an easy way? > > -- > Alessandro Ronchi > > SOASI

Re: Django comments honeypot hide

2009-08-10 Thread Luke Seelenbinder
/o4jNup6x9CJ4o7yrVfUm/J6pD =kMMm -END PGP SIGNATURE- On Mon, Aug 10, 2009 at 10:31 AM, Alessandro Ronchi wrote: > I need to hide the django-comments honeypot in my comment form, but It's > visible to the user. > > Is there a way to do that in an easy way? > > -- > A

Django comments honeypot hide

2009-08-10 Thread Alessandro Ronchi
I need to hide the django-comments honeypot in my comment form, but It's visible to the user. Is there a way to do that in an easy way? -- Alessandro Ronchi SOASI Sviluppo Software e Sistemi Open Source http://www.soasi.com --~--~-~--~~~---~--~~ You rec

Re: Can't get django comments to pick up alternate form

2009-01-24 Thread Theme Park Photo, LLC
> Do you have django.contrib.comments   > coming before your own app in INSTALLED_APPS, by any chance? Yes I did! Thanks for the hint. I put my own app first, and now it's finding it just fine! --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Can't get django comments to pick up alternate form

2009-01-24 Thread Eric Abrahamsen
On Jan 25, 2009, at 1:54 PM, Theme Park Photo, LLC wrote: > > Also from reading the source, I don't see any mechanism by which it > would pick up form.html from any other than the three directories > enumerated there. Am I really supposed to edit and setup.py install > the django framework to ch

Re: Can't get django comments to pick up alternate form

2009-01-24 Thread Theme Park Photo, LLC
Also from reading the source, I don't see any mechanism by which it would pick up form.html from any other than the three directories enumerated there. Am I really supposed to edit and setup.py install the django framework to change the comments template? On Jan 24, 5:13 pm, "Theme Park Photo, LL

Can't get django comments to pick up alternate form

2009-01-24 Thread Theme Park Photo, LLC
The documentation for render_comment_form hints that you can override the default template by putting comments/form.html with your own form in your templates directory. No matter what I do, it won't pick up my alternate form. Is there anyway to see the actual directories django is checking for t

Include user profile's thumbnail on django comments

2009-01-23 Thread Markos Gogoulos
Hi all, I have subclassed User in order to create my own Profile objects. User's can upload an image for their profile. The question is how I can include this on their comments? There is an interesting post on http://thejaswi.info/blog/2008/11/20/part-2-django-comments-authenticated-users/

Re: django comments preview posts instead

2009-01-20 Thread Malcolm Tredinnick
On Tue, 2009-01-20 at 20:08 -0800, meppum wrote: > I'm not sure if it's a bug, but I had to change the following line: > > value="Preview" /> > > to instead be: > > value="Preview" /> It looks like you're using Django 1.0.0. Strongly recommended to upgrade to version 1.0.2. The above change

Re: Django Comments framework

2008-12-28 Thread Sean
Hello, I removed the preview button as it did not preview, it posted. To redirect the "post" add the following line to the comment form: where <> is what page you want to view after posting. Sean On Dec 27, 4:30 pm, stereoit wrote: > Hi, > I tried to add comments > apphttp://docs.djangop

Django Comments framework

2008-12-27 Thread stereoit
Hi, I tried to add comments app http://docs.djangoproject.com/en/dev/ref/contrib/comments/, now few things works but Preview sometimes acts as Submit when there are no errors and I have no idea how to override Posted screen to include link (or just redirect) to original page. The documentation i

Akismet and Django Comments

2008-09-15 Thread James Matthews
http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/ -- http://www.goldwatches.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Django Comments Bug?

2008-09-15 Thread Jonathan Nelson
ead/thread/2012bd8d6c9f37e0/11f7945a22bd5e35?lnk=st&q=django++comments+problem#11f7945a22bd5e35 I couldn't find any .pyc files in my comments directory or subdirectories, so I had nothing to delete. I dropped and rebuilt the database, too. No changes in the error message. Any thoughts?

Re: what's wrong with my django comments?

2008-09-09 Thread Jarek Zgoda
Not necessarily. I had this problem after updating to new comments framework without removing stale .pyc files. After removing completely the directory /usr/lib/python2.5/site-packages/django/contrib/comments and installing Django back again, everything started working. Wiadomość napisana w

Re: what's wrong with my django comments?

2008-09-09 Thread begray
It looks like error occurs when django tries to find matching url for view: django.contrib.comments.views.comments.post_comment Likely there's something wrong in your urls.py, eg. you've got admin urls in old style. please read the following http://docs.djangoproject.com/en/dev/ref/contrib/admin/

Re: what's wrong with my django comments?

2008-09-04 Thread nonight
Oh, it's OK, I droped the database and rebuilt the database. On 9月4日, 下午1时26分, nonight <[EMAIL PROTECTED]> wrote: > no, the comments system is new ,not upgrading from the old style. > > On 9月4日, 上午10时18分, Joshua Jonah <[EMAIL PROTECTED]> wrote: > > > Did you upgrade the comments system from the

Re: what's wrong with my django comments?

2008-09-03 Thread nonight
no, the comments system is new ,not upgrading from the old style. On 9月4日, 上午10时18分, Joshua Jonah <[EMAIL PROTECTED]> wrote: > Did you upgrade the comments system from the old style? > > looks like a reverse issue. > > nonightwrote: > > I have add (r'^comments/', include('django.contrib.comments

Re: what's wrong with my django comments?

2008-09-03 Thread Joshua Jonah
Did you upgrade the comments system from the old style? looks like a reverse issue. nonight wrote: > I have add (r'^comments/', include('django.contrib.comments.urls')) in > the urls.py > > the codes in the template: > {% load comments %} > {% render_comment_form for user %} > > the error was :

Re: what's wrong with my django comments?

2008-09-03 Thread nonight
Yes, i have removed the pyc files from the the comments directory, but there is nothing diffrence. On 9月3日, 下午11时55分, Thejaswi Puthraya <[EMAIL PROTECTED]> wrote: > On Sep 3, 8:14 pm, nonight <[EMAIL PROTECTED]> wrote: > > > I have add (r'^comments/', include('django.contrib.comments.urls')) in >

Re: what's wrong with my django comments?

2008-09-03 Thread Thejaswi Puthraya
On Sep 3, 8:14 pm, nonight <[EMAIL PROTECTED]> wrote: > I have add (r'^comments/', include('django.contrib.comments.urls')) in > the urls.py > > the codes in the template: > {% load comments %} > {% render_comment_form for user %} > [snipped] > > I don't know how to do ,who can help me ? Did you

what's wrong with my django comments?

2008-09-03 Thread nonight
I have add (r'^comments/', include('django.contrib.comments.urls')) in the urls.py the codes in the template: {% load comments %} {% render_comment_form for user %} the error was : Caught an exception while rendering: No module named urls Original Traceback (most recent call last): File "/usr

Re: Django comments not showing

2008-06-16 Thread joshuajonah
{% extends "blog/index.html" %} {% load extra %} {% load comments %} {% block title %}{{ object.title|escape }}{% endblock %} {% block content %} {{ object.title }} {% if object.lead_image %}http://joshuajonah.com/ {{ object.lead_image }}" alt="{{ object.title }}" /> {% endif %}

Django comments not showing

2008-06-16 Thread joshuajonah
I have gone through the steps in: http://code.djangoproject.com/wiki/UsingFreeComment The post form is working as the comments are being added to the database. I forwards to the free_preview.html, and the preview looks fine, however, the comment_list in my template doesn't display anything. Th

nucular and django? comments?

2007-10-30 Thread Aaron Watters
Hi folks. I recently released a very lightweight fielded/full text search engine for Python called NUCULAR. details: http://nucular.sourceforge.net It should be brain-dead easy to use this with Django. I would be interested in any comments, ideas or suggestions about this package and whether i

Re: Django comments system and ajax

2006-10-11 Thread timc3
Great, thanks for the help. I was thinking that I would have to take the complete comments system but if I can just define my views then that is excellent. I think I can see how to make it degrade nicely so thats no problem. Thanks again for the help. --~--~-~--~~~

Re: Django comments system and ajax

2006-10-10 Thread Tim Chase
>> Can I specify a custom view without having to edit the >> django framework, or am I going to have to do this? > > I really like the idea of layering any ajaxy behavior on > simple XHTML. There is some name for this, "graceful > degradation" or something (which, in one sense, is a great > oxy

Re: Django comments system and ajax

2006-10-10 Thread David S .
timc3 timc3.com> writes: > Can I specify a custom view without having > to edit the django framework, or am I going to have to do this? I really like the idea of layering any ajaxy behavior on simple XHTML. There is some name for this, "graceful degradation" or something (which, in one sense,

Re: Django comments system and ajax

2006-10-10 Thread Malcolm Tredinnick
On Tue, 2006-10-10 at 05:28 -0700, timc3 wrote: > So I am building my App and I have got the comments system working as I > want for the first round but I would like to utilise ajax to be able to > post and update in the page, rather than new pages all the time. > > I have read though some excell

Re: Django comments system and ajax

2006-10-10 Thread coulix
look here http://code.djangoproject.com/wiki/AjaxDjangoDojoForm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe

Django comments system and ajax

2006-10-10 Thread timc3
So I am building my App and I have got the comments system working as I want for the first round but I would like to utilise ajax to be able to post and update in the page, rather than new pages all the time. I have read though some excellent posts on ajax and django, and understand what is requi