Using django cms in a model instance scenario rather than the whole site

18 views
Skip to first unread message

Joel Tanko

unread,
Jan 15, 2021, 5:02:53 AM1/15/21
to django...@googlegroups.com

Hey guys,
So I have this django project that works similar to shopify(only on a smaller scale) that allows local businesses to open and manage their online stores - made possible by the django app.
I decided it would be a good idea to let the store owners (or merchants) send emails from their admin dashboard using django's send_mail and django_cms to create a html template of the email.
My real issue is that i've no clue whatsoever as to integrating the django_cms editor(and all editing tools) into the view without  django_cms taking over the whole site ( also leaking django's admin panel to logged in user, which is a big security issue). Any help on this? Is it even feasible?
Thanks for the help.

-JT

Andréas Kühne

unread,
Jan 15, 2021, 7:01:56 AM1/15/21
to django...@googlegroups.com
Hi Joel,

I don't think you need to incorporate django cms for that use case. You would be better just to add a HTML editor of some sort and then saving the HTML in the database. That way you don't need to open up django admin for the cms handling either? At least that's the way I would do it?

Regards,

Andréas


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ4Kmg4YhRdHg2Ez42YRBeA_2Ovd3gkMDzMSgBVEmVyAxMgryQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages