Stream

Pinned by moderator

Christian Bertschy
moderator

News  - 
 
Great effort everyone, we reached the next level on Stackexchange! Now it's time to commit yourselves :-):
http://area51.stackexchange.com/proposals/86758/django-cms

It's really easy to commit to our proposal, just watch the video below.
We need around 200 commitments from you to get to the beta stage.

Thank you for your continued support!
16
1
Martin Koistinen's profile photo
6 comments
 
Big thanks to everyone who already has done so, but we need 62 more people! If you haven't already go here: http://area51.stackexchange.com/proposals/86758/django-cms please, thank you!
Add a comment...

Marcel Bariou

Discussion  - 
 
With Djangocms RC1 3.4 and djangocms_blog, some trouble to start, need some help about djangocms_blog

Indication here :
http://stackoverflow.com/questions/39459176/djangocms-blog-confusion-about-post-creating

Thanks for any help
1
Iacopo Spalletti's profile photo
 
+Marcel Bariou I answered on SO
Add a comment...

Rohit Chopra

Community Support  - 
 
well, i am creating a website in django and i am using django-registration-redux for registration in which after registration activation code is sent to user's email address but if the email is wrong website still works but it gives me a error on gmail that email address does not exists. i want that if user enter wrong email address then it gives error "email doesn't exists". is there any way i can check the email exists or not?
1
Add a comment...
 
Good news! It's now possible to add maps with data from OpenStreetMap, Bing Maps, HERE (Ovi Maps), etc. to django CMS powered websites. Not just Google Maps anymore!

https://pypi.python.org/pypi/djangocms-maps

Note that all map providers nowadays need an API key. You usually get it for free.
4
Add a comment...
 
Hello all,

The django CMS core team just released the first release candidate for version 3.4.

Download: https://github.com/divio/django-cms/archive/3.4.0rc1.zip
Documentation: http://docs.django-cms.org/en/latest/index.html
Release notes: http://docs.django-cms.org/en/latest/upgrade/3.4.html
Source: https://github.com/divio/django-cms/tree/3.4.0rc1

Please report any issues you find with this release to our issue tracker at
https://github.com/divio/django-cms/issues, thank you.

More information can be found on our blog https://www.django-cms.org/en/blog/2016/08/30/rc1-release-of-django-cms-3-4/
django CMS blog helps you remain updated with django CMS latest news and projects.
7
Add a comment...

Petr Klus

Tuts/Tips/Tricks  - 
 
I need to change plugin's model and migrate data from the previous one - what would be the best way to achieve it?

(further information here: http://stackoverflow.com/questions/39202463/change-plugin-model-and-migrate-data)

Any help is greatly appreciated!
1
Angelo Dini's profile photo
 
Hello +Petr Klus  I have done some data migrations in: https://github.com/divio/djangocms-video/pull/21 Maybe those examples help you?
Add a comment...
 
I have a doubt, someone could solve it?
I have a django-cms project and all is right but I don't know how I can put "Media Library" in toolbar admin like django-cms website demo... I have read the docs but I haven't found nothing. Thanks!

3
Martin Koistinen's profile photoJosé Manuel Rivas's profile photo
3 comments
 
Oh! thanks +Martin Koistinen :D
Add a comment...

Peter Bittner

Discussion  - 
 
What is the best way to have roles, connected to editing and publishing permissions in django CMS? Isn't this a very common requirement of customers wanting a CMS for collaborative editing?

How would one assign responsibility for different parts of a website to different departments of a company? Say, with Django groups. I've seen most, if not all, implementations simply create Admin users (staff). This is too much, I feel. At the same time, with user permissions and groups assigned in the Django Admin I've not gotten anywhere near an acceptable solution.

There must be a better way. What is your approach?
1
Peter Bittner's profile photo
4 comments
 
Anyone from Divio (or other core developers) to verify and confirm my findings?
Add a comment...

Mario Canevarollo

Community Support  - 
 
Hi!
I'm trying to setup a Divio's project locally whit:
aldryn project setup la-vela-project-website

And.. This is the result:

Cloning into '/Users/mario/PRJT/Aldryn/la-vela-project-website'...
warning: templates not found /usr/local/git/share/git-core/templates
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
---------------------------------------------------------------------------------------------------------------
There was an error trying to run a command. This is most likely
not an issue with aldryn-client, but the called program itself.
Try checking the output of the command above.
The command was:
git clone git@git.aldryn.com:la-vela-project-website.git /Users/mario/PRJT/Aldryn/la-vela-project-website

Can you help me? Thaks a lot!
1
Martin Koistinen's profile photoMario Canevarollo's profile photo
2 comments
 
Sorry +Martin Koistinen , I try to ask Divio`s support to help me. :)
Add a comment...

About this community

The official community of interest for django CMS developers and users. People looking for general support should consider using the IRC channel: #django-cms, the Google Group (https://groups.google.com/forum/#!forum/django-cms) or StackOverflow (http://stackoverflow.com/) using the *django-cms* tag. If you need urgent or private support, please consider a support SLA from Divio (https://www.divio.com/en/solutions/) or for more ad hoc help, book an hour with one of Divio's specialists (https://divio.appointlet.com/).
 
Hello Guys,
I have an issue with overwriting the templates for djangocms-blog app, I try to copy the app templates folders in my templates folder but they are not overwrited.

I place the templates in `templates/djangocms-blog/` should it be different?

I saw this situation in a similar project, https://github.com/aldryn/aldryn-newsblog/issues/303 , it is related?
Hi, Context I'm using a fresh install of django-cms with aldryn-newsblog. Everything is working really fine. Problem Now that everything is working, i would like to customize the look a...
1
Iacopo Spalletti's profile photoLeonardo Jimenez's profile photo
3 comments
 
Thanks Lacopo!, in fact it was the template directory the problem, it had the wrong path.
Add a comment...

Mario Canevarollo

Tuts/Tips/Tricks  - 
 
Hello guys!
I have an other question, why I get a 404 error when I set Debug on False ?
I changed also : ALLOWED_HOSTS = ['www.mydomain.de']

Can you help me? I can't remain in debugging mode on prod. Thanks!
1
Peter Bittner's profile photoMario Canevarollo's profile photo
5 comments
 
Hey I resolve whit: ALLOWED_HOSTS = ['.domainname.de']

I got the 404 because I looked at the domain without www...

Add a comment...
 

Hi everybody!

There a way to display automatically images that belong to a page when you open the media library toolbar? and / or There a way to show all images related to a page when add a cmsplugin_filer_image ?
1
Martin Koistinen's profile photoJosé Manuel Rivas's profile photo
2 comments
 
Thanks so much for your comment +Martin Koistinen It is exactly what I was thinking but I wanted to be sure that there wasn't nothing built-in right now. It's coding time! 
Add a comment...
 
With the release of django CMS 3.4 LTS a revamped djangocms-installer will also be released to help creating django CMS projects.

Starting from this version the installer will not ask question anymore by default: basically batch mode will be enabled by default; it's possible to use the wizard by using the -w command line argument.

The project directory (-p) parameter is not required anymore: the project name will also be used as the name of the project directory by default.

The list of installed plugins has also been simplified to reflect the most used ones.

Version 1.0 is planned in a couple of months, in which we will improve the default templates to help bootstrapping your own project.

I just released djangocms-installer 0.9rc3, which I expect to be the final one before the 0.9 release (which will happen together with 3.4 final): go get it!

pip install djangocms-installer==0.9rc3
djangocms --cms-version=rc mysite
4

Marcel Bariou

Discussion  - 
 
I met in Djangocms, show_menu not stable according browser version and type.

I give the detail of the trouble there =>

http://stackoverflow.com/questions/39267721/djangocms-show-menu-not-stable-according-browser-version-and-type?sgp=2

Any helps or hints are welcome; thanks for your interest.
1
Add a comment...

Mario Canevarollo

Tuts/Tips/Tricks  - 
 
Hey there! I get a 500 Error:
[29/Aug/2016 15:23:42] "POST /de/admin/cms/page/1/de/publish/ HTTP/1.1" 500 15696
I can't publish a change, Why?
Maybe is because of the migration from SQLite to PostgreSQL?

1
Mario Canevarollo's profile photoPeter Bittner's profile photo
12 comments
 
Alright, so your Python stack trace probably would have shown some IntegrityError (or so), missing fields, indexes or whatever. Yes, that's what happens with SQLite -> Postgres|MySQL|MariaDB transitions.

The safest way is to start from scratch with an empty Postgres database. You can try tools and scripts (such as my gist at https://gist.github.com/bittner/7368128), but even if you get it working you'll never be sure whether your database is not corrupt in some hidden angle - that will hit you later in time.
Add a comment...

Peter Bittner

Tuts/Tips/Tricks  - 
 
Is it possible to add plugins in Content mode? Do I have to switch to Structure mode to, say, add an image, a video or a map?

Motivation: I'm trying to configure django CMS in a way that elderly people can easily apply modifications and add content to pages of the website. Everything should be self-explanatory. To reduce complexity I've disabled/hidden Structure mode via Django permissions.
1
Angelo Dini's profile photoPeter Bittner's profile photo
4 comments
 
Shift + Space --> nice - for power users!

Maybe we could have the default behavior as an option in the django CMS "User settings..."?
Add a comment...

Mario Canevarollo

Tuts/Tips/Tricks  - 
 
I have to convert a DB from SQlite to PostgreSQL, can you help me?
1
Mario Canevarollo's profile photo
7 comments
 
Ok! I got it with Brew install pgloader ;)
Add a comment...

Dacian Popute

Discussion  - 
 
I have different user roles (not staff), like manager and worker and I have pages and applications created only for managers, so I'm looking to a way of hiding the manager pages from the menu for the users who are not managers. How to achieve this? I'm looking for something like user_passes_test.

Thanks :)
1
paulo alvarado's profile photo
 
Hello Dacian, if you've set CMS_PERMISSIONS to True, you can check the Login required box on Page -> Permissions from the toolbar. If permissions are disabled, you can achieve this using a menu modifier. It's unfortunate that permissions need to be enabled for this given that the permissions system is undergoing heavy refactors.
Add a comment...

Peter Bittner

Community Support  - 
 
I'm getting a bunch full of missing migrations ("models have changes that are not yet reflected in a migration") with django CMS 3.3.2 on Django 1.8.14. Is there anything I need to be aware of apart from running `python manage.py migrate` ?

```
$ python manage.py makemigrations --dry-run
Migrations for 'cmsplugin_zinnia':
0002_auto_20160819_0645.py:
- Alter field cmsplugin_ptr on calendarentriesplugin
- Alter field cmsplugin_ptr on latestentriesplugin
- Alter field template_to_render on latestentriesplugin
- Alter field cmsplugin_ptr on queryentriesplugin
- Alter field template_to_render on queryentriesplugin
- Alter field cmsplugin_ptr on randomentriesplugin
- Alter field template_to_render on randomentriesplugin
- Alter field cmsplugin_ptr on selectedentriesplugin
- Alter field template_to_render on selectedentriesplugin
Migrations for 'djangocms_file':
0005_auto_20160819_0645.py:
- Alter field target on file
Migrations for 'djangocms_inherit':
0003_auto_20160819_0645.py:
- Alter field cmsplugin_ptr on inheritpageplaceholder
Migrations for 'djangocms_teaser':
0002_auto_20160819_0645.py:
- Alter field cmsplugin_ptr on teaser
Migrations for 'djangocms_googlemap':
0003_auto_20160819_0645.py:
- Alter field style on googlemap
Migrations for 'zinnia':
0005_entry_content_placeholder.py:
- Add field content_placeholder to entry
```

A full output is available from http://paste.ubuntu.com/23069443/
python manage.py migrate Operations to perform: Synchronize unmigrated apps: staticfiles, dropbox, mptt, linkedin_oauth2, tinymce, google, allauth, soundcloud, bitly, bitbucket, amazon, behave_django, sekizai, stackexchange, organice_theme, djangocms_admin_style, vimeo, analytical, xing, ...
1
Peter Bittner's profile photo
5 comments
 
Thanks +John-Scott Atlakson. An issue for django CMS 3.3.x (and Django 1.8+), still unfixed unfortunately.
Add a comment...

Mario Canevarollo

Tuts/Tips/Tricks  - 
 
Hi everyone! I can't find a tutorial to deploy my Django CMS website from localhost to the production server.
Any suggestions? Thanks!
1
Peter Bittner's profile photoRoland Kainbacher's profile photo
5 comments
 
Have a look at Aldryn Cloud, https://www.divio.com/en/

maybe this is the right thing for you.
Add a comment...