import django cms as app into existing django project - django

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.

Related

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.

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

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.

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

Best way to structure a Django project

I'm new to django and plan on building a large django project.
I'm starting to implement cookicutter django after reading through "2 Scoops of Django" but still have some questions on structuring a project.
I've setup my project, we'll call it 'business_proj'. In business_proj I started an app called 'accounting' this might have an accounting dashboard for users in the accounting security group. Now, what if I want to have apps that belong to accounting, such as 'invoices' and 'purchase_orders'? Should I create those apps inside my accounting app? Or should I create all my apps in the main project root? The way I've started doing it is creating child apps inside of their parent apps but some parent apps are so big that even this gets messy. Is there a better way to do this? Thanks
If you have gone through Two Scoops of Django then you should probably check out Django Cookiecutter which has been created by the authors of this book.
Django Cookiecutter is an excellent boilerplate for starting a Django application both for personal use and for production.
They also have excellent documentation which will help you with the best practices for Python and Django coding.
Check out: Django Cookiecutter Git Link
I suppose it depends on the tastes of each developer. I split each funtionality in a separate app for example. I have never used child apps. Excepts when I work with Django Rest Framework. With Django Rest Framework I create a child app of each up for REST funtionality.

Django on GAE: use_library vs Django-nonrel

I am really new to the world of App Engine development and I want to start with a test project on Django and GAE. I've done some research and found out that there are two major ways to use Django in my app on GAE.
Django-nonrel + djangoappengine
use_library() to load Django from SDK
Please tell about pros and cons of each way.
Is there anything better than django-nonrel if i will decide to distribute Django code with my project?
It's not a matter of two different ways to use Django - it's two different versions of Django. App Engine comes bundled with versions 0.96, 1.0 and 1.1 of Django, unmodified from the mainline release. Django-nonrel is a branch of Django, which adds support for App Engine for the database backend.
If you're writing a new app, and you want to use Django for the whole app, including the models, you should use Django-nonrel.
When using django-nonrel you can use all Django features (including admin, auth, models, queries). I don't have a complete list of django modules which are either not working or partly not working in app engine.
If you use the Django version via use_library you have to be careful with app engine's limitations (use their model api, their auth via google accounts and so on).