using Mezzanine just for creating a blog engine in my django powered site

622 views
Skip to first unread message

Sachin Gupta

unread,
Oct 23, 2011, 1:37:46 PM10/23/11
to mezzani...@googlegroups.com
Hello

Can anyone guide me about how to use Mezzanine just for using the blog application and maybe a few other options and not the whole list. Somebody advised me that I can create a 3rd party module for Mezzanine. Since I am a little new to Django based development, can anybody guide me how to do that?

To reiterate, I have a website where I want to provide the feature that users can create their own blogs and they can be read and commented by others. Can anybody tell me how to use Mezzanine for that?


Amit Sethi

unread,
Oct 24, 2011, 2:35:28 AM10/24/11
to mezzani...@googlegroups.com
On Sun, Oct 23, 2011 at 11:07 PM, Sachin Gupta <saching...@gmail.com> wrote:
> Hello
>
> Can anyone guide me about how to use Mezzanine just for using the blog
> application and maybe a few other options and not the whole list. Somebody

Mezzainine is just a standard django application
I think you can simply add mezzanine in your installed apps. And the
templates to template directories and that should please tell in
detail if this does not work for you

--
A-M-I-T S|S

Sachin Gupta

unread,
Oct 24, 2011, 3:09:36 AM10/24/11
to mezzani...@googlegroups.com
I will surely try that out, but the thing is when I was going through the documentation it said that we can create a Mezzanine project just like we do in Django so I though it is built on top of Django and to use it we need to use it's project only

I will try what you have said and let you know.

Stephen McDonald

unread,
Oct 24, 2011, 3:13:35 AM10/24/11
to mezzani...@googlegroups.com
Mezzanine is made up from several apps/packages - one of them being the blog app.

They're not specifically designed to be used separately, but you could try:

- pip install mezzanine
- add mezzanine.blog to INSTALLED_APPS
- add mezzanine.blog.urls to your urlpatterns

See how you go.


On Mon, Oct 24, 2011 at 6:09 PM, Sachin Gupta <saching...@gmail.com> wrote:
I will surely try that out, but the thing is when I was going through the documentation it said that we can create a Mezzanine project just like we do in Django so I though it is built on top of Django and to use it we need to use it's project only

I will try what you have said and let you know.




--
Stephen McDonald
http://jupo.org

Sachin Gupta

unread,
Oct 24, 2011, 3:37:02 AM10/24/11
to mezzani...@googlegroups.com
  I did exactly as you had asked to but it seems there are lot of inter dependencies and I will not be able to use mezzanine just for the blogspot. This is the error I got

'mezzanine_tags' is not a valid tag library: Template library mezzanine_tags not found, tried django.templatetags.mezzanine_tags,django.contrib.admin.templatetags.mezzanine_tags,tagging.templatetags.mezzanine_tags,mezzanine.blog.templatetags.mezzanine_tags,mezzanine.pages.templatetags.mezzanine_tags,mezzanine.generic.templatetags.mezzanine_tags

Since I am a bit new to Djnago I can't understand how to resolve this erro.

Stephen McDonald

unread,
Oct 24, 2011, 3:40:05 AM10/24/11
to mezzani...@googlegroups.com
Ok, some of the blog templates use tag libraries that are shared across Mezzanine and as such reside in the mezzanine.core app - you can either add it to your installed apps, or remove the tags from your templates.

Sachin Gupta

unread,
Oct 24, 2011, 4:03:38 AM10/24/11
to mezzani...@googlegroups.com
I think I will have to use my own blogspot because there are some more errors now. Also Since I am not leveraging the whole of mezzanine I am not getting much of a benefit. Thanks for the help anyways
Reply all
Reply to author
Forward
0 new messages