Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 845 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 845 Bytes

An integration to bring Mautic marketing automation into Django models

Notice: This is hacky. Though it hasn't ever broken before, it could break with any update and actually FUBAR your databases. If you use this without regular backups, on your own head be it.

Confirmed support for Mautic 3 / Django 3.

Mautic Initial Installation Changes

  • Prefix database tables with with crm_
  • Install Mautic inside Django MYSQL database

Installation Instructions

  • In settings.py, add 'crm' to INSTALLED_APPS
  • I broke views.py so people who don't read the readme will come back and read the notice at the top. Just, like, comment it out or something.
  • python manage.py makemigrations
  • python manage.py migrate crm --fake

Usage in Template/View

Used as any other django model: {{ leads.email }} {{ leads.firstname }} {{ leads.lastname }}