Questions tagged [divio]

Divio is a Docker-based Platform-as-a-Service for developing and hosting Python and Django web projects. It provides various software tools, including a Divio CLI and a number of open-source packages used in the configuration of Django projects. Questions related to programming and development issues using Divio should be given this tag.

Divio is a Docker-based Platform-as-a-Service for developing and hosting Python and Django web projects. It provides various software tools, including a Divio CLI and a number of open-source packages used in the configuration of Django projects.

The tag is intended to help developers who have questions or are experiencing problems that don't have an obvious answer in the official Divio documentation, or who have a more specific issue than the documentation is able to cover.

Questions suited to this tag

Questions about:

  • working with open-source packages that contain Divio-specific code
  • developing code for hosting on the Divio platform
  • migrating project code to (or from) the Divio platform
  • adapting existing Python/Django applications to the platform
  • using Divio-related programming tools such as the Divio CLI
  • Docker-related issues when using the platform or tools
  • troubleshooting programming issues when working with Divio projects

are all suitable for tagging with .

Divio is also involved in the development of a number of well-known open-source Django applications, most notably django CMS. Questions about these should not automatically be tagged , except insofar as the question is also about usage on the Divio platform. More suitable tags already exist, for example for and [tag: django-filer].

For example, the package Aldryn News and Blog is a fairly standard Django application. A question about how to extend one of its models would simply be a Django-related question, with no specific relevance to Divio.

However, a question about its aldryn-config.py file, which is used specifically for configuration on the Divio platform, is relevant to .

Useful links

Divio Developer handbook

67 questions
1
vote
2 answers

Add Aldryn Google Analytics to Django CMS

I currently have a django cms website and will like to have google analytics installed, using the aldryn-google-analytics plugin. I don't have a Divio Cloud account, and I'm really new to python. May I seek your advice on the GitHub files to be…
hzh
  • 41
  • 1
  • 6
1
vote
1 answer

Django CMS - ImportError: No module named markdown

This one I hope is quite a simple issue - but may be made a little more complicated by the fact that I am using the Divio Django cms service. I'm using Python 2.7.11 and Django 1.11.1 for all the egg heads out there that care about these things.…
user7179686
1
vote
0 answers

Docker on W10 and Hyper-V "no Procfile path defined"

I am an Aldryn customer and have troubles to setup their docker environment with Windows 10 and Hyper-V. Before I used Virtualbox and all was fine, but I could not use interactive shells. So I really would like to make the switch to Hyper-V. My…
Hans
  • 101
  • 7
1
vote
0 answers

Django, Aldryn - how to show a list of categories available

I am using Django for a project. I need to be able to pull out the possible categories available. {% for category in article.categories.all %} {{ category.name }} {% if not forloop.last %}, {% endif %} {% endfor %} so I can use this on an…
The Old County
  • 89
  • 13
  • 59
  • 129
1
vote
1 answer

Aldryn cloud on windows 10, using hyper-v, and docker 1.12 rc2 beta16

Has anyone any clues for setting up aldryn cloud solution on windows 10, using latest docker beta and hyper-v? When running docker-compose -f C:\Users\Me\project\docker-compose-windows.yml build I get these errors: npm ERR! fetch failed…
Hans
  • 101
  • 7
1
vote
1 answer

How to create sub-pages for apphook model instances with django-cms?

Question Context I am responsible to design the cms architecture for a project. The requirements state that a group of editors should be able to create "Projects". Each project.. saves meta data about itself is queryable from other places (e.g. top…
Eraldo
  • 535
  • 8
  • 17
1
vote
1 answer

Aldryn Forms setup: how to add add recipients

I try to use Aldryn forms on the Aldryn platform. In one form, a setup for recepients is possible. In another form the recipients part are missing. What could be the difference between both forms? How do I add recipients to a form?
Hans
  • 101
  • 7
1
vote
1 answer

Divio Cloud (formerly "Aldryn"): manage.py makemessages: Can't find xgettext

If I execute the following in a Divio Cloud (formerly known as "Aldryn") project: docker-compose run --rm web python manage.py makemessages I get: CommandError: Can't find xgettext. Make sure you have GNU gettext tools 0.15 or newer installed. Is…
Mario
  • 2,619
  • 1
  • 24
  • 22
1
vote
1 answer

Aldryn - how to add own Django apps and its dependencies

I have some apps that I would like to include statically into my djangoCMS templates on Aldryn. I don't think it's beneficial or necessary to register them as addons in the Aldryn Control Center because these apps are specific to the project. What…
Mario
  • 2,619
  • 1
  • 24
  • 22
0
votes
0 answers

How to install Google Recaptcha v3 with Django CMS and Aldryn Forms

I am trying to get ReCaptcha v3 working for an aldryn form in django / djangocms. Instead of the ReCaptcha riddle all I get is a "Recaptchafieldplugin 1*" on the site: What am I missing? Am I misunderstanding how this "invisible ReCAPTCHA" should…
4L3XK
  • 13
  • 4
0
votes
1 answer

pip-reqs compile only resolves one github zip package from multiple

I have a requirements.in file that only installs one of the packages pointing to github zip URL. This is how I reproduce the problem. Check out the cases. I always run pip-reqs…
Juho Rutila
  • 2,316
  • 1
  • 25
  • 40
0
votes
1 answer

Setup Django-SHOP on Divio

Tell me, is it possible to install django-shop on Divio servers? How can I do that? I can’t imagine how this can be done, because the structure of files in divio is different from the structure of ordinary django projects
AlexPopov
  • 87
  • 8
0
votes
1 answer

KeyError in pygit upon deploying on divio.com

Upon hitting the 'deploy' button on divio.com: ... content = self[entry.id].read_raw() File "/virtualenv/lib/python3.6/site-packages/pygit2/repository.py", line 131, in getitem raise KeyError(key) KeyError: …
Mario
  • 2,619
  • 1
  • 24
  • 22
0
votes
0 answers

Failing Docker install of Jupyter on Django

I'm following the recommended way to install jupyter on django by installing the following pip packages: jupyter ipython django-extensions As described here for…
Vlax
  • 1,447
  • 1
  • 18
  • 24
0
votes
2 answers

Divio ImportError: cannot import name 's3boto'

Recently I am getting the following error for my project. I changed nothing but suddenly this error appeared during deployment: [0m[91m from storages.backends import s3boto [0m[91mImportError: cannot import name 's3boto' Here is the complete…