79254067

Date: 2024-12-05 09:38:28
Score: 0.5
Natty:
Report link

Here is an instruction on how to do it - link

  1. Create a file in the app folder "utils.py"

  2. Insert code

def comma_splitter(tag_string): return [t.strip().lower() for t in tag_string.split(',') if t.strip()]

  1. Insert a string into a file "settings.py"

TAGGIT_TAGS_FROM_STRING = 'appname.utils.comma_splitter'

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Patrick Bond