Hi Danny,

My problem with just removing from templates ... it's just visually not 
available but the code possibly still exists to process the comments or am 
I wrong? 

I could have tweaked things with a display:none bit of css to just remove 
it visually from the admin menu but I'm still not happy with that.

James

On Tuesday, 10 June 2014 23:30:11 UTC+2, Danny S wrote:
>
> On 11/06/2014 12:32 AM, James Larkin wrote: 
> > Thanks Josh (want to try and make sure I'm using best practices) also I 
> > see I have your website open in another tab :) 
> > 
> > It bugs me it's not a simple case of just removing it like with the blog 
> > app but oh well. I also don't like having things present if they don't 
> > need to be ( hence a loose comments tab that isn't required in the admin 
> > interface bugs me ) 
>
> I didn't want comments on my site either and the easiest thing to do was 
> to just comment out/remove those sections from the relevant templates. 
>
>
> > 
> > Now to start hacking flexipages as a starting point for world domination 
> > 
> > On Tuesday, 10 June 2014 16:30:22 UTC+2, Josh Cartmell wrote: 
> > 
> >     Hey James, the comment functionality is baked into Mezzanine (part 
> >     of mezzanine.generic), but comments are only present on the blog by 
> >     default.  As long as you don't add it to anything you create there 
> >     won't be any outward facing comments on the site. 
> > 
> >     Since you've also unregistered them from the admin it looks like 
> >     you've accomplished everything you wanted to! 
> > 
> >     Good work =) 
> > 
> > 
> >     On Tue, Jun 10, 2014 at 9:55 AM, James Larkin <james....@gmail.com 
> >     <javascript:>> wrote: 
> > 
> >         Introduction: I'm pretty new Django / Mezzanine (generally I'm 
> >         more involved in designing but I'm trying to get up to speed on 
> >         everything) 
> > 
> >         I'm struggling with a few things so what hell might as well ask 
> > 
> >         I want to disable comments and the blog. 
> > 
> >         I've removed the blog from the INSTALLED_APPS settings and this 
> >         works fine 
> > 
> >         However the comments seem to be more part of the core of 
> >         Mezzanine unless I'm misunderstanding things? 
> > 
> >         Could anyone tell me what's the best way to go around removing 
> them? 
> > 
> >         At the moment I've created a new app for my project I'm working 
> >         on and into admin.py I've put the following 
> > 
> >             from django.contrib import admin 
> > 
> >             from mezzanine.generic.models import ThreadedComment 
> > 
> >             admin.site.unregister(ThreadedComment) 
> > 
> > 
> >         This works for what I want and comments are removed from the 
> >         admin interface. 
> > 
> >         Am I missing something or have I gone about it the completely 
> >         wrong way? (I Googled this to bits as well before posting and 
> >         struggled to find an answer that made sense) 
> > 
> >         Thanks in advance 
> > 
> >         James 
> > 
> >         -- 
> >         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-use...@googlegroups.com 
> >         <javascript:>. 
> >         For more options, visit https://groups.google.com/d/optout 
> >         <https://groups.google.com/d/optout>. 
> > 
> > 
> > -- 
> > 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-use...@googlegroups.com <javascript:> 
> > <mailto:mezzanine-users+unsubscr...@googlegroups.com <javascript:>>. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Email: mol...@gmail.com <javascript:> 
>

-- 
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 options, visit https://groups.google.com/d/optout.

Reply via email to