Skip to content

Commit

Permalink
Added conversion to html in experience description from the django te…
Browse files Browse the repository at this point in the history
…mplate
  • Loading branch information
ruben69695 committed Jun 19, 2022
1 parent bf29f59 commit 10738ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ media
# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
# in your Git repository. Update and uncomment the following line accordingly.
# <django-project-name>/staticfiles/
/static/*
!/static/favicon.ico

# End of https://mrkandreev.name/snippets/gitignore-generator/#Python,Django

personalweb/static/
5 changes: 4 additions & 1 deletion experience/templates/experience/experience.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ <h5 class="card-title fw-bold">{{ experience.job.position_name }}</h5>
<h6 class="card-subtitle fst-light">{{ experience.job.company }}</h6>
</div>
<div class="card-body experience-body">
<p class="card-text">{{ experience.job.description }}</p>
<div>
{{ experience.job.description | safe }}
</div>
{% comment %} <p class="card-text">{{ experience.job.description }}</p> {% endcomment %}
<p class="card-text">
<small class="text-start">{{ experience.job.from_date }}</small>{% if experience.job.to_date %}<small> - {{ experience.job.to_date }}</small>{% endif %}
</p>
Expand Down

0 comments on commit 10738ab

Please sign in to comment.