Django-CMS only shows parent pages

I have just installed Django-cms and it works fine, but the problem is that the system only shows child pages and for parent pages a standard 404 error comes up... Preview works fine both for...

Django CMS 3 imporoperly configured on startup

I wanted to give the new Django CMS 3 a try after seeing a nice looking demo. I ran through the quickstart...

ImportError: No module named sekizai

I have installed all three dependencies according to the document (Python 2.6, 2.7, 3.2 or higher. Django 1.2.7 or higher. django-classy-tags 0.3.1 or higher) But when I add ‘sekizai’ into my...

django-cms not using user's language for its core translations

*Edit: found out this happens on a very basic project generated by djangocms-installer, I've reported an issue about this.* I've setup a simple project with django-cms and my client's native...

django - trouble with migrations and modeltranslations

I am trying to upgrade my app, from Django v1.6.11 to v1.7.8. I am following the instructions to upgrade from South but get again and again the same error. More precisely: $ python manage.py...

pip installs a django version different from the one specified in requirements.txt

I'm trying to do the djangocms tutorial. Everything is fine on my laptop (on Archlinux), but I tried to continue the project on a different computer (using Mac OS X). I made my git clone, started...

Django shop error: "No module named shop"

When I'm launching a django shop I receive an error message: ImportError: No module named shop. I've switched to my project dir; activated virtualenv; installed django-shop, using pip install...

Django 1.8 LookupError : Model not registered AUTH_USER_MODEL

Django 1.8 and Python 3.4 I'm using a custom User model called UploaderClient in my app called authenticateclients . When I run check or makemigrations or migrate I get a LookupError: Model...

ImportError: No module named djangocms_* attempting for runserver?

Uesterday I installed django-cms on my django project. After setting infrastructure for django-cms in urls.py and settings.py. I wanted to start server by python manage.py runserver, but I faced...

error to execute djangocms -f -p . mysite

I have a problem when I execute djangocms -f -p . mysite the process started but failed when it have to create an admin user. Creating admin...

Django CMS pages not visible after server restart

I've been using django-cms to build a simple website for my GF. I was editing the base template and for some reason my changes were not going through, so I restarted the nginx server script only...

KeyError overriding django ModelAdmin.get_readonly_fields()

I'm trying to override the get_readonly_fields() method in my django ModelAdmin. If a certain condition exists, I want to return nearly all my fields as readonly_fields. Here's how that...

Upgraded Django(1.11) & Django-cms(3.5.0) - pages no longer appearing

So I've successfully upgraded a django site (django 1.4 - 1.11. Python 2.5 - 3.5. Django-CMS 2.4 - 3.5) I started with a fresh database, made the migrations, migrated and everything went fine. No...

Django CMS Apphook does not load

I have a new setup of Django CMS with the following components installed...

Segmentation Fault during Django page render on Mac

Mac 10.14.3 Python 3.6.5 (also tried 3.7.2) installed via homebrew Django==1.11.20 django-cms==3.5.3 sqlite3 3.24.0 Things seem to run fine on my production (linux) server. Issue is only on my...

Django CMS error when displaying advanced settings for page

This is the error I get when trying to change the advanced settings of a page while in admin mode: TypeError at /admin/cms/page/5/advanced-settings/ __str__ returned non-string (type...

Pushing Django app to heroku throws error "ImportError: No module named djangocms_history"

I have a Django project that I am trying to push to heroku. My requirements.txt file...

KeyError: 'collectstatic' When deploying the Django application to pythonanywhere

During the implementation of my Django application on pythonanywhere for the first time I encountered such an error. Previous applications with a very similar structure were able to be implemented...

Django stops with "generator raised StopIteration" when html form allows for file upload

My setup is Windows 10, Python 3.7, Apache 2.4/mod_wsgi. When I add this enctype="multipart/form-data" in my form (just by adding this attribute, only -- no files are attached to the form) I get...

How to get Primary Key and data from Django SessionWizardView

I have a SessionWizardView that generate 3 forms, depending of of a previous choice. After the selection of the form, the user fill the form and submit it to a specific ListView to each case,...

'FilterExpression' object has no attribute 'value'

I am migrating from Django 1.8.17 to 1.11.21. I re-installed all compatible packages and did required code changes. But it is still giving "'FilterExpression' object has no attribute 'value'"...

Error Django cms return TypeError: issubclass() arg 1 must be a class

I want to start with Python and DjangoCMS, I follow this tutorial http://docs.django-cms.org/en/latest/how_to/install.html, but when I execute python manage.py cms check returns Traceback (most...

ModuleNotFoundError: No module named 'tinymce' for Django

So I get the following error: ModuleNotFoundError: No module named 'tinymce' when trying to deploy my Django app to Azure. It works perfectly when I test it locally, but breaks down on...

Django - django-privacy-mgmt package not displaying html

I need help implementing this package into this django project: When viewing the page source, I see the app's HTML loaded from the render tags. But on the actual page, I am not seeing any of the...

DjangoCMS TypeError: from_db_value() missing 1 required positional argument: 'context' after upgrade to 3.7.2 w/ Django 3.0.1

I had a working DjangoCMS application running DjangoCMS 3.7.1 and Django 2.2, however after I just bumped the DjangoCMS version to 3.7.2 and with it, Django to 3.0.1, I am now getting a render...

djangocms - cannot import name 'NamespaceAlreadyRegistered'

I have developed a simple project with DjangoCMS(3.7.2) and it works great in the local. I 'm gonna run it on a ubuntu server, which I have another Django project run on it with no issues. Both of...

ImportError after installing djangocms-blog: cannot import name 'python_2_unicode_compatible' from 'django.utils .encoding'

I currently installed django-cms and djangocms-blog. When I run migrate, it throws the following error. Some ressources suggest to install six, which however is already satisfied in my venv. I use...

ImportError: Couldn't import Django after running " heroku python manage.py migrate" in CMD

I have a following error after running " heroku python manage.py migrate " in CMD. C:\Users\ky2001\Desktop\my_app>heroku run python manage.py migrate Running python3 manage.py migrate on ⬢...

Django Parler "The 'language_code' attribute cannot be changed directly

I am currently extending a plugin to play well with Django translations and languages. Here is the method in question. Prior to getting translations involved, it worked as needed. I extended the...

how to add google adsens to an django web app

i'm trying to add google adsense to my django webapp but when i try i've got this error "website have no content". if somedbody done this before can you explain to me please. i've seen maybe...