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 )

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 <[email protected] 
> <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 [email protected] <javascript:>.
>> For more options, visit 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to