This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-12-01 00:24:31 +01:00
parent 3a429e714b
commit a18112cf5e
11 changed files with 500 additions and 58 deletions
@@ -16,6 +16,7 @@ class Customer(models.Model):
synced_date = models.DateTimeField(blank=True,null=True)
firebase_reg_token = models.CharField(max_length=255, blank=True, null=True)
lang = models.CharField(max_length=5, blank=True, null=True)
trial_date = models.DateTimeField(blank=True,null=True)
def has_add_permission(self, request):
return False
@@ -1,7 +1,7 @@
import os
from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.33"
BACKOFFICE_VERSION = "1.34"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -1,7 +1,7 @@
import os
from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.33"
BACKOFFICE_VERSION = "1.34"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -1,7 +1,7 @@
import os
from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.33"
BACKOFFICE_VERSION = "1.34"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -2,9 +2,15 @@
{% block object-tools %}
<div>
<form action="mautic/" method="POST">
<form action="mautic_lang/" method="POST">
{% csrf_token %}
<button type="submit">Mautic Sync</button>
<button type="submit">Mautic Lang Sync</button>
</form>
</div>
<div>
<form action="mautic_trial/" method="POST">
{% csrf_token %}
<button type="submit">Mautic Trial Sync</button>
</form>
</div>
<div>