erwinmatijsen / django-markdownify

Markdown template filter for Django
MIT License
120 stars 24 forks source link

Issues with providing alternative settings #29

Closed ActuallyTaylor closed 3 years ago

ActuallyTaylor commented 3 years ago

I followed the setup in the documentation, however whenever I place {{ content|markdownify:"alternative" }} into my index.html folder I get the error markdownify requires 1 arguments, 2 provided. Markdownify works perfectly when it is not given alternative settings.

erwinmatijsen commented 3 years ago

Did you upgrade django-markdownify to the latest version (0.9.0)? Older versions won't work with alternative settings. Try to run python3 -m pip install --upgrade django-markdownify.

ActuallyTaylor commented 3 years ago

Yep that worked, I have no clue why pip was not installing the latest version when I asked it to update it before but your command worked great. Thank you!