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
3
votes
1 answer

django.db.utils.OperationalError no matter what I try

OK, I'm stumped. I think I've tried everything. I created a model in an app's models.py and also added some more fields to an existing model (all with default values). Then I ran makemigrations. The result: $ python3 manage.py…
ki9
  • 5,183
  • 5
  • 37
  • 48
3
votes
1 answer

Adding validation to Django User form

I'd like to customize the user sign-up form in Django/Mezzanine to allow only certain email addresses, so I tried to monkey-patch as follows: # Monkey-patch Mezzanine's user email address check to allow only # email addresses at @example.com. from…
xnx
  • 24,509
  • 11
  • 70
  • 109
3
votes
0 answers

Django ModelTranslation local fields clash with parent´s model fields

I´m developing a website with Mezzanine and I´m having problem trying to configure modelTranslation plugin for it.I´m using Django 1.8.9 and Mezzanine 4.0.1, django_modeltranslation 0.11. I have a model class GenericContent with some fields : class…
3
votes
1 answer

Django mezzanine vs Wordpress

I'm working on a project which will use python to collect data and display it in a blog like way. I'm already familiar with Wordpress, my solution to import these data would be to manually edit SQL wordpress database with python and update the…
GGA
  • 385
  • 5
  • 22
3
votes
2 answers

500 error on displayable_links.js in django, mezzanine, nginx

I am getting a 500 error on displayable_links.js. I assume it is something with my ssl setup. Using Django 1.9.1, Python 2.7.5, PostgreSQL 9.2.14, and Mezzanine 4.1. Happens in debug and behind gunicorn. I have * for allowed hosts just to…
nowen
  • 196
  • 1
  • 5
3
votes
1 answer

Importing default.py manually into AppConfig ready () method

in the mezzanine configuration docs, it says NOTE If you are using Django 1.7 or greater and your app is included in your INSTALLED_APPS as an AppConfig (eg authors.apps.MyCrazyConfig), Mezzanine won’t import your defaults.py automatically.…
fosi
  • 53
  • 8
3
votes
1 answer

How to implement django-fluent-contents to Mezzanine existing project

I have existing Mezzanine project with existing pages. It is possible to implement to AdminPage fluent-contents feature without fluent-pages feature? Just want to Mezzanine Page creation as it is but with fluent-contents in it. Is this possible to…
Thomas
  • 63
  • 7
3
votes
1 answer

How to use field from one model into other model while rendering a single view in Django

Here is my model class Gallery(models.Model): title = models.CharField(max_length=30) description = models.TextField(blank=True) featured_image = models.ImageField(upload_to="gallery") def __str__(self): return…
xxCodexx
  • 438
  • 1
  • 3
  • 15
3
votes
0 answers

How to set `Procfile` for a Mezzanine app deployed on Heroku

I already have a Mezzanine app deployed on Heroku. The system ran OK before, but today the web page showed an error message Internal Server Error. Checked with heroku logs and found that the command web python manage.py run_gunicorn -b 0.0.0.0:$PORT…
Randy Tang
  • 4,283
  • 12
  • 54
  • 112
3
votes
1 answer

Trying to install Mezzanine via Docker

I am trying to install Mezzanine on Docker to test out Docker I've used this Container with this postgres db, with a few customizations (namely commenting out) on the Mezzanine container and using the start.sh script to include DB info. When I run…
user3125823
  • 1,846
  • 2
  • 18
  • 46
3
votes
1 answer

How to add RichTextField to models.Model in a mezzanine application?

I need to allow public users to add articles using RichTextEditor in a mezzanine application, similarly to how admin pages allow RichTextFields. Is it possible to use RichTextField for non-admin pages?
deepthi
  • 685
  • 3
  • 9
3
votes
0 answers

How to enable nginx proxy caching for gunicorn mezzanine

Our stack is nginx - gunicorn - mezzanine (django cms) running on an EC2 instance. Everything works, but I can't seem to enable nginx proxy_cache. Here is my minimal config: upstream %(proj_name)s { server…
Robert Carter Mills
  • 793
  • 1
  • 9
  • 19
3
votes
1 answer

Add Custom Admin Category and Page for non-model view in Mezzanine

I need to add a custom view to the Mezzanine admin, which is a stats and reporting dashboard that is not backed by a model, but api calls. I have the following questions: 1. Where do I add the custom module? Should this be under the /theme…
activelogic
  • 1,325
  • 3
  • 14
  • 24
3
votes
0 answers

Django-Filebrowser (Mezzanine) fails to load large Amazon S3 directories on nginx production server

I'm having some issues with Django-Filebrowser and from what I can tell they seem to be related to Nginx. The primary issue I'm having is that Django-Filebrowser fails to load directories with large amounts of Amazon S3 files in the mezzanine admin.…
Billy
  • 43
  • 4
3
votes
1 answer

Failed CSRF token verification in Mezzanine with captcha form

I have been trying to set up a test version of a captcha form using the Django CMS, Mezzanine. It displays the captcha, but when I submit the form I get the error: Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for…
user3597703
  • 335
  • 3
  • 12
1 2
3
30 31