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.

458 questions
56
votes
7 answers

Database returned an invalid value in QuerySet.dates()

I get this error on my Ubuntu 12.04 machine with mysql 5.5 after I imported some Wordpress content to Mezzanine's blog_blogpost. ValueError at /admin/blog/blogpost/ Database returned an invalid value in QuerySet.dates(). Are time zone definitions…
qliq
  • 10,991
  • 13
  • 51
  • 62
16
votes
2 answers

How do I install Mezzanine as a Django app?

I already have an existing Django website. I have added a new url route '/blog/' where I would like to have a Mezzanine blog. If it possible to installed Mezzanine as an app in an existing Django site as opposed to a standalone blog application.
nickponline
  • 22,615
  • 27
  • 86
  • 138
13
votes
2 answers

Django Compressor does not minify files

I am trying to let django-compressor working with mezzanine. For first attempt I simply installed django compressor (as should be done for Mezzanine) and changed DEBUG = False but nothing changed in HTML generated from Django. So I followed the…
Appost
  • 329
  • 3
  • 11
12
votes
2 answers

Fabric + buildout as opposed to Fabric + pip + virtualenv

I've recently started playing around with Mezzanine, a django-based CMS. I recently just managed to configure Fabric to get it uploading to my host, webfaction.com, as its a bit more involved automatically creating the website on the shared hosting,…
foxwoods
  • 488
  • 2
  • 10
11
votes
1 answer

How To Deploy: Installing Mezzanine Theme

How to install Mezzanine Theme exactly, step-by-step? E.g., Moderna free theme.
sdd
  • 591
  • 8
  • 22
10
votes
1 answer

Django Mezzanine framework - won't let me embed videos to blog post

I can't get Mezzanine Framework for Django to accept embedding videos into my blog posts. I tried using the video tag of the rich text editor, tried editing the html code and inserting the iframe YouTube provides me, but with no success. Once I hit…
aldux
  • 2,686
  • 2
  • 22
  • 35
10
votes
2 answers

django test client always returning 301

I've run into some problems while running cartridge tests - the test client always returns 301 when doing something like self.client.get('/'). The only way to proceed is adding follow=True, but it's suspicious that I always have to do that. This…
Maciej Gryka
  • 7,553
  • 4
  • 34
  • 29
9
votes
2 answers

Mezzanine - Can't load css and js in Heroku

I'm having some problems hosting a simple website I've created in Heroku. The website was created using Mezzanine and uses whitenoise and gunicorn. The problem is: I'm getting 404 error in some static resources, like css and js. You can see the…
brevleq
  • 1,866
  • 8
  • 46
  • 90
7
votes
2 answers

How to add a custom template page to mezzanine?

I've been playing around with mezzanine for a couple days and I've been following this blog, which has been very helpful. I'm now at the point where I need to make a bunch of pages that need to be based off of a custom template. My custom template…
thedeepfield
  • 5,814
  • 23
  • 68
  • 104
6
votes
1 answer

How do I go about customizing Mezzanine-Cartridge shop/product?

I have a few Cartridge starter questions: My products don't need ratings or dates published. They will never go on sale. Some of the products are downloadable and hence 'num_in_stock' is not relevant or essentially, unlimited. There are no color…
Novice User
  • 59
  • 1
  • 3
6
votes
2 answers

Customizing Mezzanine

I've been researching Mezzanine for some time now, but I haven't found much of tutorials beyond basic installation. Mezzanine docs contain information on how to customize Page models and adding new content types. However, what I want to do is…
tonino.j
  • 3,630
  • 25
  • 26
5
votes
1 answer

Django on Heroku: customizing django.po

I used to run Mezzanine on Heroku. Recently, I need to customize some data in the django.po. As Mezzanine is installed from requirements.txt, how do I upload my own django.po in order to overwrite Django's standard django.po?
Randy Tang
  • 3,897
  • 8
  • 50
  • 100
5
votes
2 answers

Django - custom admin page not related to a model

I am using Django 1.7 with Mezzanine. I would like to have some page in admin, where the staff can call some actions (management commands etc.) with buttons and other control elements. I would also like to avoid creating new model, or manually…
matousc
  • 2,769
  • 6
  • 36
  • 48
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
  • 6
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
  • 3
  • 10
1
2 3
30 31