Python/Django Package
Our Python package is designed to be used with Django out of the box so if you’re already playing in the Python/Django world, here is how you can upgrade to get all the nifty features of Font Awesome 6.
Upgrading to the Version 6 Package
Section titled “Upgrading to the Version 6 Package”To upgrade to Version 6, Start by adding the new Version 6 Font Awesome Free or Pro package to your project’s requirements by placing this in your project’s requirements.txt file and replace version_number with the version of Font Awesome you are using (e.g. 6.0.0
).
fontawesomefree==version_number
You can then follow the rest of our set up instructions to use Font Awesome Free or Pro in your Python project.
Remove Version 5 Packages + References
Section titled “Remove Version 5 Packages + References”Lastly, remember to uninstall and remove references to old Version 5 Font Awesome packages you’ve previously installed to avoid possible rendering issues and extra unused depedencies.
You're all set!
Your project will now load Version 6 and render any existing icons using our newest and freshest icons and options. Are you running into trouble? Check out our troubleshooting guide for answers to common questions about using Font Awesome on the Web.