, 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;
>>
>>
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
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
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
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=&
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
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
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
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
--
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
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" %}
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
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
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:
>
&
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
&
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
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/
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 %}
> >
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 %}
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
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
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
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
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
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
>
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
--
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
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
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
{% 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
: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.
>
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
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
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
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
>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
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
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?
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.
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
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
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.
--
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
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
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
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 }}
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
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
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
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
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
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
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
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:
>
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.
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
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
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
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
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
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
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
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
/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
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
> 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
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
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
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
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/
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
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
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
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
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?
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
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/
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
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
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 :
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
>
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
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
{% 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 %}
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
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
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.
--~--~-~--~~~
>> 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
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,
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
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
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
92 matches
Mail list logo