Questions tagged [mezzanine]

Mezzanine is an open source content management platform built using the Django framework.

Mezzanine is an open source content management platform built using the Django framework. It features hierarchical pages, inline editing, scheduled publishing, blog importing, and more.

For more information visit the Mezzanine project website.

465 questions
4
votes
1 answer

Different URL config depending on domain in Django

In Mezzanine there are two different URLs that you could use depending what content you want to be displayed. Is there a way to check inside the urls.py if the active domain is on a subdomain or just the "regular" domain? This is the two different…
Droadpc
  • 79
  • 7
4
votes
1 answer

Display different templates based on host in Django

I'm using Mezzanine that is based on Django. I have setup a multi tenancy environment with it. So these I use: example.com sub1.example.com sub2.example.com So what Mezzanine is able to do is to display different content based on the current…
First Last
  • 257
  • 1
  • 3
  • 10
4
votes
1 answer

django-import-export can not get it working

Can not get this to do anything, installed, added to apps, followed the docs. nothing. here's my admin.py: from import_export import resources from import_export.admin import ImportExportModelAdmin class…
joeskru
  • 242
  • 3
  • 16
4
votes
1 answer

How to set the permissions for admins of Django/Mezzanine sites

I'm not sure what permissions I have to assign to a group so that users of that group can login to the admin area of the specific Mezzanine site that they are assigned to. The user have Staff status checked. I want the group to have limited access…
lol5433
  • 539
  • 4
  • 21
4
votes
1 answer

Problems with deploying fabric for mezzanine

As I think I understand it, fabric contains this command which is supposed to configure a server for your mezzanine-django project: fab all I get this error: Aborting, no hosts defined. The docs for fabric are confusing for me on this aspect. I'm…
Joe
  • 115
  • 1
  • 11
4
votes
1 answer

django refuses to recognize static folder?

UPDATE - it is reading the static folder correctly. If I make a test.css file and then try to go to http://myserver:8000/static/css/test.css it will pick it up. The problem is when i try to put a new bootstrap.css into that folder. It ignores that…
whoisearth
  • 4,080
  • 13
  • 62
  • 130
4
votes
1 answer

How to use tinymce with highlight.js?

On my website I wanna show syntax highlighted code to readers. I am using Tinymce for editing purposes. I am using Mezzanine CMS and I dunno much about TinyMCE. The problem is when I select preformat for wrapping my code snippet, TinyMCE wraps it…
Mayur Rokade
  • 512
  • 7
  • 20
4
votes
1 answer

Missing header tiffio.h installing Pillow on Mac OS X

When trying to install Pillow using PIP, I get this include error: μ ~: pip install pillow ... libImaging/TiffDecode.h:10:10: fatal error: 'tiffio.h' file not found #include ^ 1 error generated. error: command 'cc' failed…
Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62
4
votes
0 answers

Mezzanine/Django hit counter for blog posts

I'm looking for something that can count and publicly display read hits on my Mezzanine Blog posts. I'm coming from Drupal 7 where this functionality is built in. I found django-hitcount and django-tracking. Looks like they can both do the counting…
fred
  • 1,146
  • 11
  • 16
4
votes
2 answers

Django [Mezzanine CMS] project not deploying to Heroku

New to Python, and trying to deploy a blog. I followed along to Heorku's documentation about Getting Started with Python on Heroku. And it mentioned that I needed to add a Procfile, so I added the Procfile web: gunicorn hello:app Did the commit,…
JGallardo
  • 11,074
  • 10
  • 82
  • 96
4
votes
1 answer

How do I include a mezzanine Page with a given slug into the base template?

I am trying to include a page editable through the mezzanine admin in all the pages on my site. I read through the Mezzanine doc and the source and cannot figure out how to do this. From the docs, I thought I could pass my page as an extra context,…
user1255933
  • 212
  • 2
  • 10
4
votes
0 answers

Unregistering default Django apps from admin breaks tests

In one of my apps/admin.py I have from django.contrib import admin from django.contrib.sites.models import Site from django.contrib.redirects.models import Redirect from mezzanine.generic.models import ThreadedComment from mezzanine.conf.models…
Matt Camilli
  • 664
  • 5
  • 8
4
votes
1 answer

Issues with multiple languages in mezzanine

I am using multiple language in mezzanine and it is working fine with its own core templates.But I try to use it in my own templates then it is not working. I have use all things in proper steps. I have locale folder in which django.po consists of…
Inforian
  • 1,716
  • 5
  • 21
  • 42
3
votes
1 answer

FutureWarning: `TemplateForHostMiddleware` is deprecated. Please upgrade to the template loader

I am building a mezzanine website. I installed mezzanine by typing pip install mezzanine this installed django 1.9 (IIRC) along with mezzanine. I then installed cartridge, which upgraded django to version 1.10.8. Now when I run runserver at the…
Homunculus Reticulli
  • 65,167
  • 81
  • 216
  • 341
3
votes
3 answers

Static files not found in Mezzanine

I am trying to install a new template on my Mezzanine website. My Mezzanine is on version 4.2.2 and Django on 1.9.7 . Here is what I did: With DEBUG = true I created a new app call "template_app" and loaded in settings.py: INSTALLED_APPS = ( …
YummyDuck
  • 31
  • 6
1
2
3
30 31