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.

Advertisement

Starting a new project?

This document is for upgrading from Version 5. If you're wanting to start using Version 6 from scratch, go check out our setup documents.

Upgrading to the Version 6 Package

Version 6 has different and separate packages!

We found an issue with the way we named our Version 5 python packages. This has been fixed in Version 6, but it meant creating new Free and Pro packages with a different name scheme - fontawesomefree and fontawesomepro.

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 (opens new window) and replace version_number with the version of Font Awesome you are using (e.g. 6.0.0-beta3).

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 + Rerferences

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.

Version 6 Python Packages are Backward Compatible!

Now that you're pointing to Version 6 package files, any Version 5 icons, style names, or custom CSS rules with Font Awesome @font-face rules will automatically update to their Version 6 counterparts!

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.

You might want to go check out the big pile of new icons we've added in Version 6 (including the new Thin style!) or check out all of Version 6's new styling options.


Advertisement

Font Awesome 6 is currently in Beta — see what we've got planned for it. Looking for our current stable release? Check out Font Awesome 5.

© Fonticons, Inc.