@@ -1,12 +1,14 @@
+import sys
from django.apps import AppConfig
-
class CoreConfig(AppConfig):
name = 'core'
def ready(self):
+
+ if 'migrate' in sys.argv:
+ return
print("-- Démarage du Core --")
print(">> Vérification des variables d'environement")
@@ -139,7 +139,7 @@
</div>
<div class="col-lg-3 p-lg-1 p-md-0 mb-sm-1">
{% if page.c_card_rp == 'True'%}<div class="card" style="background-color: rgba(250,250,250,0.88);" >{% endif %}
- {% if page.c_includ_rp != 'None'%}{% include page.c_includ_rp %}{% endif %}
+ {% comment %} {% if page.c_includ_rp != 'None'%}{% include page.c_includ_rp %}{% endif %} {% endcomment %}
{% block right_panel %}
{% endblock %}
{% if not request.user.is_authenticated and page.p_right and not "account/" in request.path %}
@@ -142,7 +142,7 @@