Is it possible to apply Wagtail CMS to my existing Django project? - django

I recently found wagtail, which is a very cool Django CMS library. I tried to use it following its documentation, but its installing documentation is based on starting-over Django project.
I'm using ReactJS for frontend and Django as API backend. I was wondering if it's possible for me to apply wagtail to my existing Django project.

Documentation for integrating Wagtail into an existing Django project is here: http://docs.wagtail.io/en/stable/getting_started/integrating_into_django.html

Yes Totally possible here is a guide on how to do specifically that.
Integrate Wagtail into existing Django project
You will have a wagtail backend to manage the content of say your blog page and the existing django admin will stay the same. This is kind of helping to managing the content easily which is essentially what CMS is for.
This blogpost is for managing the backend with wagtail and frontend is HTML(Jinja)/css you would have to look into how it will be relative for you using ReactJS but if you want one app(this blog app) to be served just using HTML and css and not in react workflow this can work as it is for you.

Related

is it possible to use regular Django+templates and Django restframework+a javascript framework in the same project?

I'm just wondering since Jquery is used less and less and instead of classic use with Ajax, if it is possible to let for example React or Vue handle all of the functionality where Javascript would be needed with DRF in one hand , and consider all of it as statics.
And in the other hand, keep working with Django and regular templates.
i'm just asking about the possiblity to do so.
Yes. There are many tutorials available for using Django, some with Wagtail as a CMS, with DRF as the backend. You can use a single template, and Vue or ReactJS for the front-end.
Here's a workshop video that might help get you started from the folks at Learn Wagtail: https://www.youtube.com/watch?v=xUWd3o6z2bk
(I chose Wagtail, because it is a popular Django CMS with DRF API endpoints out-of-the box.)

Integration of django-oscar and django-cms

I want to build a django oscar ecommerce web app.
A Required fearure in this app is a content management system, therefore I want to integrate django-cms in my app. After some research I found apphooks but there is no guide on google for integration of django-oscar and django-cms.
Can anyone tell me the way to solve this issue?
Not sure if you still looking for this solution, but i created a content management system by combining Django-CMS and Oscar Commerce with tons of additional features including user messasaging, docker support, graphql, support for several payment providers and more.
https://github.com/bastianhilton/alternate-cms
Depending on what kind of integration you want to do, you should check Wagtail which is another Django CMS, well documented, the community seems to be growing up.
Adding Wagtail to an existing project is explained here and works well with a django-oscar project.

How to implement django cms page versioning?

I am using django-cms 3.5.2
I am unable to find any plugins which support page versioning.
There is plugin on github:
https://github.com/divio/djangocms-versioning
But I am not sure if it is published and ready to use.
Any references?
I'm not really sure if this fits your needs, if you are looking for a history of your pages/content in the cms backend, this might be the way to go: djangocms-history.
django CMS History is an addon application to provide undo/redo
functionality in django CMS, by maintaining content history.

Wagtail vs Mezzanine, which is better for building a customised CMS?

Wagtail and Mezzanine are good open source CMS platforms. But, which one is better to be extended and used to build a Django web app with CMS included?
Well you should probably choose the framework that you are the most familiar with. Otherwise, this article talking about wagtail might be useful.
your Wagtail app is just a simple, vanilla Django app and as such very
easy to integrate with custom models, apps, etc as you build it out.
Link

import django cms as app into existing django project

Hi I have already an existing project into django, now I want to use django cms for dynamic web pages and to gain many more functionality, but not able to find anywhere, how could I use django cms project as app into my django project. can anybody help me out, thanks.
The following tutorial should cover your needs:
Installing django CMS by hand
You should be able to install all the packages and dependencies without any problems, you only need to amend the URL setup to accommodate both for your existing app(s) and Django CMS.