skip to navigation
skip to content


SEO tool for adding permalinks to text contained in Django apps databases.


Install with pip:

pip install permalink_adder


You need to specify where and what to look for in your Django app’s settings in this manner:

PERMALINK_ADDER_SETTINGS = [{'app': 'your_app_name',
                            'model_name': 'your_model_name',
                            'fields': ['list', 'of', 'fields', 'in', 'which', 'script', 'should', 'search'],
                            'words': ['list', 'of', 'words', 'to', 'search'],
                            'url': 'url_that_should_be_wrapped_around_found_text'}]

Starting script with option --start will actually apply changes to database, instead of printing them out.

You can run the script either using add_permalinks management command or call permalink_adder function from module.


No output if there are no occurrences of words or when they’re already wrapped.

Without --start option, script will only print out proposed changes.

File Type Py Version Uploaded on Size
permalink_adder- (md5) Source 2014-08-12 2KB
  • Downloads (All Versions):
  • 9 downloads in the last day
  • 105 downloads in the last week
  • 577 downloads in the last month