diff --git a/amadeus/settings.py b/amadeus/settings.py
index c1c756c..f1f6176 100644
--- a/amadeus/settings.py
+++ b/amadeus/settings.py
@@ -41,6 +41,8 @@ INSTALLED_APPS = [
'widget_tweaks',
'rolepermissions',
'rest_framework',
+ 'flask',
+ 'flask_breadcrumbs',
'core',
'app',
@@ -58,6 +60,9 @@ MIDDLEWARE_CLASSES = [
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.locale.LocaleMiddleware',
+
+ #libs-middleware
+
]
ROOT_URLCONF = 'amadeus.urls'
diff --git a/app/templates/home_student.html b/app/templates/home_student.html
index 51624da..a24a7ae 100644
--- a/app/templates/home_student.html
+++ b/app/templates/home_student.html
@@ -4,12 +4,10 @@
{% block breadcrumbs %}
+ {% for breadcrumb in breadcrumbs %}
+ {{ breadcrumb.text }}
+ {% endfor %}
+
{% endblock %}
{% block sidebar %}
diff --git a/app/views.py b/app/views.py
index 7064edf..9d87854 100644
--- a/app/views.py
+++ b/app/views.py
@@ -6,6 +6,23 @@ from core.mixins import LogMixin
from courses.models import Course
+
+from flask import Flask
+from flask_breadcrumbs import Breadcrumbs, register_breadcrumb
+
+app = Flask(__name__)
+
+# Initialize Flask-Breadcrumbs
+Breadcrumbs(app=app)
+
+@app.route('/')
+@register_breadcrumb(app, '.', 'Home')
+def index():
+ pass
+
+if __name__ == '__main__':
+ app.run(debug=True)
+
class AppIndex(LoginRequiredMixin, LogMixin, TemplateView):
log_action = "Acessar"
log_resource = "Home"
diff --git a/core/templates/index.html b/core/templates/index.html
index 9833713..1e8918f 100644
--- a/core/templates/index.html
+++ b/core/templates/index.html
@@ -15,6 +15,12 @@
+
+
diff --git a/core/templates/register_user.html b/core/templates/register_user.html
index a40511a..67989a6 100644
--- a/core/templates/register_user.html
+++ b/core/templates/register_user.html
@@ -28,11 +28,26 @@
{% csrf_token %}
{% for field in form %}
-