[mezzanine-users] Use case for setting cookies for comment and rating.

2016-02-13 Thread sonu kumar
Why we need to set cookies for comment and rating? Like standard platform Facebook, Quora etc they don't set cookie for these things. Even though if we set then what's the benefit of this? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To

[mezzanine-users] Re: How to remove current rating from all blog post?

2016-02-13 Thread sonu kumar
In blog_details template just comment line number 83 - 89 using django comment t

[mezzanine-users] Maintain page view count like SO/google groups.

2016-02-07 Thread sonu kumar
Is there any app exists to track number of page views like SO/Quora/Google groups etc. It should be spam free i.e. when user refreshes webpage then count should not be changed. I tried by adding a integer field in model but it doesn't work as expected see here www.job360.io/question-answer/cse

[mezzanine-users] Change base 36 to base 64 on accounts module (signup, reset, verify) ?

2016-01-26 Thread sonu kumar
valid. Regards Sonu Kumar -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more optio

[mezzanine-users] AttributeError at /admin/generic/threadedcomment/ and save button is missing for model action.

2016-01-12 Thread sonu kumar
Threaded comment is failing in admin panel when it's try to load. It fails in one of template tags, it fails In template grappelli_safe/templates/admin/change_list.html, error at line *10 * which is {% result_list cl %} error is *'NoneType' object has no attribute '_base_manager'.* Django==

[mezzanine-users] AttributeError at /admin/generic/threadedcomment/

2016-01-12 Thread sonu kumar
Threaded comment is failing in admin panel when it's try to load. It fails in one of template tags Here it fails In template grappelli_safe/templates/admin/change_list.html, error at line *10 * which is {% result_list cl %} error is 'NoneType' object has no attribute '_base_manager'. on dja

Re: [mezzanine-users] Is there any setting for only HTML email.

2016-01-07 Thread sonu kumar
original" from the reply drop-down), and they both send text and HTML > together in one email, just like Mezzanine does. > > On Thu, Jan 7, 2016 at 5:50 PM, sonu kumar wrote: > >> If we look at emails(notifications) coming from sites like facebook, >> google-plus, google,

Re: [mezzanine-users] Is there any setting for only HTML email.

2016-01-06 Thread sonu kumar
> > No there isn't. > > If you did that, any person who would have received the text version would > then receive a HTML version full of unrendered HTML code visible as pain > text, which probably isn't what you want. > > On Wed, Jan 6, 2016 at 6:59 PM, sonu kuma

[mezzanine-users] Is there any setting for only HTML email.

2016-01-05 Thread sonu kumar
I would like to send notification for account creation and verification etc. But built in method sends email with text as well as html which uses *send_mail_template* function to send email(s). Is there any simple method to send only html email like by changing some setting or function call.

[mezzanine-users] Blog archive month filter not working.

2016-01-05 Thread sonu kumar
In blog archive it shows 18 posts but when I clicked on archived link then it display zero blog posts. I check in the blog view code it looks that when month filter is applied then it returns empty list URL for archive http://127.0.0.1:8000/blog/archive/2015/11/ -- You received this message

[mezzanine-users] Why slug regex use by Mezzanine is .* ?

2015-12-12 Thread sonu kumar
I have found every slug in Mezzanine uses * .**. Just curious why we have this instead of that we could have *[-a-zA-Z0-9]+ or [-\w]+* which will match all required slugs as per my knowledge. .* leads a problem as* /users/(?P.*)/ *this will pass URLs like* users/Alice/hack. *This can be used

Re: [mezzanine-users] Re: Change comments count on deletion of comment(s) ?

2015-11-09 Thread sonu kumar
Finally it works, I had to use comment=ThreadedComment(pk=pk) comment.delete() On Saturday, November 7, 2015 at 2:15:34 AM UTC+5:30, sonu kumar wrote: > > I can't get it working. currently I am using following snippet for > deletion > > from django_comments.vie

Re: [mezzanine-users] Re: Change comments count on deletion of comment(s) ?

2015-11-06 Thread sonu kumar
uot; message, which has the desired affect of keeping the comment tree > intact - so the count accurately reflects the number of *visible* comments. > > Note that if you change these settings after comments have been made, > you'll need to run save() on their related objects to tri

[mezzanine-users] Re: Change comments count on deletion of comment(s) ?

2015-11-04 Thread sonu kumar
. How to decrease value when a comment is deleted. On Wednesday, November 4, 2015 at 6:19:29 PM UTC+5:30, sonu kumar wrote: > > When a comment is added to a model then it's comment count get incremented > automatically. How to do the same in reverse case like when we delete

[mezzanine-users] Change comments count on deletion of comment(s) ?

2015-11-04 Thread sonu kumar
When a comment is added to a model then it's comment count get incremented automatically. How to do the same in reverse case like when we delete a comments then comments count should be decreased by number of comments related to given comment and model. Currently I am able to flag a comment by

Re: [mezzanine-users] How related_posts are generated for Blog model ?

2015-10-31 Thread sonu kumar
> -ken > > On Sat, Oct 31, 2015 at 1:53 PM, sonu kumar > wrote: > >> Hi Eduardo, >> My question is regrading generation of database entries. As in BlogPost >> model we have a filed ManyToManyField so we will be having one extra tables >> for this relation. My

Re: [mezzanine-users] How related_posts are generated for Blog model ?

2015-10-31 Thread sonu kumar
Hi Eduardo, My question is regrading generation of database entries. As in BlogPost model we have a filed ManyToManyField so we will be having one extra tables for this relation. My question is how to populate * blog_blogpost_related_posts* table? On Saturday, October 31, 2015 at 3:11:57 AM UTC

[mezzanine-users] How related_posts are generated for Blog model ?

2015-10-30 Thread sonu kumar
I look at Blog code but couldn't find any code which generates related posts for given post. Is it automatically generated or something else or should I have to write code to do this? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsub

[mezzanine-users] Alter Blog view functions to incorporate new features.

2015-10-08 Thread sonu kumar
In Mezzanine blog url mezzanine/blog/urls.py we have link to mezzanine/blog/views.py. I would like to over view function to incorporate some more features in view as def my_ blog_post_list (request, *args,**kwargs): ... How ca

[mezzanine-users] Using Mezzanine admin WYSIWYG in another app.

2015-10-04 Thread sonu kumar
I tried to import Mezzanine WYSIWYG in my app. In model I have used RichTextField as content still I am getting text field in form fields. How to make this working ? i.e. What are the tweaks I need to do such that WYSIWYG will be available in my app ? -- You received this message because you a