bobby-didcoding / resume_app Goto Github PK
View Code? Open in Web Editor NEWDjango app to digitise your resume and help you stand out in a crowd.
License: GNU General Public License v3.0
Django app to digitise your resume and help you stand out in a crowd.
License: GNU General Public License v3.0
FYI, django.conf.urls.url() was deprecated in Django 3.0, and is removed in Django 4.0+.
in the urls.py:
Hi Bobby! First of all, thank's so much for the awesome content.
Also, as I was testing the page on my local machine, I believe I've fund a tiny error in the index.html template, as follows:
<section>
<div class="sectionSpace pt-0">
<div class="container">
<div class="row">
<div class="col-md-auto">
<div class="keySkillCol">
<h4 class="smTitle pb-3">Key Skills</h4>
{% for sk in me.userprofile.skills.all %}
{% if sk.is_key_skill %}
<div class="keySkillCard">
{% if sk.image %}
<div class="ksIconCol">
<img src="{{sk.image.url}}" alt="...">
</div>
{% endif %}
<span class="ksText">{{sk.name}}</span>
</div>
{% endif %}
{% endfor %}
</div>
</div>
<div class="col-md">
<h4 class="smTitle pb-3">Coding Skills</h4>
<div class="progressCol">
<div class="progressCard">
{% for sk in me.userprofile.skills.all %}
{% if sk.is_key_skill %}
<div class="progressCol">
<span class="progressLbl">{{sk.name}}</span>
<div class="row g-2 align-items-center">
<div class="col">
<div class="progress progressStyle">
<div class="progress-bar" role="progressbar" style="width: {{sk.score}}%" aria-valuenow="{{sk.score}}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
<div class="col-auto">
<span class="pLbl">{{sk.score}}%</span>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
I believe we want to show the codding skills if they are not key skills, so I put a little not in the comparison:
...
<h4 class="smTitle pb-3">Coding Skills</h4>
<div class="progressCol">
<div class="progressCard">
{% for sk in me.userprofile.skills.all %}
{% if **not** sk.is_key_skill %}
...
Hope this can help someone! Cheers!!
Hi, I'm getting these errors in index.html file, and I've copied the same code from the file here, no changes but I'm getting an error.
property value expected
{
"resource": "/h:/CodeCamp/Django/Resume_Project/resume_demo/main/templates/main/index.html",
"owner": "generated_diagnostic_collection_name#3",
"code": "css-propertyvalueexpected",
"severity": 8,
"message": "property value expected",
"source": "css",
"startLineNumber": 96,
"startColumn": 82,
"endLineNumber": 96,
"endColumn": 83
}
When posting a blog post without a picture, Django crashes with ValueError: The 'image' attribute has no file associated with it.
Maybe worth checking if a picture is present to display it or not, or otherwise display something else?
file: blog.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.