Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Django's Messages #114

Open
paOmer opened this issue Apr 16, 2022 · 0 comments
Open

🚀 Django's Messages #114

paOmer opened this issue Apr 16, 2022 · 0 comments
Labels
enhancement New feature or request Status/New

Comments

@paOmer
Copy link
Collaborator

paOmer commented Apr 16, 2022

Add a support at Django's Messages, meaning: make the messages visible to the user.
Suggestion: add the messages at the base template so it will be visible at any page of the website.
Django messages framework documentation.

Example code snippet:
this code also make a use of bootstrap alerts.

{% if messages %}
  {% for message in messages %}
    <div class="alert alert-{{ message.tags }}">
      {{ message }}
    </div>
  {% endfor %}
{% endif %}
@paOmer paOmer added Status/New enhancement New feature or request labels Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Status/New
Projects
None yet
Development

No branches or pull requests

1 participant